Mercurial > emacs
comparison configure @ 36903:d12b4a1326c1
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 20 Mar 2001 16:37:51 +0000 |
parents | 4a730977cad1 |
children | ee23b9f37f80 |
comparison
equal
deleted
inserted
replaced
36902:06affc73c4ea | 36903:d12b4a1326c1 |
---|---|
5168 else | 5168 else |
5169 echo "$ac_t""no" 1>&6 | 5169 echo "$ac_t""no" 1>&6 |
5170 fi | 5170 fi |
5171 | 5171 |
5172 if test "${HAVE_XPM}" = "yes"; then | 5172 if test "${HAVE_XPM}" = "yes"; then |
5173 echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6 | 5173 echo $ac_n "checking for XpmReturnAllocPixels preprocessor define""... $ac_c" 1>&6 |
5174 echo "configure:5175: checking for XpmReturnAllocPixels preprocessor define" >&5 | 5174 echo "configure:5175: checking for XpmReturnAllocPixels preprocessor define" >&5 |
5175 cat > conftest.$ac_ext <<EOF | 5175 cat > conftest.$ac_ext <<EOF |
5176 #line 5177 "configure" | 5176 #line 5177 "configure" |
5177 #include "confdefs.h" | 5177 #include "confdefs.h" |
5178 #include "X11/xpm.h" | 5178 #include "X11/xpm.h" |
5179 #ifndef XpmReturnAllocPixels | 5179 #ifndef XpmReturnAllocPixels |
5180 no_return_alloc_pixels | 5180 no_return_alloc_pixels |
5181 #endif | 5181 #endif |
5182 | 5182 |
5183 EOF | 5183 EOF |
5184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5185 egrep "no_return_alloc_pixels" >/dev/null 2>&1; then | 5185 egrep "no_return_alloc_pixels" >/dev/null 2>&1; then |
5186 rm -rf conftest* | 5186 rm -rf conftest* |
5187 HAVE_XPM=no | 5187 HAVE_XPM=no |
5189 rm -rf conftest* | 5189 rm -rf conftest* |
5190 HAVE_XPM=yes | 5190 HAVE_XPM=yes |
5191 fi | 5191 fi |
5192 rm -f conftest* | 5192 rm -f conftest* |
5193 | 5193 |
5194 fi | 5194 |
5195 if test "${HAVE_XPM}" = "yes"; then | 5195 if test "${HAVE_XPM}" = "yes"; then |
5196 echo "$ac_t""yes" 1>&6 | 5196 echo "$ac_t""yes" 1>&6 |
5197 else | 5197 else |
5198 echo "$ac_t""no" 1>&6 | 5198 echo "$ac_t""no" 1>&6 |
5199 fi | |
5199 fi | 5200 fi |
5200 fi | 5201 fi |
5201 | 5202 |
5202 if test "${HAVE_XPM}" = "yes"; then | 5203 if test "${HAVE_XPM}" = "yes"; then |
5203 cat >> confdefs.h <<\EOF | 5204 cat >> confdefs.h <<\EOF |
5211 HAVE_JPEG=no | 5212 HAVE_JPEG=no |
5212 if test "${HAVE_X11}" = "yes"; then | 5213 if test "${HAVE_X11}" = "yes"; then |
5213 if test "${with_jpeg}" != "no"; then | 5214 if test "${with_jpeg}" != "no"; then |
5214 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` | 5215 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` |
5215 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 | 5216 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 |
5216 echo "configure:5217: checking for jerror.h" >&5 | 5217 echo "configure:5218: checking for jerror.h" >&5 |
5217 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5218 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5218 echo $ac_n "(cached) $ac_c" 1>&6 | 5219 echo $ac_n "(cached) $ac_c" 1>&6 |
5219 else | 5220 else |
5220 cat > conftest.$ac_ext <<EOF | 5221 cat > conftest.$ac_ext <<EOF |
5221 #line 5222 "configure" | 5222 #line 5223 "configure" |
5222 #include "confdefs.h" | 5223 #include "confdefs.h" |
5223 #include <jerror.h> | 5224 #include <jerror.h> |
5224 EOF | 5225 EOF |
5225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5226 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5226 { (eval echo configure:5227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5227 { (eval echo configure:5228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5227 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5228 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5228 if test -z "$ac_err"; then | 5229 if test -z "$ac_err"; then |
5229 rm -rf conftest* | 5230 rm -rf conftest* |
5230 eval "ac_cv_header_$ac_safe=yes" | 5231 eval "ac_cv_header_$ac_safe=yes" |
5231 else | 5232 else |
5238 rm -f conftest* | 5239 rm -f conftest* |
5239 fi | 5240 fi |
5240 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5241 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5241 echo "$ac_t""yes" 1>&6 | 5242 echo "$ac_t""yes" 1>&6 |
5242 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 5243 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
5243 echo "configure:5244: checking for jpeg_destroy_compress in -ljpeg" >&5 | 5244 echo "configure:5245: checking for jpeg_destroy_compress in -ljpeg" >&5 |
5244 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 5245 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
5245 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5246 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5246 echo $ac_n "(cached) $ac_c" 1>&6 | 5247 echo $ac_n "(cached) $ac_c" 1>&6 |
5247 else | 5248 else |
5248 ac_save_LIBS="$LIBS" | 5249 ac_save_LIBS="$LIBS" |
5249 LIBS="-ljpeg $LIBS" | 5250 LIBS="-ljpeg $LIBS" |
5250 cat > conftest.$ac_ext <<EOF | 5251 cat > conftest.$ac_ext <<EOF |
5251 #line 5252 "configure" | 5252 #line 5253 "configure" |
5252 #include "confdefs.h" | 5253 #include "confdefs.h" |
5253 /* Override any gcc2 internal prototype to avoid an error. */ | 5254 /* Override any gcc2 internal prototype to avoid an error. */ |
5254 /* We use char because int might match the return type of a gcc2 | 5255 /* We use char because int might match the return type of a gcc2 |
5255 builtin and then its argument prototype would still apply. */ | 5256 builtin and then its argument prototype would still apply. */ |
5256 char jpeg_destroy_compress(); | 5257 char jpeg_destroy_compress(); |
5257 | 5258 |
5258 int main() { | 5259 int main() { |
5259 jpeg_destroy_compress() | 5260 jpeg_destroy_compress() |
5260 ; return 0; } | 5261 ; return 0; } |
5261 EOF | 5262 EOF |
5262 if { (eval echo configure:5263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5263 if { (eval echo configure:5264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5263 rm -rf conftest* | 5264 rm -rf conftest* |
5264 eval "ac_cv_lib_$ac_lib_var=yes" | 5265 eval "ac_cv_lib_$ac_lib_var=yes" |
5265 else | 5266 else |
5266 echo "configure: failed program was:" >&5 | 5267 echo "configure: failed program was:" >&5 |
5267 cat conftest.$ac_ext >&5 | 5268 cat conftest.$ac_ext >&5 |
5297 HAVE_PNG=no | 5298 HAVE_PNG=no |
5298 if test "${HAVE_X11}" = "yes"; then | 5299 if test "${HAVE_X11}" = "yes"; then |
5299 if test "${with_png}" != "no"; then | 5300 if test "${with_png}" != "no"; then |
5300 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 5301 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
5301 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 5302 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
5302 echo "configure:5303: checking for png.h" >&5 | 5303 echo "configure:5304: checking for png.h" >&5 |
5303 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5304 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5304 echo $ac_n "(cached) $ac_c" 1>&6 | 5305 echo $ac_n "(cached) $ac_c" 1>&6 |
5305 else | 5306 else |
5306 cat > conftest.$ac_ext <<EOF | 5307 cat > conftest.$ac_ext <<EOF |
5307 #line 5308 "configure" | 5308 #line 5309 "configure" |
5308 #include "confdefs.h" | 5309 #include "confdefs.h" |
5309 #include <png.h> | 5310 #include <png.h> |
5310 EOF | 5311 EOF |
5311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5312 { (eval echo configure:5313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5313 { (eval echo configure:5314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5314 if test -z "$ac_err"; then | 5315 if test -z "$ac_err"; then |
5315 rm -rf conftest* | 5316 rm -rf conftest* |
5316 eval "ac_cv_header_$ac_safe=yes" | 5317 eval "ac_cv_header_$ac_safe=yes" |
5317 else | 5318 else |
5324 rm -f conftest* | 5325 rm -f conftest* |
5325 fi | 5326 fi |
5326 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5327 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5327 echo "$ac_t""yes" 1>&6 | 5328 echo "$ac_t""yes" 1>&6 |
5328 echo $ac_n "checking for png_get_channels in -lpng""... $ac_c" 1>&6 | 5329 echo $ac_n "checking for png_get_channels in -lpng""... $ac_c" 1>&6 |
5329 echo "configure:5330: checking for png_get_channels in -lpng" >&5 | 5330 echo "configure:5331: checking for png_get_channels in -lpng" >&5 |
5330 ac_lib_var=`echo png'_'png_get_channels | sed 'y%./+-%__p_%'` | 5331 ac_lib_var=`echo png'_'png_get_channels | sed 'y%./+-%__p_%'` |
5331 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5332 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5332 echo $ac_n "(cached) $ac_c" 1>&6 | 5333 echo $ac_n "(cached) $ac_c" 1>&6 |
5333 else | 5334 else |
5334 ac_save_LIBS="$LIBS" | 5335 ac_save_LIBS="$LIBS" |
5335 LIBS="-lpng -lz -lm $LIBS" | 5336 LIBS="-lpng -lz -lm $LIBS" |
5336 cat > conftest.$ac_ext <<EOF | 5337 cat > conftest.$ac_ext <<EOF |
5337 #line 5338 "configure" | 5338 #line 5339 "configure" |
5338 #include "confdefs.h" | 5339 #include "confdefs.h" |
5339 /* Override any gcc2 internal prototype to avoid an error. */ | 5340 /* Override any gcc2 internal prototype to avoid an error. */ |
5340 /* We use char because int might match the return type of a gcc2 | 5341 /* We use char because int might match the return type of a gcc2 |
5341 builtin and then its argument prototype would still apply. */ | 5342 builtin and then its argument prototype would still apply. */ |
5342 char png_get_channels(); | 5343 char png_get_channels(); |
5343 | 5344 |
5344 int main() { | 5345 int main() { |
5345 png_get_channels() | 5346 png_get_channels() |
5346 ; return 0; } | 5347 ; return 0; } |
5347 EOF | 5348 EOF |
5348 if { (eval echo configure:5349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5349 if { (eval echo configure:5350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5349 rm -rf conftest* | 5350 rm -rf conftest* |
5350 eval "ac_cv_lib_$ac_lib_var=yes" | 5351 eval "ac_cv_lib_$ac_lib_var=yes" |
5351 else | 5352 else |
5352 echo "configure: failed program was:" >&5 | 5353 echo "configure: failed program was:" >&5 |
5353 cat conftest.$ac_ext >&5 | 5354 cat conftest.$ac_ext >&5 |
5383 HAVE_TIFF=no | 5384 HAVE_TIFF=no |
5384 if test "${HAVE_X11}" = "yes"; then | 5385 if test "${HAVE_X11}" = "yes"; then |
5385 if test "${with_tiff}" != "no"; then | 5386 if test "${with_tiff}" != "no"; then |
5386 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 5387 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
5387 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 5388 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
5388 echo "configure:5389: checking for tiffio.h" >&5 | 5389 echo "configure:5390: checking for tiffio.h" >&5 |
5389 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5390 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5390 echo $ac_n "(cached) $ac_c" 1>&6 | 5391 echo $ac_n "(cached) $ac_c" 1>&6 |
5391 else | 5392 else |
5392 cat > conftest.$ac_ext <<EOF | 5393 cat > conftest.$ac_ext <<EOF |
5393 #line 5394 "configure" | 5394 #line 5395 "configure" |
5394 #include "confdefs.h" | 5395 #include "confdefs.h" |
5395 #include <tiffio.h> | 5396 #include <tiffio.h> |
5396 EOF | 5397 EOF |
5397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5398 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5398 { (eval echo configure:5399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5399 { (eval echo configure:5400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5400 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5400 if test -z "$ac_err"; then | 5401 if test -z "$ac_err"; then |
5401 rm -rf conftest* | 5402 rm -rf conftest* |
5402 eval "ac_cv_header_$ac_safe=yes" | 5403 eval "ac_cv_header_$ac_safe=yes" |
5403 else | 5404 else |
5413 echo "$ac_t""yes" 1>&6 | 5414 echo "$ac_t""yes" 1>&6 |
5414 tifflibs="-lz -lm" | 5415 tifflibs="-lz -lm" |
5415 # At least one tiff package requires the jpeg library. | 5416 # At least one tiff package requires the jpeg library. |
5416 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 5417 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
5417 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 5418 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
5418 echo "configure:5419: checking for TIFFGetVersion in -ltiff" >&5 | 5419 echo "configure:5420: checking for TIFFGetVersion in -ltiff" >&5 |
5419 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 5420 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
5420 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5421 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5421 echo $ac_n "(cached) $ac_c" 1>&6 | 5422 echo $ac_n "(cached) $ac_c" 1>&6 |
5422 else | 5423 else |
5423 ac_save_LIBS="$LIBS" | 5424 ac_save_LIBS="$LIBS" |
5424 LIBS="-ltiff $tifflibs $LIBS" | 5425 LIBS="-ltiff $tifflibs $LIBS" |
5425 cat > conftest.$ac_ext <<EOF | 5426 cat > conftest.$ac_ext <<EOF |
5426 #line 5427 "configure" | 5427 #line 5428 "configure" |
5427 #include "confdefs.h" | 5428 #include "confdefs.h" |
5428 /* Override any gcc2 internal prototype to avoid an error. */ | 5429 /* Override any gcc2 internal prototype to avoid an error. */ |
5429 /* We use char because int might match the return type of a gcc2 | 5430 /* We use char because int might match the return type of a gcc2 |
5430 builtin and then its argument prototype would still apply. */ | 5431 builtin and then its argument prototype would still apply. */ |
5431 char TIFFGetVersion(); | 5432 char TIFFGetVersion(); |
5432 | 5433 |
5433 int main() { | 5434 int main() { |
5434 TIFFGetVersion() | 5435 TIFFGetVersion() |
5435 ; return 0; } | 5436 ; return 0; } |
5436 EOF | 5437 EOF |
5437 if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5438 if { (eval echo configure:5439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5438 rm -rf conftest* | 5439 rm -rf conftest* |
5439 eval "ac_cv_lib_$ac_lib_var=yes" | 5440 eval "ac_cv_lib_$ac_lib_var=yes" |
5440 else | 5441 else |
5441 echo "configure: failed program was:" >&5 | 5442 echo "configure: failed program was:" >&5 |
5442 cat conftest.$ac_ext >&5 | 5443 cat conftest.$ac_ext >&5 |
5472 HAVE_GIF=no | 5473 HAVE_GIF=no |
5473 if test "${HAVE_X11}" = "yes"; then | 5474 if test "${HAVE_X11}" = "yes"; then |
5474 if test "${with_gif}" != "no"; then | 5475 if test "${with_gif}" != "no"; then |
5475 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 5476 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
5476 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 5477 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
5477 echo "configure:5478: checking for gif_lib.h" >&5 | 5478 echo "configure:5479: checking for gif_lib.h" >&5 |
5478 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5479 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5479 echo $ac_n "(cached) $ac_c" 1>&6 | 5480 echo $ac_n "(cached) $ac_c" 1>&6 |
5480 else | 5481 else |
5481 cat > conftest.$ac_ext <<EOF | 5482 cat > conftest.$ac_ext <<EOF |
5482 #line 5483 "configure" | 5483 #line 5484 "configure" |
5483 #include "confdefs.h" | 5484 #include "confdefs.h" |
5484 #include <gif_lib.h> | 5485 #include <gif_lib.h> |
5485 EOF | 5486 EOF |
5486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5487 { (eval echo configure:5488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5488 { (eval echo configure:5489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5489 if test -z "$ac_err"; then | 5490 if test -z "$ac_err"; then |
5490 rm -rf conftest* | 5491 rm -rf conftest* |
5491 eval "ac_cv_header_$ac_safe=yes" | 5492 eval "ac_cv_header_$ac_safe=yes" |
5492 else | 5493 else |
5499 rm -f conftest* | 5500 rm -f conftest* |
5500 fi | 5501 fi |
5501 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 5502 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5502 echo "$ac_t""yes" 1>&6 | 5503 echo "$ac_t""yes" 1>&6 |
5503 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 | 5504 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 |
5504 echo "configure:5505: checking for DGifOpen in -lungif" >&5 | 5505 echo "configure:5506: checking for DGifOpen in -lungif" >&5 |
5505 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` | 5506 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` |
5506 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5507 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5507 echo $ac_n "(cached) $ac_c" 1>&6 | 5508 echo $ac_n "(cached) $ac_c" 1>&6 |
5508 else | 5509 else |
5509 ac_save_LIBS="$LIBS" | 5510 ac_save_LIBS="$LIBS" |
5510 LIBS="-lungif $LIBS" | 5511 LIBS="-lungif $LIBS" |
5511 cat > conftest.$ac_ext <<EOF | 5512 cat > conftest.$ac_ext <<EOF |
5512 #line 5513 "configure" | 5513 #line 5514 "configure" |
5513 #include "confdefs.h" | 5514 #include "confdefs.h" |
5514 /* Override any gcc2 internal prototype to avoid an error. */ | 5515 /* Override any gcc2 internal prototype to avoid an error. */ |
5515 /* We use char because int might match the return type of a gcc2 | 5516 /* We use char because int might match the return type of a gcc2 |
5516 builtin and then its argument prototype would still apply. */ | 5517 builtin and then its argument prototype would still apply. */ |
5517 char DGifOpen(); | 5518 char DGifOpen(); |
5518 | 5519 |
5519 int main() { | 5520 int main() { |
5520 DGifOpen() | 5521 DGifOpen() |
5521 ; return 0; } | 5522 ; return 0; } |
5522 EOF | 5523 EOF |
5523 if { (eval echo configure:5524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5524 if { (eval echo configure:5525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5524 rm -rf conftest* | 5525 rm -rf conftest* |
5525 eval "ac_cv_lib_$ac_lib_var=yes" | 5526 eval "ac_cv_lib_$ac_lib_var=yes" |
5526 else | 5527 else |
5527 echo "configure: failed program was:" >&5 | 5528 echo "configure: failed program was:" >&5 |
5528 cat conftest.$ac_ext >&5 | 5529 cat conftest.$ac_ext >&5 |
5554 fi | 5555 fi |
5555 fi | 5556 fi |
5556 | 5557 |
5557 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 5558 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
5558 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 5559 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
5559 echo "configure:5560: checking whether netdb declares h_errno" >&5 | 5560 echo "configure:5561: checking whether netdb declares h_errno" >&5 |
5560 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 5561 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
5561 echo $ac_n "(cached) $ac_c" 1>&6 | 5562 echo $ac_n "(cached) $ac_c" 1>&6 |
5562 else | 5563 else |
5563 cat > conftest.$ac_ext <<EOF | 5564 cat > conftest.$ac_ext <<EOF |
5564 #line 5565 "configure" | 5565 #line 5566 "configure" |
5565 #include "confdefs.h" | 5566 #include "confdefs.h" |
5566 #include <netdb.h> | 5567 #include <netdb.h> |
5567 int main() { | 5568 int main() { |
5568 return h_errno; | 5569 return h_errno; |
5569 ; return 0; } | 5570 ; return 0; } |
5570 EOF | 5571 EOF |
5571 if { (eval echo configure:5572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5572 if { (eval echo configure:5573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5572 rm -rf conftest* | 5573 rm -rf conftest* |
5573 emacs_cv_netdb_declares_h_errno=yes | 5574 emacs_cv_netdb_declares_h_errno=yes |
5574 else | 5575 else |
5575 echo "configure: failed program was:" >&5 | 5576 echo "configure: failed program was:" >&5 |
5576 cat conftest.$ac_ext >&5 | 5577 cat conftest.$ac_ext >&5 |
5589 fi | 5590 fi |
5590 | 5591 |
5591 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 5592 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
5592 # for constant arguments. Useless! | 5593 # for constant arguments. Useless! |
5593 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 5594 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
5594 echo "configure:5595: checking for working alloca.h" >&5 | 5595 echo "configure:5596: checking for working alloca.h" >&5 |
5595 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 5596 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
5596 echo $ac_n "(cached) $ac_c" 1>&6 | 5597 echo $ac_n "(cached) $ac_c" 1>&6 |
5597 else | 5598 else |
5598 cat > conftest.$ac_ext <<EOF | 5599 cat > conftest.$ac_ext <<EOF |
5599 #line 5600 "configure" | 5600 #line 5601 "configure" |
5600 #include "confdefs.h" | 5601 #include "confdefs.h" |
5601 #include <alloca.h> | 5602 #include <alloca.h> |
5602 int main() { | 5603 int main() { |
5603 char *p = alloca(2 * sizeof(int)); | 5604 char *p = alloca(2 * sizeof(int)); |
5604 ; return 0; } | 5605 ; return 0; } |
5605 EOF | 5606 EOF |
5606 if { (eval echo configure:5607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5607 if { (eval echo configure:5608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5607 rm -rf conftest* | 5608 rm -rf conftest* |
5608 ac_cv_header_alloca_h=yes | 5609 ac_cv_header_alloca_h=yes |
5609 else | 5610 else |
5610 echo "configure: failed program was:" >&5 | 5611 echo "configure: failed program was:" >&5 |
5611 cat conftest.$ac_ext >&5 | 5612 cat conftest.$ac_ext >&5 |
5622 EOF | 5623 EOF |
5623 | 5624 |
5624 fi | 5625 fi |
5625 | 5626 |
5626 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 5627 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
5627 echo "configure:5628: checking for alloca" >&5 | 5628 echo "configure:5629: checking for alloca" >&5 |
5628 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 5629 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
5629 echo $ac_n "(cached) $ac_c" 1>&6 | 5630 echo $ac_n "(cached) $ac_c" 1>&6 |
5630 else | 5631 else |
5631 cat > conftest.$ac_ext <<EOF | 5632 cat > conftest.$ac_ext <<EOF |
5632 #line 5633 "configure" | 5633 #line 5634 "configure" |
5633 #include "confdefs.h" | 5634 #include "confdefs.h" |
5634 | 5635 |
5635 #ifdef __GNUC__ | 5636 #ifdef __GNUC__ |
5636 # define alloca __builtin_alloca | 5637 # define alloca __builtin_alloca |
5637 #else | 5638 #else |
5655 | 5656 |
5656 int main() { | 5657 int main() { |
5657 char *p = (char *) alloca(1); | 5658 char *p = (char *) alloca(1); |
5658 ; return 0; } | 5659 ; return 0; } |
5659 EOF | 5660 EOF |
5660 if { (eval echo configure:5661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5661 if { (eval echo configure:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5661 rm -rf conftest* | 5662 rm -rf conftest* |
5662 ac_cv_func_alloca_works=yes | 5663 ac_cv_func_alloca_works=yes |
5663 else | 5664 else |
5664 echo "configure: failed program was:" >&5 | 5665 echo "configure: failed program was:" >&5 |
5665 cat conftest.$ac_ext >&5 | 5666 cat conftest.$ac_ext >&5 |
5687 #define C_ALLOCA 1 | 5688 #define C_ALLOCA 1 |
5688 EOF | 5689 EOF |
5689 | 5690 |
5690 | 5691 |
5691 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 5692 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
5692 echo "configure:5693: checking whether alloca needs Cray hooks" >&5 | 5693 echo "configure:5694: checking whether alloca needs Cray hooks" >&5 |
5693 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 5694 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
5694 echo $ac_n "(cached) $ac_c" 1>&6 | 5695 echo $ac_n "(cached) $ac_c" 1>&6 |
5695 else | 5696 else |
5696 cat > conftest.$ac_ext <<EOF | 5697 cat > conftest.$ac_ext <<EOF |
5697 #line 5698 "configure" | 5698 #line 5699 "configure" |
5698 #include "confdefs.h" | 5699 #include "confdefs.h" |
5699 #if defined(CRAY) && ! defined(CRAY2) | 5700 #if defined(CRAY) && ! defined(CRAY2) |
5700 webecray | 5701 webecray |
5701 #else | 5702 #else |
5702 wenotbecray | 5703 wenotbecray |
5717 | 5718 |
5718 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 5719 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
5719 if test $ac_cv_os_cray = yes; then | 5720 if test $ac_cv_os_cray = yes; then |
5720 for ac_func in _getb67 GETB67 getb67; do | 5721 for ac_func in _getb67 GETB67 getb67; do |
5721 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5722 echo "configure:5723: checking for $ac_func" >&5 | 5723 echo "configure:5724: checking for $ac_func" >&5 |
5723 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5724 echo $ac_n "(cached) $ac_c" 1>&6 | 5725 echo $ac_n "(cached) $ac_c" 1>&6 |
5725 else | 5726 else |
5726 cat > conftest.$ac_ext <<EOF | 5727 cat > conftest.$ac_ext <<EOF |
5727 #line 5728 "configure" | 5728 #line 5729 "configure" |
5728 #include "confdefs.h" | 5729 #include "confdefs.h" |
5729 /* System header to define __stub macros and hopefully few prototypes, | 5730 /* System header to define __stub macros and hopefully few prototypes, |
5730 which can conflict with char $ac_func(); below. */ | 5731 which can conflict with char $ac_func(); below. */ |
5731 #include <assert.h> | 5732 #include <assert.h> |
5732 /* Override any gcc2 internal prototype to avoid an error. */ | 5733 /* Override any gcc2 internal prototype to avoid an error. */ |
5745 $ac_func(); | 5746 $ac_func(); |
5746 #endif | 5747 #endif |
5747 | 5748 |
5748 ; return 0; } | 5749 ; return 0; } |
5749 EOF | 5750 EOF |
5750 if { (eval echo configure:5751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5751 if { (eval echo configure:5752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5751 rm -rf conftest* | 5752 rm -rf conftest* |
5752 eval "ac_cv_func_$ac_func=yes" | 5753 eval "ac_cv_func_$ac_func=yes" |
5753 else | 5754 else |
5754 echo "configure: failed program was:" >&5 | 5755 echo "configure: failed program was:" >&5 |
5755 cat conftest.$ac_ext >&5 | 5756 cat conftest.$ac_ext >&5 |
5772 | 5773 |
5773 done | 5774 done |
5774 fi | 5775 fi |
5775 | 5776 |
5776 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 5777 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
5777 echo "configure:5778: checking stack direction for C alloca" >&5 | 5778 echo "configure:5779: checking stack direction for C alloca" >&5 |
5778 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 5779 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
5779 echo $ac_n "(cached) $ac_c" 1>&6 | 5780 echo $ac_n "(cached) $ac_c" 1>&6 |
5780 else | 5781 else |
5781 if test "$cross_compiling" = yes; then | 5782 if test "$cross_compiling" = yes; then |
5782 ac_cv_c_stack_direction=0 | 5783 ac_cv_c_stack_direction=0 |
5783 else | 5784 else |
5784 cat > conftest.$ac_ext <<EOF | 5785 cat > conftest.$ac_ext <<EOF |
5785 #line 5786 "configure" | 5786 #line 5787 "configure" |
5786 #include "confdefs.h" | 5787 #include "confdefs.h" |
5787 find_stack_direction () | 5788 find_stack_direction () |
5788 { | 5789 { |
5789 static char *addr = 0; | 5790 static char *addr = 0; |
5790 auto char dummy; | 5791 auto char dummy; |
5799 main () | 5800 main () |
5800 { | 5801 { |
5801 exit (find_stack_direction() < 0); | 5802 exit (find_stack_direction() < 0); |
5802 } | 5803 } |
5803 EOF | 5804 EOF |
5804 if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5805 if { (eval echo configure:5806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5805 then | 5806 then |
5806 ac_cv_c_stack_direction=1 | 5807 ac_cv_c_stack_direction=1 |
5807 else | 5808 else |
5808 echo "configure: failed program was:" >&5 | 5809 echo "configure: failed program was:" >&5 |
5809 cat conftest.$ac_ext >&5 | 5810 cat conftest.$ac_ext >&5 |
5824 | 5825 |
5825 | 5826 |
5826 # fmod, logb, and frexp are found in -lm on most systems. | 5827 # fmod, logb, and frexp are found in -lm on most systems. |
5827 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 5828 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
5828 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 5829 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
5829 echo "configure:5830: checking for sqrt in -lm" >&5 | 5830 echo "configure:5831: checking for sqrt in -lm" >&5 |
5830 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 5831 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
5831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5832 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5832 echo $ac_n "(cached) $ac_c" 1>&6 | 5833 echo $ac_n "(cached) $ac_c" 1>&6 |
5833 else | 5834 else |
5834 ac_save_LIBS="$LIBS" | 5835 ac_save_LIBS="$LIBS" |
5835 LIBS="-lm $LIBS" | 5836 LIBS="-lm $LIBS" |
5836 cat > conftest.$ac_ext <<EOF | 5837 cat > conftest.$ac_ext <<EOF |
5837 #line 5838 "configure" | 5838 #line 5839 "configure" |
5838 #include "confdefs.h" | 5839 #include "confdefs.h" |
5839 /* Override any gcc2 internal prototype to avoid an error. */ | 5840 /* Override any gcc2 internal prototype to avoid an error. */ |
5840 /* We use char because int might match the return type of a gcc2 | 5841 /* We use char because int might match the return type of a gcc2 |
5841 builtin and then its argument prototype would still apply. */ | 5842 builtin and then its argument prototype would still apply. */ |
5842 char sqrt(); | 5843 char sqrt(); |
5843 | 5844 |
5844 int main() { | 5845 int main() { |
5845 sqrt() | 5846 sqrt() |
5846 ; return 0; } | 5847 ; return 0; } |
5847 EOF | 5848 EOF |
5848 if { (eval echo configure:5849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5849 if { (eval echo configure:5850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5849 rm -rf conftest* | 5850 rm -rf conftest* |
5850 eval "ac_cv_lib_$ac_lib_var=yes" | 5851 eval "ac_cv_lib_$ac_lib_var=yes" |
5851 else | 5852 else |
5852 echo "configure: failed program was:" >&5 | 5853 echo "configure: failed program was:" >&5 |
5853 cat conftest.$ac_ext >&5 | 5854 cat conftest.$ac_ext >&5 |
5873 fi | 5874 fi |
5874 | 5875 |
5875 | 5876 |
5876 # Check for mail-locking functions in a "mail" library | 5877 # Check for mail-locking functions in a "mail" library |
5877 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 5878 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
5878 echo "configure:5879: checking for maillock in -lmail" >&5 | 5879 echo "configure:5880: checking for maillock in -lmail" >&5 |
5879 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 5880 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
5880 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5881 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5881 echo $ac_n "(cached) $ac_c" 1>&6 | 5882 echo $ac_n "(cached) $ac_c" 1>&6 |
5882 else | 5883 else |
5883 ac_save_LIBS="$LIBS" | 5884 ac_save_LIBS="$LIBS" |
5884 LIBS="-lmail $LIBS" | 5885 LIBS="-lmail $LIBS" |
5885 cat > conftest.$ac_ext <<EOF | 5886 cat > conftest.$ac_ext <<EOF |
5886 #line 5887 "configure" | 5887 #line 5888 "configure" |
5887 #include "confdefs.h" | 5888 #include "confdefs.h" |
5888 /* Override any gcc2 internal prototype to avoid an error. */ | 5889 /* Override any gcc2 internal prototype to avoid an error. */ |
5889 /* We use char because int might match the return type of a gcc2 | 5890 /* We use char because int might match the return type of a gcc2 |
5890 builtin and then its argument prototype would still apply. */ | 5891 builtin and then its argument prototype would still apply. */ |
5891 char maillock(); | 5892 char maillock(); |
5892 | 5893 |
5893 int main() { | 5894 int main() { |
5894 maillock() | 5895 maillock() |
5895 ; return 0; } | 5896 ; return 0; } |
5896 EOF | 5897 EOF |
5897 if { (eval echo configure:5898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5898 if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5898 rm -rf conftest* | 5899 rm -rf conftest* |
5899 eval "ac_cv_lib_$ac_lib_var=yes" | 5900 eval "ac_cv_lib_$ac_lib_var=yes" |
5900 else | 5901 else |
5901 echo "configure: failed program was:" >&5 | 5902 echo "configure: failed program was:" >&5 |
5902 cat conftest.$ac_ext >&5 | 5903 cat conftest.$ac_ext >&5 |
5920 else | 5921 else |
5921 echo "$ac_t""no" 1>&6 | 5922 echo "$ac_t""no" 1>&6 |
5922 fi | 5923 fi |
5923 | 5924 |
5924 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 5925 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
5925 echo "configure:5926: checking for maillock in -llockfile" >&5 | 5926 echo "configure:5927: checking for maillock in -llockfile" >&5 |
5926 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 5927 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
5927 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5928 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5928 echo $ac_n "(cached) $ac_c" 1>&6 | 5929 echo $ac_n "(cached) $ac_c" 1>&6 |
5929 else | 5930 else |
5930 ac_save_LIBS="$LIBS" | 5931 ac_save_LIBS="$LIBS" |
5931 LIBS="-llockfile $LIBS" | 5932 LIBS="-llockfile $LIBS" |
5932 cat > conftest.$ac_ext <<EOF | 5933 cat > conftest.$ac_ext <<EOF |
5933 #line 5934 "configure" | 5934 #line 5935 "configure" |
5934 #include "confdefs.h" | 5935 #include "confdefs.h" |
5935 /* Override any gcc2 internal prototype to avoid an error. */ | 5936 /* Override any gcc2 internal prototype to avoid an error. */ |
5936 /* We use char because int might match the return type of a gcc2 | 5937 /* We use char because int might match the return type of a gcc2 |
5937 builtin and then its argument prototype would still apply. */ | 5938 builtin and then its argument prototype would still apply. */ |
5938 char maillock(); | 5939 char maillock(); |
5939 | 5940 |
5940 int main() { | 5941 int main() { |
5941 maillock() | 5942 maillock() |
5942 ; return 0; } | 5943 ; return 0; } |
5943 EOF | 5944 EOF |
5944 if { (eval echo configure:5945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5945 if { (eval echo configure:5946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5945 rm -rf conftest* | 5946 rm -rf conftest* |
5946 eval "ac_cv_lib_$ac_lib_var=yes" | 5947 eval "ac_cv_lib_$ac_lib_var=yes" |
5947 else | 5948 else |
5948 echo "configure: failed program was:" >&5 | 5949 echo "configure: failed program was:" >&5 |
5949 cat conftest.$ac_ext >&5 | 5950 cat conftest.$ac_ext >&5 |
5973 # (no liblockfile.a installed), ensure that we don't need to. | 5974 # (no liblockfile.a installed), ensure that we don't need to. |
5974 if test "$ac_cv_lib_lockfile_maillock" = no; then | 5975 if test "$ac_cv_lib_lockfile_maillock" = no; then |
5975 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 5976 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
5976 set dummy liblockfile.so; ac_word=$2 | 5977 set dummy liblockfile.so; ac_word=$2 |
5977 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5978 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5978 echo "configure:5979: checking for $ac_word" >&5 | 5979 echo "configure:5980: checking for $ac_word" >&5 |
5979 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 5980 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
5980 echo $ac_n "(cached) $ac_c" 1>&6 | 5981 echo $ac_n "(cached) $ac_c" 1>&6 |
5981 else | 5982 else |
5982 if test -n "$liblockfile"; then | 5983 if test -n "$liblockfile"; then |
5983 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 5984 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
6014 else : | 6015 else : |
6015 fi | 6016 fi |
6016 for ac_func in touchlock | 6017 for ac_func in touchlock |
6017 do | 6018 do |
6018 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6019 echo "configure:6020: checking for $ac_func" >&5 | 6020 echo "configure:6021: checking for $ac_func" >&5 |
6020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6021 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6021 echo $ac_n "(cached) $ac_c" 1>&6 | 6022 echo $ac_n "(cached) $ac_c" 1>&6 |
6022 else | 6023 else |
6023 cat > conftest.$ac_ext <<EOF | 6024 cat > conftest.$ac_ext <<EOF |
6024 #line 6025 "configure" | 6025 #line 6026 "configure" |
6025 #include "confdefs.h" | 6026 #include "confdefs.h" |
6026 /* System header to define __stub macros and hopefully few prototypes, | 6027 /* System header to define __stub macros and hopefully few prototypes, |
6027 which can conflict with char $ac_func(); below. */ | 6028 which can conflict with char $ac_func(); below. */ |
6028 #include <assert.h> | 6029 #include <assert.h> |
6029 /* Override any gcc2 internal prototype to avoid an error. */ | 6030 /* Override any gcc2 internal prototype to avoid an error. */ |
6042 $ac_func(); | 6043 $ac_func(); |
6043 #endif | 6044 #endif |
6044 | 6045 |
6045 ; return 0; } | 6046 ; return 0; } |
6046 EOF | 6047 EOF |
6047 if { (eval echo configure:6048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6048 if { (eval echo configure:6049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6048 rm -rf conftest* | 6049 rm -rf conftest* |
6049 eval "ac_cv_func_$ac_func=yes" | 6050 eval "ac_cv_func_$ac_func=yes" |
6050 else | 6051 else |
6051 echo "configure: failed program was:" >&5 | 6052 echo "configure: failed program was:" >&5 |
6052 cat conftest.$ac_ext >&5 | 6053 cat conftest.$ac_ext >&5 |
6070 | 6071 |
6071 for ac_hdr in maillock.h | 6072 for ac_hdr in maillock.h |
6072 do | 6073 do |
6073 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6074 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6074 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6075 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6075 echo "configure:6076: checking for $ac_hdr" >&5 | 6076 echo "configure:6077: checking for $ac_hdr" >&5 |
6076 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6077 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6077 echo $ac_n "(cached) $ac_c" 1>&6 | 6078 echo $ac_n "(cached) $ac_c" 1>&6 |
6078 else | 6079 else |
6079 cat > conftest.$ac_ext <<EOF | 6080 cat > conftest.$ac_ext <<EOF |
6080 #line 6081 "configure" | 6081 #line 6082 "configure" |
6081 #include "confdefs.h" | 6082 #include "confdefs.h" |
6082 #include <$ac_hdr> | 6083 #include <$ac_hdr> |
6083 EOF | 6084 EOF |
6084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6085 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6085 { (eval echo configure:6086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6086 { (eval echo configure:6087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6087 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6087 if test -z "$ac_err"; then | 6088 if test -z "$ac_err"; then |
6088 rm -rf conftest* | 6089 rm -rf conftest* |
6089 eval "ac_cv_header_$ac_safe=yes" | 6090 eval "ac_cv_header_$ac_safe=yes" |
6090 else | 6091 else |
6116 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ | 6117 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \ |
6117 __fpending mblen mbrlen strsignal setitimer ualarm index rindex \ | 6118 __fpending mblen mbrlen strsignal setitimer ualarm index rindex \ |
6118 gai_strerror mkstemp | 6119 gai_strerror mkstemp |
6119 do | 6120 do |
6120 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6121 echo "configure:6122: checking for $ac_func" >&5 | 6122 echo "configure:6123: checking for $ac_func" >&5 |
6122 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6123 echo $ac_n "(cached) $ac_c" 1>&6 | 6124 echo $ac_n "(cached) $ac_c" 1>&6 |
6124 else | 6125 else |
6125 cat > conftest.$ac_ext <<EOF | 6126 cat > conftest.$ac_ext <<EOF |
6126 #line 6127 "configure" | 6127 #line 6128 "configure" |
6127 #include "confdefs.h" | 6128 #include "confdefs.h" |
6128 /* System header to define __stub macros and hopefully few prototypes, | 6129 /* System header to define __stub macros and hopefully few prototypes, |
6129 which can conflict with char $ac_func(); below. */ | 6130 which can conflict with char $ac_func(); below. */ |
6130 #include <assert.h> | 6131 #include <assert.h> |
6131 /* Override any gcc2 internal prototype to avoid an error. */ | 6132 /* Override any gcc2 internal prototype to avoid an error. */ |
6144 $ac_func(); | 6145 $ac_func(); |
6145 #endif | 6146 #endif |
6146 | 6147 |
6147 ; return 0; } | 6148 ; return 0; } |
6148 EOF | 6149 EOF |
6149 if { (eval echo configure:6150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6150 if { (eval echo configure:6151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6150 rm -rf conftest* | 6151 rm -rf conftest* |
6151 eval "ac_cv_func_$ac_func=yes" | 6152 eval "ac_cv_func_$ac_func=yes" |
6152 else | 6153 else |
6153 echo "configure: failed program was:" >&5 | 6154 echo "configure: failed program was:" >&5 |
6154 cat conftest.$ac_ext >&5 | 6155 cat conftest.$ac_ext >&5 |
6173 | 6174 |
6174 for ac_hdr in sys/time.h unistd.h | 6175 for ac_hdr in sys/time.h unistd.h |
6175 do | 6176 do |
6176 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6177 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6177 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6178 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6178 echo "configure:6179: checking for $ac_hdr" >&5 | 6179 echo "configure:6180: checking for $ac_hdr" >&5 |
6179 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6180 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6180 echo $ac_n "(cached) $ac_c" 1>&6 | 6181 echo $ac_n "(cached) $ac_c" 1>&6 |
6181 else | 6182 else |
6182 cat > conftest.$ac_ext <<EOF | 6183 cat > conftest.$ac_ext <<EOF |
6183 #line 6184 "configure" | 6184 #line 6185 "configure" |
6184 #include "confdefs.h" | 6185 #include "confdefs.h" |
6185 #include <$ac_hdr> | 6186 #include <$ac_hdr> |
6186 EOF | 6187 EOF |
6187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6188 { (eval echo configure:6189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6189 { (eval echo configure:6190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6190 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6190 if test -z "$ac_err"; then | 6191 if test -z "$ac_err"; then |
6191 rm -rf conftest* | 6192 rm -rf conftest* |
6192 eval "ac_cv_header_$ac_safe=yes" | 6193 eval "ac_cv_header_$ac_safe=yes" |
6193 else | 6194 else |
6212 done | 6213 done |
6213 | 6214 |
6214 for ac_func in alarm | 6215 for ac_func in alarm |
6215 do | 6216 do |
6216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6217 echo "configure:6218: checking for $ac_func" >&5 | 6218 echo "configure:6219: checking for $ac_func" >&5 |
6218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6219 echo $ac_n "(cached) $ac_c" 1>&6 | 6220 echo $ac_n "(cached) $ac_c" 1>&6 |
6220 else | 6221 else |
6221 cat > conftest.$ac_ext <<EOF | 6222 cat > conftest.$ac_ext <<EOF |
6222 #line 6223 "configure" | 6223 #line 6224 "configure" |
6223 #include "confdefs.h" | 6224 #include "confdefs.h" |
6224 /* System header to define __stub macros and hopefully few prototypes, | 6225 /* System header to define __stub macros and hopefully few prototypes, |
6225 which can conflict with char $ac_func(); below. */ | 6226 which can conflict with char $ac_func(); below. */ |
6226 #include <assert.h> | 6227 #include <assert.h> |
6227 /* Override any gcc2 internal prototype to avoid an error. */ | 6228 /* Override any gcc2 internal prototype to avoid an error. */ |
6240 $ac_func(); | 6241 $ac_func(); |
6241 #endif | 6242 #endif |
6242 | 6243 |
6243 ; return 0; } | 6244 ; return 0; } |
6244 EOF | 6245 EOF |
6245 if { (eval echo configure:6246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6246 if { (eval echo configure:6247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6246 rm -rf conftest* | 6247 rm -rf conftest* |
6247 eval "ac_cv_func_$ac_func=yes" | 6248 eval "ac_cv_func_$ac_func=yes" |
6248 else | 6249 else |
6249 echo "configure: failed program was:" >&5 | 6250 echo "configure: failed program was:" >&5 |
6250 cat conftest.$ac_ext >&5 | 6251 cat conftest.$ac_ext >&5 |
6265 echo "$ac_t""no" 1>&6 | 6266 echo "$ac_t""no" 1>&6 |
6266 fi | 6267 fi |
6267 done | 6268 done |
6268 | 6269 |
6269 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 | 6270 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 |
6270 echo "configure:6271: checking for working mktime" >&5 | 6271 echo "configure:6272: checking for working mktime" >&5 |
6271 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then | 6272 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then |
6272 echo $ac_n "(cached) $ac_c" 1>&6 | 6273 echo $ac_n "(cached) $ac_c" 1>&6 |
6273 else | 6274 else |
6274 if test "$cross_compiling" = yes; then | 6275 if test "$cross_compiling" = yes; then |
6275 ac_cv_func_working_mktime=no | 6276 ac_cv_func_working_mktime=no |
6276 else | 6277 else |
6277 cat > conftest.$ac_ext <<EOF | 6278 cat > conftest.$ac_ext <<EOF |
6278 #line 6279 "configure" | 6279 #line 6280 "configure" |
6279 #include "confdefs.h" | 6280 #include "confdefs.h" |
6280 /* Test program from Paul Eggert (eggert@twinsun.com) | 6281 /* Test program from Paul Eggert (eggert@twinsun.com) |
6281 and Tony Leneis (tony@plaza.ds.adp.com). */ | 6282 and Tony Leneis (tony@plaza.ds.adp.com). */ |
6282 #if TIME_WITH_SYS_TIME | 6283 #if TIME_WITH_SYS_TIME |
6283 # include <sys/time.h> | 6284 # include <sys/time.h> |
6422 irix_6_4_bug (); | 6423 irix_6_4_bug (); |
6423 spring_forward_gap (); | 6424 spring_forward_gap (); |
6424 exit (0); | 6425 exit (0); |
6425 } | 6426 } |
6426 EOF | 6427 EOF |
6427 if { (eval echo configure:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6428 if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6428 then | 6429 then |
6429 ac_cv_func_working_mktime=yes | 6430 ac_cv_func_working_mktime=yes |
6430 else | 6431 else |
6431 echo "configure: failed program was:" >&5 | 6432 echo "configure: failed program was:" >&5 |
6432 cat conftest.$ac_ext >&5 | 6433 cat conftest.$ac_ext >&5 |
6454 | 6455 |
6455 # Some systems with -lutil have (and need) -lkvm as well, some do not. | 6456 # Some systems with -lutil have (and need) -lkvm as well, some do not. |
6456 # On Solaris, -lkvm requires nlist from -lelf, so check that first | 6457 # On Solaris, -lkvm requires nlist from -lelf, so check that first |
6457 # to get the right answer into the cache. | 6458 # to get the right answer into the cache. |
6458 echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 | 6459 echo $ac_n "checking for elf_begin in -lelf""... $ac_c" 1>&6 |
6459 echo "configure:6460: checking for elf_begin in -lelf" >&5 | 6460 echo "configure:6461: checking for elf_begin in -lelf" >&5 |
6460 ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` | 6461 ac_lib_var=`echo elf'_'elf_begin | sed 'y%./+-%__p_%'` |
6461 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6462 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6462 echo $ac_n "(cached) $ac_c" 1>&6 | 6463 echo $ac_n "(cached) $ac_c" 1>&6 |
6463 else | 6464 else |
6464 ac_save_LIBS="$LIBS" | 6465 ac_save_LIBS="$LIBS" |
6465 LIBS="-lelf $LIBS" | 6466 LIBS="-lelf $LIBS" |
6466 cat > conftest.$ac_ext <<EOF | 6467 cat > conftest.$ac_ext <<EOF |
6467 #line 6468 "configure" | 6468 #line 6469 "configure" |
6468 #include "confdefs.h" | 6469 #include "confdefs.h" |
6469 /* Override any gcc2 internal prototype to avoid an error. */ | 6470 /* Override any gcc2 internal prototype to avoid an error. */ |
6470 /* We use char because int might match the return type of a gcc2 | 6471 /* We use char because int might match the return type of a gcc2 |
6471 builtin and then its argument prototype would still apply. */ | 6472 builtin and then its argument prototype would still apply. */ |
6472 char elf_begin(); | 6473 char elf_begin(); |
6473 | 6474 |
6474 int main() { | 6475 int main() { |
6475 elf_begin() | 6476 elf_begin() |
6476 ; return 0; } | 6477 ; return 0; } |
6477 EOF | 6478 EOF |
6478 if { (eval echo configure:6479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6479 if { (eval echo configure:6480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6479 rm -rf conftest* | 6480 rm -rf conftest* |
6480 eval "ac_cv_lib_$ac_lib_var=yes" | 6481 eval "ac_cv_lib_$ac_lib_var=yes" |
6481 else | 6482 else |
6482 echo "configure: failed program was:" >&5 | 6483 echo "configure: failed program was:" >&5 |
6483 cat conftest.$ac_ext >&5 | 6484 cat conftest.$ac_ext >&5 |
6494 else | 6495 else |
6495 echo "$ac_t""no" 1>&6 | 6496 echo "$ac_t""no" 1>&6 |
6496 fi | 6497 fi |
6497 | 6498 |
6498 echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 | 6499 echo $ac_n "checking for kvm_open in -lkvm""... $ac_c" 1>&6 |
6499 echo "configure:6500: checking for kvm_open in -lkvm" >&5 | 6500 echo "configure:6501: checking for kvm_open in -lkvm" >&5 |
6500 ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` | 6501 ac_lib_var=`echo kvm'_'kvm_open | sed 'y%./+-%__p_%'` |
6501 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6502 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6502 echo $ac_n "(cached) $ac_c" 1>&6 | 6503 echo $ac_n "(cached) $ac_c" 1>&6 |
6503 else | 6504 else |
6504 ac_save_LIBS="$LIBS" | 6505 ac_save_LIBS="$LIBS" |
6505 LIBS="-lkvm $LIBS" | 6506 LIBS="-lkvm $LIBS" |
6506 cat > conftest.$ac_ext <<EOF | 6507 cat > conftest.$ac_ext <<EOF |
6507 #line 6508 "configure" | 6508 #line 6509 "configure" |
6508 #include "confdefs.h" | 6509 #include "confdefs.h" |
6509 /* Override any gcc2 internal prototype to avoid an error. */ | 6510 /* Override any gcc2 internal prototype to avoid an error. */ |
6510 /* We use char because int might match the return type of a gcc2 | 6511 /* We use char because int might match the return type of a gcc2 |
6511 builtin and then its argument prototype would still apply. */ | 6512 builtin and then its argument prototype would still apply. */ |
6512 char kvm_open(); | 6513 char kvm_open(); |
6513 | 6514 |
6514 int main() { | 6515 int main() { |
6515 kvm_open() | 6516 kvm_open() |
6516 ; return 0; } | 6517 ; return 0; } |
6517 EOF | 6518 EOF |
6518 if { (eval echo configure:6519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6519 if { (eval echo configure:6520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6519 rm -rf conftest* | 6520 rm -rf conftest* |
6520 eval "ac_cv_lib_$ac_lib_var=yes" | 6521 eval "ac_cv_lib_$ac_lib_var=yes" |
6521 else | 6522 else |
6522 echo "configure: failed program was:" >&5 | 6523 echo "configure: failed program was:" >&5 |
6523 cat conftest.$ac_ext >&5 | 6524 cat conftest.$ac_ext >&5 |
6535 echo "$ac_t""no" 1>&6 | 6536 echo "$ac_t""no" 1>&6 |
6536 fi | 6537 fi |
6537 | 6538 |
6538 # Check for the 4.4BSD definition of getloadavg. | 6539 # Check for the 4.4BSD definition of getloadavg. |
6539 echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 | 6540 echo $ac_n "checking for getloadavg in -lutil""... $ac_c" 1>&6 |
6540 echo "configure:6541: checking for getloadavg in -lutil" >&5 | 6541 echo "configure:6542: checking for getloadavg in -lutil" >&5 |
6541 ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` | 6542 ac_lib_var=`echo util'_'getloadavg | sed 'y%./+-%__p_%'` |
6542 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6543 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6543 echo $ac_n "(cached) $ac_c" 1>&6 | 6544 echo $ac_n "(cached) $ac_c" 1>&6 |
6544 else | 6545 else |
6545 ac_save_LIBS="$LIBS" | 6546 ac_save_LIBS="$LIBS" |
6546 LIBS="-lutil $LIBS" | 6547 LIBS="-lutil $LIBS" |
6547 cat > conftest.$ac_ext <<EOF | 6548 cat > conftest.$ac_ext <<EOF |
6548 #line 6549 "configure" | 6549 #line 6550 "configure" |
6549 #include "confdefs.h" | 6550 #include "confdefs.h" |
6550 /* Override any gcc2 internal prototype to avoid an error. */ | 6551 /* Override any gcc2 internal prototype to avoid an error. */ |
6551 /* We use char because int might match the return type of a gcc2 | 6552 /* We use char because int might match the return type of a gcc2 |
6552 builtin and then its argument prototype would still apply. */ | 6553 builtin and then its argument prototype would still apply. */ |
6553 char getloadavg(); | 6554 char getloadavg(); |
6554 | 6555 |
6555 int main() { | 6556 int main() { |
6556 getloadavg() | 6557 getloadavg() |
6557 ; return 0; } | 6558 ; return 0; } |
6558 EOF | 6559 EOF |
6559 if { (eval echo configure:6560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6560 if { (eval echo configure:6561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6560 rm -rf conftest* | 6561 rm -rf conftest* |
6561 eval "ac_cv_lib_$ac_lib_var=yes" | 6562 eval "ac_cv_lib_$ac_lib_var=yes" |
6562 else | 6563 else |
6563 echo "configure: failed program was:" >&5 | 6564 echo "configure: failed program was:" >&5 |
6564 cat conftest.$ac_ext >&5 | 6565 cat conftest.$ac_ext >&5 |
6580 if test $ac_have_func = no; then | 6581 if test $ac_have_func = no; then |
6581 # There is a commonly available library for RS/6000 AIX. | 6582 # There is a commonly available library for RS/6000 AIX. |
6582 # Since it is not a standard part of AIX, it might be installed locally. | 6583 # Since it is not a standard part of AIX, it might be installed locally. |
6583 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" | 6584 ac_getloadavg_LIBS="$LIBS"; LIBS="-L/usr/local/lib $LIBS" |
6584 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 | 6585 echo $ac_n "checking for getloadavg in -lgetloadavg""... $ac_c" 1>&6 |
6585 echo "configure:6586: checking for getloadavg in -lgetloadavg" >&5 | 6586 echo "configure:6587: checking for getloadavg in -lgetloadavg" >&5 |
6586 ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` | 6587 ac_lib_var=`echo getloadavg'_'getloadavg | sed 'y%./+-%__p_%'` |
6587 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6588 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6588 echo $ac_n "(cached) $ac_c" 1>&6 | 6589 echo $ac_n "(cached) $ac_c" 1>&6 |
6589 else | 6590 else |
6590 ac_save_LIBS="$LIBS" | 6591 ac_save_LIBS="$LIBS" |
6591 LIBS="-lgetloadavg $LIBS" | 6592 LIBS="-lgetloadavg $LIBS" |
6592 cat > conftest.$ac_ext <<EOF | 6593 cat > conftest.$ac_ext <<EOF |
6593 #line 6594 "configure" | 6594 #line 6595 "configure" |
6594 #include "confdefs.h" | 6595 #include "confdefs.h" |
6595 /* Override any gcc2 internal prototype to avoid an error. */ | 6596 /* Override any gcc2 internal prototype to avoid an error. */ |
6596 /* We use char because int might match the return type of a gcc2 | 6597 /* We use char because int might match the return type of a gcc2 |
6597 builtin and then its argument prototype would still apply. */ | 6598 builtin and then its argument prototype would still apply. */ |
6598 char getloadavg(); | 6599 char getloadavg(); |
6599 | 6600 |
6600 int main() { | 6601 int main() { |
6601 getloadavg() | 6602 getloadavg() |
6602 ; return 0; } | 6603 ; return 0; } |
6603 EOF | 6604 EOF |
6604 if { (eval echo configure:6605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6605 if { (eval echo configure:6606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6605 rm -rf conftest* | 6606 rm -rf conftest* |
6606 eval "ac_cv_lib_$ac_lib_var=yes" | 6607 eval "ac_cv_lib_$ac_lib_var=yes" |
6607 else | 6608 else |
6608 echo "configure: failed program was:" >&5 | 6609 echo "configure: failed program was:" >&5 |
6609 cat conftest.$ac_ext >&5 | 6610 cat conftest.$ac_ext >&5 |
6626 | 6627 |
6627 # Make sure it is really in the library, if we think we found it. | 6628 # Make sure it is really in the library, if we think we found it. |
6628 for ac_func in getloadavg | 6629 for ac_func in getloadavg |
6629 do | 6630 do |
6630 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6631 echo "configure:6632: checking for $ac_func" >&5 | 6632 echo "configure:6633: checking for $ac_func" >&5 |
6632 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 6633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6633 echo $ac_n "(cached) $ac_c" 1>&6 | 6634 echo $ac_n "(cached) $ac_c" 1>&6 |
6634 else | 6635 else |
6635 cat > conftest.$ac_ext <<EOF | 6636 cat > conftest.$ac_ext <<EOF |
6636 #line 6637 "configure" | 6637 #line 6638 "configure" |
6637 #include "confdefs.h" | 6638 #include "confdefs.h" |
6638 /* System header to define __stub macros and hopefully few prototypes, | 6639 /* System header to define __stub macros and hopefully few prototypes, |
6639 which can conflict with char $ac_func(); below. */ | 6640 which can conflict with char $ac_func(); below. */ |
6640 #include <assert.h> | 6641 #include <assert.h> |
6641 /* Override any gcc2 internal prototype to avoid an error. */ | 6642 /* Override any gcc2 internal prototype to avoid an error. */ |
6654 $ac_func(); | 6655 $ac_func(); |
6655 #endif | 6656 #endif |
6656 | 6657 |
6657 ; return 0; } | 6658 ; return 0; } |
6658 EOF | 6659 EOF |
6659 if { (eval echo configure:6660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6660 if { (eval echo configure:6661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6660 rm -rf conftest* | 6661 rm -rf conftest* |
6661 eval "ac_cv_func_$ac_func=yes" | 6662 eval "ac_cv_func_$ac_func=yes" |
6662 else | 6663 else |
6663 echo "configure: failed program was:" >&5 | 6664 echo "configure: failed program was:" >&5 |
6664 cat conftest.$ac_ext >&5 | 6665 cat conftest.$ac_ext >&5 |
6692 else | 6693 else |
6693 # Figure out what our getloadavg.c needs. | 6694 # Figure out what our getloadavg.c needs. |
6694 ac_have_func=no | 6695 ac_have_func=no |
6695 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` | 6696 ac_safe=`echo "sys/dg_sys_info.h" | sed 'y%./+-%__p_%'` |
6696 echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 | 6697 echo $ac_n "checking for sys/dg_sys_info.h""... $ac_c" 1>&6 |
6697 echo "configure:6698: checking for sys/dg_sys_info.h" >&5 | 6698 echo "configure:6699: checking for sys/dg_sys_info.h" >&5 |
6698 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6699 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6699 echo $ac_n "(cached) $ac_c" 1>&6 | 6700 echo $ac_n "(cached) $ac_c" 1>&6 |
6700 else | 6701 else |
6701 cat > conftest.$ac_ext <<EOF | 6702 cat > conftest.$ac_ext <<EOF |
6702 #line 6703 "configure" | 6703 #line 6704 "configure" |
6703 #include "confdefs.h" | 6704 #include "confdefs.h" |
6704 #include <sys/dg_sys_info.h> | 6705 #include <sys/dg_sys_info.h> |
6705 EOF | 6706 EOF |
6706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6707 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6707 { (eval echo configure:6708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6708 { (eval echo configure:6709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6709 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6709 if test -z "$ac_err"; then | 6710 if test -z "$ac_err"; then |
6710 rm -rf conftest* | 6711 rm -rf conftest* |
6711 eval "ac_cv_header_$ac_safe=yes" | 6712 eval "ac_cv_header_$ac_safe=yes" |
6712 else | 6713 else |
6723 ac_have_func=yes; cat >> confdefs.h <<\EOF | 6724 ac_have_func=yes; cat >> confdefs.h <<\EOF |
6724 #define DGUX 1 | 6725 #define DGUX 1 |
6725 EOF | 6726 EOF |
6726 | 6727 |
6727 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 | 6728 echo $ac_n "checking for dg_sys_info in -ldgc""... $ac_c" 1>&6 |
6728 echo "configure:6729: checking for dg_sys_info in -ldgc" >&5 | 6729 echo "configure:6730: checking for dg_sys_info in -ldgc" >&5 |
6729 ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` | 6730 ac_lib_var=`echo dgc'_'dg_sys_info | sed 'y%./+-%__p_%'` |
6730 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6731 echo $ac_n "(cached) $ac_c" 1>&6 | 6732 echo $ac_n "(cached) $ac_c" 1>&6 |
6732 else | 6733 else |
6733 ac_save_LIBS="$LIBS" | 6734 ac_save_LIBS="$LIBS" |
6734 LIBS="-ldgc $LIBS" | 6735 LIBS="-ldgc $LIBS" |
6735 cat > conftest.$ac_ext <<EOF | 6736 cat > conftest.$ac_ext <<EOF |
6736 #line 6737 "configure" | 6737 #line 6738 "configure" |
6737 #include "confdefs.h" | 6738 #include "confdefs.h" |
6738 /* Override any gcc2 internal prototype to avoid an error. */ | 6739 /* Override any gcc2 internal prototype to avoid an error. */ |
6739 /* We use char because int might match the return type of a gcc2 | 6740 /* We use char because int might match the return type of a gcc2 |
6740 builtin and then its argument prototype would still apply. */ | 6741 builtin and then its argument prototype would still apply. */ |
6741 char dg_sys_info(); | 6742 char dg_sys_info(); |
6742 | 6743 |
6743 int main() { | 6744 int main() { |
6744 dg_sys_info() | 6745 dg_sys_info() |
6745 ; return 0; } | 6746 ; return 0; } |
6746 EOF | 6747 EOF |
6747 if { (eval echo configure:6748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6748 if { (eval echo configure:6749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6748 rm -rf conftest* | 6749 rm -rf conftest* |
6749 eval "ac_cv_lib_$ac_lib_var=yes" | 6750 eval "ac_cv_lib_$ac_lib_var=yes" |
6750 else | 6751 else |
6751 echo "configure: failed program was:" >&5 | 6752 echo "configure: failed program was:" >&5 |
6752 cat conftest.$ac_ext >&5 | 6753 cat conftest.$ac_ext >&5 |
6787 fi | 6788 fi |
6788 | 6789 |
6789 if test $ac_have_func = no; then | 6790 if test $ac_have_func = no; then |
6790 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` | 6791 ac_safe=`echo "inq_stats/cpustats.h" | sed 'y%./+-%__p_%'` |
6791 echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 | 6792 echo $ac_n "checking for inq_stats/cpustats.h""... $ac_c" 1>&6 |
6792 echo "configure:6793: checking for inq_stats/cpustats.h" >&5 | 6793 echo "configure:6794: checking for inq_stats/cpustats.h" >&5 |
6793 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6794 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6794 echo $ac_n "(cached) $ac_c" 1>&6 | 6795 echo $ac_n "(cached) $ac_c" 1>&6 |
6795 else | 6796 else |
6796 cat > conftest.$ac_ext <<EOF | 6797 cat > conftest.$ac_ext <<EOF |
6797 #line 6798 "configure" | 6798 #line 6799 "configure" |
6798 #include "confdefs.h" | 6799 #include "confdefs.h" |
6799 #include <inq_stats/cpustats.h> | 6800 #include <inq_stats/cpustats.h> |
6800 EOF | 6801 EOF |
6801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6802 { (eval echo configure:6803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6803 { (eval echo configure:6804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6803 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6804 if test -z "$ac_err"; then | 6805 if test -z "$ac_err"; then |
6805 rm -rf conftest* | 6806 rm -rf conftest* |
6806 eval "ac_cv_header_$ac_safe=yes" | 6807 eval "ac_cv_header_$ac_safe=yes" |
6807 else | 6808 else |
6830 fi | 6831 fi |
6831 | 6832 |
6832 if test $ac_have_func = no; then | 6833 if test $ac_have_func = no; then |
6833 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` | 6834 ac_safe=`echo "sys/cpustats.h" | sed 'y%./+-%__p_%'` |
6834 echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 | 6835 echo $ac_n "checking for sys/cpustats.h""... $ac_c" 1>&6 |
6835 echo "configure:6836: checking for sys/cpustats.h" >&5 | 6836 echo "configure:6837: checking for sys/cpustats.h" >&5 |
6836 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6837 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6837 echo $ac_n "(cached) $ac_c" 1>&6 | 6838 echo $ac_n "(cached) $ac_c" 1>&6 |
6838 else | 6839 else |
6839 cat > conftest.$ac_ext <<EOF | 6840 cat > conftest.$ac_ext <<EOF |
6840 #line 6841 "configure" | 6841 #line 6842 "configure" |
6841 #include "confdefs.h" | 6842 #include "confdefs.h" |
6842 #include <sys/cpustats.h> | 6843 #include <sys/cpustats.h> |
6843 EOF | 6844 EOF |
6844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6845 { (eval echo configure:6846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6846 { (eval echo configure:6847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6847 if test -z "$ac_err"; then | 6848 if test -z "$ac_err"; then |
6848 rm -rf conftest* | 6849 rm -rf conftest* |
6849 eval "ac_cv_header_$ac_safe=yes" | 6850 eval "ac_cv_header_$ac_safe=yes" |
6850 else | 6851 else |
6871 if test $ac_have_func = no; then | 6872 if test $ac_have_func = no; then |
6872 for ac_hdr in mach/mach.h | 6873 for ac_hdr in mach/mach.h |
6873 do | 6874 do |
6874 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6875 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6875 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6876 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6876 echo "configure:6877: checking for $ac_hdr" >&5 | 6877 echo "configure:6878: checking for $ac_hdr" >&5 |
6877 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6878 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6878 echo $ac_n "(cached) $ac_c" 1>&6 | 6879 echo $ac_n "(cached) $ac_c" 1>&6 |
6879 else | 6880 else |
6880 cat > conftest.$ac_ext <<EOF | 6881 cat > conftest.$ac_ext <<EOF |
6881 #line 6882 "configure" | 6882 #line 6883 "configure" |
6882 #include "confdefs.h" | 6883 #include "confdefs.h" |
6883 #include <$ac_hdr> | 6884 #include <$ac_hdr> |
6884 EOF | 6885 EOF |
6885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6886 { (eval echo configure:6887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6887 { (eval echo configure:6888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6887 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6888 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6888 if test -z "$ac_err"; then | 6889 if test -z "$ac_err"; then |
6889 rm -rf conftest* | 6890 rm -rf conftest* |
6890 eval "ac_cv_header_$ac_safe=yes" | 6891 eval "ac_cv_header_$ac_safe=yes" |
6891 else | 6892 else |
6911 | 6912 |
6912 fi | 6913 fi |
6913 | 6914 |
6914 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 6915 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
6915 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 6916 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
6916 echo "configure:6917: checking for nlist.h" >&5 | 6917 echo "configure:6918: checking for nlist.h" >&5 |
6917 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6918 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6918 echo $ac_n "(cached) $ac_c" 1>&6 | 6919 echo $ac_n "(cached) $ac_c" 1>&6 |
6919 else | 6920 else |
6920 cat > conftest.$ac_ext <<EOF | 6921 cat > conftest.$ac_ext <<EOF |
6921 #line 6922 "configure" | 6922 #line 6923 "configure" |
6922 #include "confdefs.h" | 6923 #include "confdefs.h" |
6923 #include <nlist.h> | 6924 #include <nlist.h> |
6924 EOF | 6925 EOF |
6925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6926 { (eval echo configure:6927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6927 { (eval echo configure:6928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6928 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6928 if test -z "$ac_err"; then | 6929 if test -z "$ac_err"; then |
6929 rm -rf conftest* | 6930 rm -rf conftest* |
6930 eval "ac_cv_header_$ac_safe=yes" | 6931 eval "ac_cv_header_$ac_safe=yes" |
6931 else | 6932 else |
6942 cat >> confdefs.h <<\EOF | 6943 cat >> confdefs.h <<\EOF |
6943 #define NLIST_STRUCT 1 | 6944 #define NLIST_STRUCT 1 |
6944 EOF | 6945 EOF |
6945 | 6946 |
6946 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 | 6947 echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 |
6947 echo "configure:6948: checking for n_un in struct nlist" >&5 | 6948 echo "configure:6949: checking for n_un in struct nlist" >&5 |
6948 if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then | 6949 if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then |
6949 echo $ac_n "(cached) $ac_c" 1>&6 | 6950 echo $ac_n "(cached) $ac_c" 1>&6 |
6950 else | 6951 else |
6951 cat > conftest.$ac_ext <<EOF | 6952 cat > conftest.$ac_ext <<EOF |
6952 #line 6953 "configure" | 6953 #line 6954 "configure" |
6953 #include "confdefs.h" | 6954 #include "confdefs.h" |
6954 #include <nlist.h> | 6955 #include <nlist.h> |
6955 int main() { | 6956 int main() { |
6956 struct nlist n; n.n_un.n_name = 0; | 6957 struct nlist n; n.n_un.n_name = 0; |
6957 ; return 0; } | 6958 ; return 0; } |
6958 EOF | 6959 EOF |
6959 if { (eval echo configure:6960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6960 if { (eval echo configure:6961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6960 rm -rf conftest* | 6961 rm -rf conftest* |
6961 ac_cv_struct_nlist_n_un=yes | 6962 ac_cv_struct_nlist_n_un=yes |
6962 else | 6963 else |
6963 echo "configure: failed program was:" >&5 | 6964 echo "configure: failed program was:" >&5 |
6964 cat conftest.$ac_ext >&5 | 6965 cat conftest.$ac_ext >&5 |
6981 fi | 6982 fi |
6982 fi # Do not have getloadavg in system libraries. | 6983 fi # Do not have getloadavg in system libraries. |
6983 | 6984 |
6984 # Some definitions of getloadavg require that the program be installed setgid. | 6985 # Some definitions of getloadavg require that the program be installed setgid. |
6985 echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 | 6986 echo $ac_n "checking whether getloadavg requires setgid""... $ac_c" 1>&6 |
6986 echo "configure:6987: checking whether getloadavg requires setgid" >&5 | 6987 echo "configure:6988: checking whether getloadavg requires setgid" >&5 |
6987 if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then | 6988 if eval "test \"`echo '$''{'ac_cv_func_getloadavg_setgid'+set}'`\" = set"; then |
6988 echo $ac_n "(cached) $ac_c" 1>&6 | 6989 echo $ac_n "(cached) $ac_c" 1>&6 |
6989 else | 6990 else |
6990 cat > conftest.$ac_ext <<EOF | 6991 cat > conftest.$ac_ext <<EOF |
6991 #line 6992 "configure" | 6992 #line 6993 "configure" |
6992 #include "confdefs.h" | 6993 #include "confdefs.h" |
6993 #include "$srcdir/getloadavg.c" | 6994 #include "$srcdir/getloadavg.c" |
6994 #ifdef LDAV_PRIVILEGED | 6995 #ifdef LDAV_PRIVILEGED |
6995 Yowza Am I SETGID yet | 6996 Yowza Am I SETGID yet |
6996 #endif | 6997 #endif |
7017 NEED_SETGID=false | 7018 NEED_SETGID=false |
7018 fi | 7019 fi |
7019 | 7020 |
7020 if test $ac_cv_func_getloadavg_setgid = yes; then | 7021 if test $ac_cv_func_getloadavg_setgid = yes; then |
7021 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 | 7022 echo $ac_n "checking group of /dev/kmem""... $ac_c" 1>&6 |
7022 echo "configure:7023: checking group of /dev/kmem" >&5 | 7023 echo "configure:7024: checking group of /dev/kmem" >&5 |
7023 if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then | 7024 if eval "test \"`echo '$''{'ac_cv_group_kmem'+set}'`\" = set"; then |
7024 echo $ac_n "(cached) $ac_c" 1>&6 | 7025 echo $ac_n "(cached) $ac_c" 1>&6 |
7025 else | 7026 else |
7026 # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 7027 # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
7027 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` | 7028 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` |
7038 KMEM_GROUP=$ac_cv_group_kmem | 7039 KMEM_GROUP=$ac_cv_group_kmem |
7039 fi | 7040 fi |
7040 | 7041 |
7041 | 7042 |
7042 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 | 7043 echo $ac_n "checking for _LARGEFILE_SOURCE value needed for large files""... $ac_c" 1>&6 |
7043 echo "configure:7044: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 7044 echo "configure:7045: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
7044 if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then | 7045 if eval "test \"`echo '$''{'ac_cv_sys_largefile_source'+set}'`\" = set"; then |
7045 echo $ac_n "(cached) $ac_c" 1>&6 | 7046 echo $ac_n "(cached) $ac_c" 1>&6 |
7046 else | 7047 else |
7047 ac_cv_sys_largefile_source=no | 7048 ac_cv_sys_largefile_source=no |
7048 cat > conftest.$ac_ext <<EOF | 7049 cat > conftest.$ac_ext <<EOF |
7049 #line 7050 "configure" | 7050 #line 7051 "configure" |
7050 #include "confdefs.h" | 7051 #include "confdefs.h" |
7051 #include <stdio.h> | 7052 #include <stdio.h> |
7052 int main() { | 7053 int main() { |
7053 return !fseeko; | 7054 return !fseeko; |
7054 ; return 0; } | 7055 ; return 0; } |
7055 EOF | 7056 EOF |
7056 if { (eval echo configure:7057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7057 if { (eval echo configure:7058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7057 : | 7058 : |
7058 else | 7059 else |
7059 echo "configure: failed program was:" >&5 | 7060 echo "configure: failed program was:" >&5 |
7060 cat conftest.$ac_ext >&5 | 7061 cat conftest.$ac_ext >&5 |
7061 rm -rf conftest* | 7062 rm -rf conftest* |
7062 cat > conftest.$ac_ext <<EOF | 7063 cat > conftest.$ac_ext <<EOF |
7063 #line 7064 "configure" | 7064 #line 7065 "configure" |
7064 #include "confdefs.h" | 7065 #include "confdefs.h" |
7065 #define _LARGEFILE_SOURCE 1 | 7066 #define _LARGEFILE_SOURCE 1 |
7066 #include <stdio.h> | 7067 #include <stdio.h> |
7067 | 7068 |
7068 int main() { | 7069 int main() { |
7069 return !fseeko; | 7070 return !fseeko; |
7070 ; return 0; } | 7071 ; return 0; } |
7071 EOF | 7072 EOF |
7072 if { (eval echo configure:7073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7073 if { (eval echo configure:7074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7073 rm -rf conftest* | 7074 rm -rf conftest* |
7074 ac_cv_sys_largefile_source=1 | 7075 ac_cv_sys_largefile_source=1 |
7075 else | 7076 else |
7076 echo "configure: failed program was:" >&5 | 7077 echo "configure: failed program was:" >&5 |
7077 cat conftest.$ac_ext >&5 | 7078 cat conftest.$ac_ext >&5 |
7091 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug | 7092 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug |
7092 # in glibc 2.1.3, but that breaks too many other things. | 7093 # in glibc 2.1.3, but that breaks too many other things. |
7093 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 7094 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
7094 | 7095 |
7095 echo $ac_n "checking for fseeko""... $ac_c" 1>&6 | 7096 echo $ac_n "checking for fseeko""... $ac_c" 1>&6 |
7096 echo "configure:7097: checking for fseeko" >&5 | 7097 echo "configure:7098: checking for fseeko" >&5 |
7097 if eval "test \"`echo '$''{'ac_cv_func_fseeko'+set}'`\" = set"; then | 7098 if eval "test \"`echo '$''{'ac_cv_func_fseeko'+set}'`\" = set"; then |
7098 echo $ac_n "(cached) $ac_c" 1>&6 | 7099 echo $ac_n "(cached) $ac_c" 1>&6 |
7099 else | 7100 else |
7100 ac_cv_func_fseeko=no | 7101 ac_cv_func_fseeko=no |
7101 cat > conftest.$ac_ext <<EOF | 7102 cat > conftest.$ac_ext <<EOF |
7102 #line 7103 "configure" | 7103 #line 7104 "configure" |
7103 #include "confdefs.h" | 7104 #include "confdefs.h" |
7104 #include <stdio.h> | 7105 #include <stdio.h> |
7105 int main() { | 7106 int main() { |
7106 return fseeko && fseeko (stdin, 0, 0); | 7107 return fseeko && fseeko (stdin, 0, 0); |
7107 ; return 0; } | 7108 ; return 0; } |
7108 EOF | 7109 EOF |
7109 if { (eval echo configure:7110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7110 if { (eval echo configure:7111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7110 rm -rf conftest* | 7111 rm -rf conftest* |
7111 ac_cv_func_fseeko=yes | 7112 ac_cv_func_fseeko=yes |
7112 else | 7113 else |
7113 echo "configure: failed program was:" >&5 | 7114 echo "configure: failed program was:" >&5 |
7114 cat conftest.$ac_ext >&5 | 7115 cat conftest.$ac_ext >&5 |
7126 | 7127 |
7127 # UNIX98 PTYs. | 7128 # UNIX98 PTYs. |
7128 for ac_func in grantpt | 7129 for ac_func in grantpt |
7129 do | 7130 do |
7130 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7131 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7131 echo "configure:7132: checking for $ac_func" >&5 | 7132 echo "configure:7133: checking for $ac_func" >&5 |
7132 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7133 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
7133 echo $ac_n "(cached) $ac_c" 1>&6 | 7134 echo $ac_n "(cached) $ac_c" 1>&6 |
7134 else | 7135 else |
7135 cat > conftest.$ac_ext <<EOF | 7136 cat > conftest.$ac_ext <<EOF |
7136 #line 7137 "configure" | 7137 #line 7138 "configure" |
7137 #include "confdefs.h" | 7138 #include "confdefs.h" |
7138 /* System header to define __stub macros and hopefully few prototypes, | 7139 /* System header to define __stub macros and hopefully few prototypes, |
7139 which can conflict with char $ac_func(); below. */ | 7140 which can conflict with char $ac_func(); below. */ |
7140 #include <assert.h> | 7141 #include <assert.h> |
7141 /* Override any gcc2 internal prototype to avoid an error. */ | 7142 /* Override any gcc2 internal prototype to avoid an error. */ |
7154 $ac_func(); | 7155 $ac_func(); |
7155 #endif | 7156 #endif |
7156 | 7157 |
7157 ; return 0; } | 7158 ; return 0; } |
7158 EOF | 7159 EOF |
7159 if { (eval echo configure:7160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7160 if { (eval echo configure:7161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7160 rm -rf conftest* | 7161 rm -rf conftest* |
7161 eval "ac_cv_func_$ac_func=yes" | 7162 eval "ac_cv_func_$ac_func=yes" |
7162 else | 7163 else |
7163 echo "configure: failed program was:" >&5 | 7164 echo "configure: failed program was:" >&5 |
7164 cat conftest.$ac_ext >&5 | 7165 cat conftest.$ac_ext >&5 |
7183 | 7184 |
7184 # PTY-related GNU extensions. | 7185 # PTY-related GNU extensions. |
7185 for ac_func in getpt | 7186 for ac_func in getpt |
7186 do | 7187 do |
7187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7188 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7188 echo "configure:7189: checking for $ac_func" >&5 | 7189 echo "configure:7190: checking for $ac_func" >&5 |
7189 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7190 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
7190 echo $ac_n "(cached) $ac_c" 1>&6 | 7191 echo $ac_n "(cached) $ac_c" 1>&6 |
7191 else | 7192 else |
7192 cat > conftest.$ac_ext <<EOF | 7193 cat > conftest.$ac_ext <<EOF |
7193 #line 7194 "configure" | 7194 #line 7195 "configure" |
7194 #include "confdefs.h" | 7195 #include "confdefs.h" |
7195 /* System header to define __stub macros and hopefully few prototypes, | 7196 /* System header to define __stub macros and hopefully few prototypes, |
7196 which can conflict with char $ac_func(); below. */ | 7197 which can conflict with char $ac_func(); below. */ |
7197 #include <assert.h> | 7198 #include <assert.h> |
7198 /* Override any gcc2 internal prototype to avoid an error. */ | 7199 /* Override any gcc2 internal prototype to avoid an error. */ |
7211 $ac_func(); | 7212 $ac_func(); |
7212 #endif | 7213 #endif |
7213 | 7214 |
7214 ; return 0; } | 7215 ; return 0; } |
7215 EOF | 7216 EOF |
7216 if { (eval echo configure:7217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7217 if { (eval echo configure:7218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7217 rm -rf conftest* | 7218 rm -rf conftest* |
7218 eval "ac_cv_func_$ac_func=yes" | 7219 eval "ac_cv_func_$ac_func=yes" |
7219 else | 7220 else |
7220 echo "configure: failed program was:" >&5 | 7221 echo "configure: failed program was:" >&5 |
7221 cat conftest.$ac_ext >&5 | 7222 cat conftest.$ac_ext >&5 |
7241 # Check this now, so that we will NOT find the above functions in ncurses. | 7242 # Check this now, so that we will NOT find the above functions in ncurses. |
7242 # That is because we have not set up to link ncurses in lib-src. | 7243 # That is because we have not set up to link ncurses in lib-src. |
7243 # It's better to believe a function is not available | 7244 # It's better to believe a function is not available |
7244 # than to expect to find it in ncurses. | 7245 # than to expect to find it in ncurses. |
7245 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 7246 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
7246 echo "configure:7247: checking for tparm in -lncurses" >&5 | 7247 echo "configure:7248: checking for tparm in -lncurses" >&5 |
7247 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 7248 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
7248 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7249 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7249 echo $ac_n "(cached) $ac_c" 1>&6 | 7250 echo $ac_n "(cached) $ac_c" 1>&6 |
7250 else | 7251 else |
7251 ac_save_LIBS="$LIBS" | 7252 ac_save_LIBS="$LIBS" |
7252 LIBS="-lncurses $LIBS" | 7253 LIBS="-lncurses $LIBS" |
7253 cat > conftest.$ac_ext <<EOF | 7254 cat > conftest.$ac_ext <<EOF |
7254 #line 7255 "configure" | 7255 #line 7256 "configure" |
7255 #include "confdefs.h" | 7256 #include "confdefs.h" |
7256 /* Override any gcc2 internal prototype to avoid an error. */ | 7257 /* Override any gcc2 internal prototype to avoid an error. */ |
7257 /* We use char because int might match the return type of a gcc2 | 7258 /* We use char because int might match the return type of a gcc2 |
7258 builtin and then its argument prototype would still apply. */ | 7259 builtin and then its argument prototype would still apply. */ |
7259 char tparm(); | 7260 char tparm(); |
7260 | 7261 |
7261 int main() { | 7262 int main() { |
7262 tparm() | 7263 tparm() |
7263 ; return 0; } | 7264 ; return 0; } |
7264 EOF | 7265 EOF |
7265 if { (eval echo configure:7266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7266 if { (eval echo configure:7267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7266 rm -rf conftest* | 7267 rm -rf conftest* |
7267 eval "ac_cv_lib_$ac_lib_var=yes" | 7268 eval "ac_cv_lib_$ac_lib_var=yes" |
7268 else | 7269 else |
7269 echo "configure: failed program was:" >&5 | 7270 echo "configure: failed program was:" >&5 |
7270 cat conftest.$ac_ext >&5 | 7271 cat conftest.$ac_ext >&5 |
7291 | 7292 |
7292 | 7293 |
7293 # These tell us which Kerberos-related libraries to use. | 7294 # These tell us which Kerberos-related libraries to use. |
7294 if test "${with_kerberos+set}" = set; then | 7295 if test "${with_kerberos+set}" = set; then |
7295 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | 7296 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
7296 echo "configure:7297: checking for com_err in -lcom_err" >&5 | 7297 echo "configure:7298: checking for com_err in -lcom_err" >&5 |
7297 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 7298 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
7298 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7299 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7299 echo $ac_n "(cached) $ac_c" 1>&6 | 7300 echo $ac_n "(cached) $ac_c" 1>&6 |
7300 else | 7301 else |
7301 ac_save_LIBS="$LIBS" | 7302 ac_save_LIBS="$LIBS" |
7302 LIBS="-lcom_err $LIBS" | 7303 LIBS="-lcom_err $LIBS" |
7303 cat > conftest.$ac_ext <<EOF | 7304 cat > conftest.$ac_ext <<EOF |
7304 #line 7305 "configure" | 7305 #line 7306 "configure" |
7305 #include "confdefs.h" | 7306 #include "confdefs.h" |
7306 /* Override any gcc2 internal prototype to avoid an error. */ | 7307 /* Override any gcc2 internal prototype to avoid an error. */ |
7307 /* We use char because int might match the return type of a gcc2 | 7308 /* We use char because int might match the return type of a gcc2 |
7308 builtin and then its argument prototype would still apply. */ | 7309 builtin and then its argument prototype would still apply. */ |
7309 char com_err(); | 7310 char com_err(); |
7310 | 7311 |
7311 int main() { | 7312 int main() { |
7312 com_err() | 7313 com_err() |
7313 ; return 0; } | 7314 ; return 0; } |
7314 EOF | 7315 EOF |
7315 if { (eval echo configure:7316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7316 if { (eval echo configure:7317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7316 rm -rf conftest* | 7317 rm -rf conftest* |
7317 eval "ac_cv_lib_$ac_lib_var=yes" | 7318 eval "ac_cv_lib_$ac_lib_var=yes" |
7318 else | 7319 else |
7319 echo "configure: failed program was:" >&5 | 7320 echo "configure: failed program was:" >&5 |
7320 cat conftest.$ac_ext >&5 | 7321 cat conftest.$ac_ext >&5 |
7338 else | 7339 else |
7339 echo "$ac_t""no" 1>&6 | 7340 echo "$ac_t""no" 1>&6 |
7340 fi | 7341 fi |
7341 | 7342 |
7342 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | 7343 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 |
7343 echo "configure:7344: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 7344 echo "configure:7345: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
7344 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7345 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7345 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7346 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7346 echo $ac_n "(cached) $ac_c" 1>&6 | 7347 echo $ac_n "(cached) $ac_c" 1>&6 |
7347 else | 7348 else |
7348 ac_save_LIBS="$LIBS" | 7349 ac_save_LIBS="$LIBS" |
7349 LIBS="-lk5crypto $LIBS" | 7350 LIBS="-lk5crypto $LIBS" |
7350 cat > conftest.$ac_ext <<EOF | 7351 cat > conftest.$ac_ext <<EOF |
7351 #line 7352 "configure" | 7352 #line 7353 "configure" |
7352 #include "confdefs.h" | 7353 #include "confdefs.h" |
7353 /* Override any gcc2 internal prototype to avoid an error. */ | 7354 /* Override any gcc2 internal prototype to avoid an error. */ |
7354 /* We use char because int might match the return type of a gcc2 | 7355 /* We use char because int might match the return type of a gcc2 |
7355 builtin and then its argument prototype would still apply. */ | 7356 builtin and then its argument prototype would still apply. */ |
7356 char mit_des_cbc_encrypt(); | 7357 char mit_des_cbc_encrypt(); |
7357 | 7358 |
7358 int main() { | 7359 int main() { |
7359 mit_des_cbc_encrypt() | 7360 mit_des_cbc_encrypt() |
7360 ; return 0; } | 7361 ; return 0; } |
7361 EOF | 7362 EOF |
7362 if { (eval echo configure:7363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7363 if { (eval echo configure:7364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7363 rm -rf conftest* | 7364 rm -rf conftest* |
7364 eval "ac_cv_lib_$ac_lib_var=yes" | 7365 eval "ac_cv_lib_$ac_lib_var=yes" |
7365 else | 7366 else |
7366 echo "configure: failed program was:" >&5 | 7367 echo "configure: failed program was:" >&5 |
7367 cat conftest.$ac_ext >&5 | 7368 cat conftest.$ac_ext >&5 |
7385 else | 7386 else |
7386 echo "$ac_t""no" 1>&6 | 7387 echo "$ac_t""no" 1>&6 |
7387 fi | 7388 fi |
7388 | 7389 |
7389 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | 7390 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 |
7390 echo "configure:7391: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 7391 echo "configure:7392: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
7391 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7392 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7392 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7393 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7393 echo $ac_n "(cached) $ac_c" 1>&6 | 7394 echo $ac_n "(cached) $ac_c" 1>&6 |
7394 else | 7395 else |
7395 ac_save_LIBS="$LIBS" | 7396 ac_save_LIBS="$LIBS" |
7396 LIBS="-lcrypto $LIBS" | 7397 LIBS="-lcrypto $LIBS" |
7397 cat > conftest.$ac_ext <<EOF | 7398 cat > conftest.$ac_ext <<EOF |
7398 #line 7399 "configure" | 7399 #line 7400 "configure" |
7399 #include "confdefs.h" | 7400 #include "confdefs.h" |
7400 /* Override any gcc2 internal prototype to avoid an error. */ | 7401 /* Override any gcc2 internal prototype to avoid an error. */ |
7401 /* We use char because int might match the return type of a gcc2 | 7402 /* We use char because int might match the return type of a gcc2 |
7402 builtin and then its argument prototype would still apply. */ | 7403 builtin and then its argument prototype would still apply. */ |
7403 char mit_des_cbc_encrypt(); | 7404 char mit_des_cbc_encrypt(); |
7404 | 7405 |
7405 int main() { | 7406 int main() { |
7406 mit_des_cbc_encrypt() | 7407 mit_des_cbc_encrypt() |
7407 ; return 0; } | 7408 ; return 0; } |
7408 EOF | 7409 EOF |
7409 if { (eval echo configure:7410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7410 if { (eval echo configure:7411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7410 rm -rf conftest* | 7411 rm -rf conftest* |
7411 eval "ac_cv_lib_$ac_lib_var=yes" | 7412 eval "ac_cv_lib_$ac_lib_var=yes" |
7412 else | 7413 else |
7413 echo "configure: failed program was:" >&5 | 7414 echo "configure: failed program was:" >&5 |
7414 cat conftest.$ac_ext >&5 | 7415 cat conftest.$ac_ext >&5 |
7432 else | 7433 else |
7433 echo "$ac_t""no" 1>&6 | 7434 echo "$ac_t""no" 1>&6 |
7434 fi | 7435 fi |
7435 | 7436 |
7436 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | 7437 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 |
7437 echo "configure:7438: checking for krb5_init_context in -lkrb5" >&5 | 7438 echo "configure:7439: checking for krb5_init_context in -lkrb5" >&5 |
7438 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 7439 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
7439 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7440 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7440 echo $ac_n "(cached) $ac_c" 1>&6 | 7441 echo $ac_n "(cached) $ac_c" 1>&6 |
7441 else | 7442 else |
7442 ac_save_LIBS="$LIBS" | 7443 ac_save_LIBS="$LIBS" |
7443 LIBS="-lkrb5 $LIBS" | 7444 LIBS="-lkrb5 $LIBS" |
7444 cat > conftest.$ac_ext <<EOF | 7445 cat > conftest.$ac_ext <<EOF |
7445 #line 7446 "configure" | 7446 #line 7447 "configure" |
7446 #include "confdefs.h" | 7447 #include "confdefs.h" |
7447 /* Override any gcc2 internal prototype to avoid an error. */ | 7448 /* Override any gcc2 internal prototype to avoid an error. */ |
7448 /* We use char because int might match the return type of a gcc2 | 7449 /* We use char because int might match the return type of a gcc2 |
7449 builtin and then its argument prototype would still apply. */ | 7450 builtin and then its argument prototype would still apply. */ |
7450 char krb5_init_context(); | 7451 char krb5_init_context(); |
7451 | 7452 |
7452 int main() { | 7453 int main() { |
7453 krb5_init_context() | 7454 krb5_init_context() |
7454 ; return 0; } | 7455 ; return 0; } |
7455 EOF | 7456 EOF |
7456 if { (eval echo configure:7457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7457 if { (eval echo configure:7458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7457 rm -rf conftest* | 7458 rm -rf conftest* |
7458 eval "ac_cv_lib_$ac_lib_var=yes" | 7459 eval "ac_cv_lib_$ac_lib_var=yes" |
7459 else | 7460 else |
7460 echo "configure: failed program was:" >&5 | 7461 echo "configure: failed program was:" >&5 |
7461 cat conftest.$ac_ext >&5 | 7462 cat conftest.$ac_ext >&5 |
7480 echo "$ac_t""no" 1>&6 | 7481 echo "$ac_t""no" 1>&6 |
7481 fi | 7482 fi |
7482 | 7483 |
7483 if test "${with_kerberos5+set}" != set; then | 7484 if test "${with_kerberos5+set}" != set; then |
7484 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | 7485 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 |
7485 echo "configure:7486: checking for des_cbc_encrypt in -ldes425" >&5 | 7486 echo "configure:7487: checking for des_cbc_encrypt in -ldes425" >&5 |
7486 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7487 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7487 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7488 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7488 echo $ac_n "(cached) $ac_c" 1>&6 | 7489 echo $ac_n "(cached) $ac_c" 1>&6 |
7489 else | 7490 else |
7490 ac_save_LIBS="$LIBS" | 7491 ac_save_LIBS="$LIBS" |
7491 LIBS="-ldes425 $LIBS" | 7492 LIBS="-ldes425 $LIBS" |
7492 cat > conftest.$ac_ext <<EOF | 7493 cat > conftest.$ac_ext <<EOF |
7493 #line 7494 "configure" | 7494 #line 7495 "configure" |
7494 #include "confdefs.h" | 7495 #include "confdefs.h" |
7495 /* Override any gcc2 internal prototype to avoid an error. */ | 7496 /* Override any gcc2 internal prototype to avoid an error. */ |
7496 /* We use char because int might match the return type of a gcc2 | 7497 /* We use char because int might match the return type of a gcc2 |
7497 builtin and then its argument prototype would still apply. */ | 7498 builtin and then its argument prototype would still apply. */ |
7498 char des_cbc_encrypt(); | 7499 char des_cbc_encrypt(); |
7499 | 7500 |
7500 int main() { | 7501 int main() { |
7501 des_cbc_encrypt() | 7502 des_cbc_encrypt() |
7502 ; return 0; } | 7503 ; return 0; } |
7503 EOF | 7504 EOF |
7504 if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7505 if { (eval echo configure:7506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7505 rm -rf conftest* | 7506 rm -rf conftest* |
7506 eval "ac_cv_lib_$ac_lib_var=yes" | 7507 eval "ac_cv_lib_$ac_lib_var=yes" |
7507 else | 7508 else |
7508 echo "configure: failed program was:" >&5 | 7509 echo "configure: failed program was:" >&5 |
7509 cat conftest.$ac_ext >&5 | 7510 cat conftest.$ac_ext >&5 |
7525 LIBS="-ldes425 $LIBS" | 7526 LIBS="-ldes425 $LIBS" |
7526 | 7527 |
7527 else | 7528 else |
7528 echo "$ac_t""no" 1>&6 | 7529 echo "$ac_t""no" 1>&6 |
7529 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 7530 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
7530 echo "configure:7531: checking for des_cbc_encrypt in -ldes" >&5 | 7531 echo "configure:7532: checking for des_cbc_encrypt in -ldes" >&5 |
7531 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 7532 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
7532 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7533 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7533 echo $ac_n "(cached) $ac_c" 1>&6 | 7534 echo $ac_n "(cached) $ac_c" 1>&6 |
7534 else | 7535 else |
7535 ac_save_LIBS="$LIBS" | 7536 ac_save_LIBS="$LIBS" |
7536 LIBS="-ldes $LIBS" | 7537 LIBS="-ldes $LIBS" |
7537 cat > conftest.$ac_ext <<EOF | 7538 cat > conftest.$ac_ext <<EOF |
7538 #line 7539 "configure" | 7539 #line 7540 "configure" |
7539 #include "confdefs.h" | 7540 #include "confdefs.h" |
7540 /* Override any gcc2 internal prototype to avoid an error. */ | 7541 /* Override any gcc2 internal prototype to avoid an error. */ |
7541 /* We use char because int might match the return type of a gcc2 | 7542 /* We use char because int might match the return type of a gcc2 |
7542 builtin and then its argument prototype would still apply. */ | 7543 builtin and then its argument prototype would still apply. */ |
7543 char des_cbc_encrypt(); | 7544 char des_cbc_encrypt(); |
7544 | 7545 |
7545 int main() { | 7546 int main() { |
7546 des_cbc_encrypt() | 7547 des_cbc_encrypt() |
7547 ; return 0; } | 7548 ; return 0; } |
7548 EOF | 7549 EOF |
7549 if { (eval echo configure:7550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7550 if { (eval echo configure:7551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7550 rm -rf conftest* | 7551 rm -rf conftest* |
7551 eval "ac_cv_lib_$ac_lib_var=yes" | 7552 eval "ac_cv_lib_$ac_lib_var=yes" |
7552 else | 7553 else |
7553 echo "configure: failed program was:" >&5 | 7554 echo "configure: failed program was:" >&5 |
7554 cat conftest.$ac_ext >&5 | 7555 cat conftest.$ac_ext >&5 |
7574 fi | 7575 fi |
7575 | 7576 |
7576 fi | 7577 fi |
7577 | 7578 |
7578 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | 7579 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 |
7579 echo "configure:7580: checking for krb_get_cred in -lkrb4" >&5 | 7580 echo "configure:7581: checking for krb_get_cred in -lkrb4" >&5 |
7580 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 7581 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
7581 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7582 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7582 echo $ac_n "(cached) $ac_c" 1>&6 | 7583 echo $ac_n "(cached) $ac_c" 1>&6 |
7583 else | 7584 else |
7584 ac_save_LIBS="$LIBS" | 7585 ac_save_LIBS="$LIBS" |
7585 LIBS="-lkrb4 $LIBS" | 7586 LIBS="-lkrb4 $LIBS" |
7586 cat > conftest.$ac_ext <<EOF | 7587 cat > conftest.$ac_ext <<EOF |
7587 #line 7588 "configure" | 7588 #line 7589 "configure" |
7588 #include "confdefs.h" | 7589 #include "confdefs.h" |
7589 /* Override any gcc2 internal prototype to avoid an error. */ | 7590 /* Override any gcc2 internal prototype to avoid an error. */ |
7590 /* We use char because int might match the return type of a gcc2 | 7591 /* We use char because int might match the return type of a gcc2 |
7591 builtin and then its argument prototype would still apply. */ | 7592 builtin and then its argument prototype would still apply. */ |
7592 char krb_get_cred(); | 7593 char krb_get_cred(); |
7593 | 7594 |
7594 int main() { | 7595 int main() { |
7595 krb_get_cred() | 7596 krb_get_cred() |
7596 ; return 0; } | 7597 ; return 0; } |
7597 EOF | 7598 EOF |
7598 if { (eval echo configure:7599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7599 if { (eval echo configure:7600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7599 rm -rf conftest* | 7600 rm -rf conftest* |
7600 eval "ac_cv_lib_$ac_lib_var=yes" | 7601 eval "ac_cv_lib_$ac_lib_var=yes" |
7601 else | 7602 else |
7602 echo "configure: failed program was:" >&5 | 7603 echo "configure: failed program was:" >&5 |
7603 cat conftest.$ac_ext >&5 | 7604 cat conftest.$ac_ext >&5 |
7619 LIBS="-lkrb4 $LIBS" | 7620 LIBS="-lkrb4 $LIBS" |
7620 | 7621 |
7621 else | 7622 else |
7622 echo "$ac_t""no" 1>&6 | 7623 echo "$ac_t""no" 1>&6 |
7623 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 7624 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
7624 echo "configure:7625: checking for krb_get_cred in -lkrb" >&5 | 7625 echo "configure:7626: checking for krb_get_cred in -lkrb" >&5 |
7625 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 7626 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
7626 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7627 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7627 echo $ac_n "(cached) $ac_c" 1>&6 | 7628 echo $ac_n "(cached) $ac_c" 1>&6 |
7628 else | 7629 else |
7629 ac_save_LIBS="$LIBS" | 7630 ac_save_LIBS="$LIBS" |
7630 LIBS="-lkrb $LIBS" | 7631 LIBS="-lkrb $LIBS" |
7631 cat > conftest.$ac_ext <<EOF | 7632 cat > conftest.$ac_ext <<EOF |
7632 #line 7633 "configure" | 7633 #line 7634 "configure" |
7633 #include "confdefs.h" | 7634 #include "confdefs.h" |
7634 /* Override any gcc2 internal prototype to avoid an error. */ | 7635 /* Override any gcc2 internal prototype to avoid an error. */ |
7635 /* We use char because int might match the return type of a gcc2 | 7636 /* We use char because int might match the return type of a gcc2 |
7636 builtin and then its argument prototype would still apply. */ | 7637 builtin and then its argument prototype would still apply. */ |
7637 char krb_get_cred(); | 7638 char krb_get_cred(); |
7638 | 7639 |
7639 int main() { | 7640 int main() { |
7640 krb_get_cred() | 7641 krb_get_cred() |
7641 ; return 0; } | 7642 ; return 0; } |
7642 EOF | 7643 EOF |
7643 if { (eval echo configure:7644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7644 if { (eval echo configure:7645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7644 rm -rf conftest* | 7645 rm -rf conftest* |
7645 eval "ac_cv_lib_$ac_lib_var=yes" | 7646 eval "ac_cv_lib_$ac_lib_var=yes" |
7646 else | 7647 else |
7647 echo "configure: failed program was:" >&5 | 7648 echo "configure: failed program was:" >&5 |
7648 cat conftest.$ac_ext >&5 | 7649 cat conftest.$ac_ext >&5 |
7674 if test "${with_kerberos5+set}" = set; then | 7675 if test "${with_kerberos5+set}" = set; then |
7675 for ac_hdr in krb5.h | 7676 for ac_hdr in krb5.h |
7676 do | 7677 do |
7677 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7678 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7678 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7679 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7679 echo "configure:7680: checking for $ac_hdr" >&5 | 7680 echo "configure:7681: checking for $ac_hdr" >&5 |
7680 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7681 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7681 echo $ac_n "(cached) $ac_c" 1>&6 | 7682 echo $ac_n "(cached) $ac_c" 1>&6 |
7682 else | 7683 else |
7683 cat > conftest.$ac_ext <<EOF | 7684 cat > conftest.$ac_ext <<EOF |
7684 #line 7685 "configure" | 7685 #line 7686 "configure" |
7685 #include "confdefs.h" | 7686 #include "confdefs.h" |
7686 #include <$ac_hdr> | 7687 #include <$ac_hdr> |
7687 EOF | 7688 EOF |
7688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7689 { (eval echo configure:7690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7690 { (eval echo configure:7691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7691 if test -z "$ac_err"; then | 7692 if test -z "$ac_err"; then |
7692 rm -rf conftest* | 7693 rm -rf conftest* |
7693 eval "ac_cv_header_$ac_safe=yes" | 7694 eval "ac_cv_header_$ac_safe=yes" |
7694 else | 7695 else |
7715 else | 7716 else |
7716 for ac_hdr in des.h | 7717 for ac_hdr in des.h |
7717 do | 7718 do |
7718 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7719 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7719 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7720 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7720 echo "configure:7721: checking for $ac_hdr" >&5 | 7721 echo "configure:7722: checking for $ac_hdr" >&5 |
7721 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7722 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7722 echo $ac_n "(cached) $ac_c" 1>&6 | 7723 echo $ac_n "(cached) $ac_c" 1>&6 |
7723 else | 7724 else |
7724 cat > conftest.$ac_ext <<EOF | 7725 cat > conftest.$ac_ext <<EOF |
7725 #line 7726 "configure" | 7726 #line 7727 "configure" |
7726 #include "confdefs.h" | 7727 #include "confdefs.h" |
7727 #include <$ac_hdr> | 7728 #include <$ac_hdr> |
7728 EOF | 7729 EOF |
7729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7730 { (eval echo configure:7731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7731 { (eval echo configure:7732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7731 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7732 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7732 if test -z "$ac_err"; then | 7733 if test -z "$ac_err"; then |
7733 rm -rf conftest* | 7734 rm -rf conftest* |
7734 eval "ac_cv_header_$ac_safe=yes" | 7735 eval "ac_cv_header_$ac_safe=yes" |
7735 else | 7736 else |
7752 echo "$ac_t""no" 1>&6 | 7753 echo "$ac_t""no" 1>&6 |
7753 for ac_hdr in kerberosIV/des.h | 7754 for ac_hdr in kerberosIV/des.h |
7754 do | 7755 do |
7755 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7756 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7756 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7757 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7757 echo "configure:7758: checking for $ac_hdr" >&5 | 7758 echo "configure:7759: checking for $ac_hdr" >&5 |
7758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7759 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7759 echo $ac_n "(cached) $ac_c" 1>&6 | 7760 echo $ac_n "(cached) $ac_c" 1>&6 |
7760 else | 7761 else |
7761 cat > conftest.$ac_ext <<EOF | 7762 cat > conftest.$ac_ext <<EOF |
7762 #line 7763 "configure" | 7763 #line 7764 "configure" |
7763 #include "confdefs.h" | 7764 #include "confdefs.h" |
7764 #include <$ac_hdr> | 7765 #include <$ac_hdr> |
7765 EOF | 7766 EOF |
7766 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7767 { (eval echo configure:7768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7768 { (eval echo configure:7769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7768 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7769 if test -z "$ac_err"; then | 7770 if test -z "$ac_err"; then |
7770 rm -rf conftest* | 7771 rm -rf conftest* |
7771 eval "ac_cv_header_$ac_safe=yes" | 7772 eval "ac_cv_header_$ac_safe=yes" |
7772 else | 7773 else |
7789 echo "$ac_t""no" 1>&6 | 7790 echo "$ac_t""no" 1>&6 |
7790 for ac_hdr in kerberos/des.h | 7791 for ac_hdr in kerberos/des.h |
7791 do | 7792 do |
7792 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7793 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7793 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7794 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7794 echo "configure:7795: checking for $ac_hdr" >&5 | 7795 echo "configure:7796: checking for $ac_hdr" >&5 |
7795 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7796 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7796 echo $ac_n "(cached) $ac_c" 1>&6 | 7797 echo $ac_n "(cached) $ac_c" 1>&6 |
7797 else | 7798 else |
7798 cat > conftest.$ac_ext <<EOF | 7799 cat > conftest.$ac_ext <<EOF |
7799 #line 7800 "configure" | 7800 #line 7801 "configure" |
7800 #include "confdefs.h" | 7801 #include "confdefs.h" |
7801 #include <$ac_hdr> | 7802 #include <$ac_hdr> |
7802 EOF | 7803 EOF |
7803 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7804 { (eval echo configure:7805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7805 { (eval echo configure:7806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7805 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7806 if test -z "$ac_err"; then | 7807 if test -z "$ac_err"; then |
7807 rm -rf conftest* | 7808 rm -rf conftest* |
7808 eval "ac_cv_header_$ac_safe=yes" | 7809 eval "ac_cv_header_$ac_safe=yes" |
7809 else | 7810 else |
7835 | 7836 |
7836 for ac_hdr in krb.h | 7837 for ac_hdr in krb.h |
7837 do | 7838 do |
7838 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7839 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7839 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7840 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7840 echo "configure:7841: checking for $ac_hdr" >&5 | 7841 echo "configure:7842: checking for $ac_hdr" >&5 |
7841 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7842 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7842 echo $ac_n "(cached) $ac_c" 1>&6 | 7843 echo $ac_n "(cached) $ac_c" 1>&6 |
7843 else | 7844 else |
7844 cat > conftest.$ac_ext <<EOF | 7845 cat > conftest.$ac_ext <<EOF |
7845 #line 7846 "configure" | 7846 #line 7847 "configure" |
7846 #include "confdefs.h" | 7847 #include "confdefs.h" |
7847 #include <$ac_hdr> | 7848 #include <$ac_hdr> |
7848 EOF | 7849 EOF |
7849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7850 { (eval echo configure:7851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7851 { (eval echo configure:7852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7852 if test -z "$ac_err"; then | 7853 if test -z "$ac_err"; then |
7853 rm -rf conftest* | 7854 rm -rf conftest* |
7854 eval "ac_cv_header_$ac_safe=yes" | 7855 eval "ac_cv_header_$ac_safe=yes" |
7855 else | 7856 else |
7872 echo "$ac_t""no" 1>&6 | 7873 echo "$ac_t""no" 1>&6 |
7873 for ac_hdr in kerberosIV/krb.h | 7874 for ac_hdr in kerberosIV/krb.h |
7874 do | 7875 do |
7875 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7876 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7876 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7877 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7877 echo "configure:7878: checking for $ac_hdr" >&5 | 7878 echo "configure:7879: checking for $ac_hdr" >&5 |
7878 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7879 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7879 echo $ac_n "(cached) $ac_c" 1>&6 | 7880 echo $ac_n "(cached) $ac_c" 1>&6 |
7880 else | 7881 else |
7881 cat > conftest.$ac_ext <<EOF | 7882 cat > conftest.$ac_ext <<EOF |
7882 #line 7883 "configure" | 7883 #line 7884 "configure" |
7883 #include "confdefs.h" | 7884 #include "confdefs.h" |
7884 #include <$ac_hdr> | 7885 #include <$ac_hdr> |
7885 EOF | 7886 EOF |
7886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7887 { (eval echo configure:7888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7888 { (eval echo configure:7889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7888 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7889 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7889 if test -z "$ac_err"; then | 7890 if test -z "$ac_err"; then |
7890 rm -rf conftest* | 7891 rm -rf conftest* |
7891 eval "ac_cv_header_$ac_safe=yes" | 7892 eval "ac_cv_header_$ac_safe=yes" |
7892 else | 7893 else |
7909 echo "$ac_t""no" 1>&6 | 7910 echo "$ac_t""no" 1>&6 |
7910 for ac_hdr in kerberos/krb.h | 7911 for ac_hdr in kerberos/krb.h |
7911 do | 7912 do |
7912 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7913 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7913 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7914 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7914 echo "configure:7915: checking for $ac_hdr" >&5 | 7915 echo "configure:7916: checking for $ac_hdr" >&5 |
7915 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7916 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7916 echo $ac_n "(cached) $ac_c" 1>&6 | 7917 echo $ac_n "(cached) $ac_c" 1>&6 |
7917 else | 7918 else |
7918 cat > conftest.$ac_ext <<EOF | 7919 cat > conftest.$ac_ext <<EOF |
7919 #line 7920 "configure" | 7920 #line 7921 "configure" |
7920 #include "confdefs.h" | 7921 #include "confdefs.h" |
7921 #include <$ac_hdr> | 7922 #include <$ac_hdr> |
7922 EOF | 7923 EOF |
7923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7924 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7924 { (eval echo configure:7925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7925 { (eval echo configure:7926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7926 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7926 if test -z "$ac_err"; then | 7927 if test -z "$ac_err"; then |
7927 rm -rf conftest* | 7928 rm -rf conftest* |
7928 eval "ac_cv_header_$ac_safe=yes" | 7929 eval "ac_cv_header_$ac_safe=yes" |
7929 else | 7930 else |
7956 fi | 7957 fi |
7957 for ac_hdr in com_err.h | 7958 for ac_hdr in com_err.h |
7958 do | 7959 do |
7959 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7960 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7960 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7961 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7961 echo "configure:7962: checking for $ac_hdr" >&5 | 7962 echo "configure:7963: checking for $ac_hdr" >&5 |
7962 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 7963 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7963 echo $ac_n "(cached) $ac_c" 1>&6 | 7964 echo $ac_n "(cached) $ac_c" 1>&6 |
7964 else | 7965 else |
7965 cat > conftest.$ac_ext <<EOF | 7966 cat > conftest.$ac_ext <<EOF |
7966 #line 7967 "configure" | 7967 #line 7968 "configure" |
7967 #include "confdefs.h" | 7968 #include "confdefs.h" |
7968 #include <$ac_hdr> | 7969 #include <$ac_hdr> |
7969 EOF | 7970 EOF |
7970 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7971 { (eval echo configure:7972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7972 { (eval echo configure:7973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7972 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7973 if test -z "$ac_err"; then | 7974 if test -z "$ac_err"; then |
7974 rm -rf conftest* | 7975 rm -rf conftest* |
7975 eval "ac_cv_header_$ac_safe=yes" | 7976 eval "ac_cv_header_$ac_safe=yes" |
7976 else | 7977 else |
7997 fi | 7998 fi |
7998 | 7999 |
7999 # Solaris requires -lintl if you want strerror (which calls dgettext) | 8000 # Solaris requires -lintl if you want strerror (which calls dgettext) |
8000 # to return localized messages. | 8001 # to return localized messages. |
8001 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 8002 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
8002 echo "configure:8003: checking for dgettext in -lintl" >&5 | 8003 echo "configure:8004: checking for dgettext in -lintl" >&5 |
8003 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 8004 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
8004 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 8005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
8005 echo $ac_n "(cached) $ac_c" 1>&6 | 8006 echo $ac_n "(cached) $ac_c" 1>&6 |
8006 else | 8007 else |
8007 ac_save_LIBS="$LIBS" | 8008 ac_save_LIBS="$LIBS" |
8008 LIBS="-lintl $LIBS" | 8009 LIBS="-lintl $LIBS" |
8009 cat > conftest.$ac_ext <<EOF | 8010 cat > conftest.$ac_ext <<EOF |
8010 #line 8011 "configure" | 8011 #line 8012 "configure" |
8011 #include "confdefs.h" | 8012 #include "confdefs.h" |
8012 /* Override any gcc2 internal prototype to avoid an error. */ | 8013 /* Override any gcc2 internal prototype to avoid an error. */ |
8013 /* We use char because int might match the return type of a gcc2 | 8014 /* We use char because int might match the return type of a gcc2 |
8014 builtin and then its argument prototype would still apply. */ | 8015 builtin and then its argument prototype would still apply. */ |
8015 char dgettext(); | 8016 char dgettext(); |
8016 | 8017 |
8017 int main() { | 8018 int main() { |
8018 dgettext() | 8019 dgettext() |
8019 ; return 0; } | 8020 ; return 0; } |
8020 EOF | 8021 EOF |
8021 if { (eval echo configure:8022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8022 if { (eval echo configure:8023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8022 rm -rf conftest* | 8023 rm -rf conftest* |
8023 eval "ac_cv_lib_$ac_lib_var=yes" | 8024 eval "ac_cv_lib_$ac_lib_var=yes" |
8024 else | 8025 else |
8025 echo "configure: failed program was:" >&5 | 8026 echo "configure: failed program was:" >&5 |
8026 cat conftest.$ac_ext >&5 | 8027 cat conftest.$ac_ext >&5 |
8045 echo "$ac_t""no" 1>&6 | 8046 echo "$ac_t""no" 1>&6 |
8046 fi | 8047 fi |
8047 | 8048 |
8048 | 8049 |
8049 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8050 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8050 echo "configure:8051: checking whether localtime caches TZ" >&5 | 8051 echo "configure:8052: checking whether localtime caches TZ" >&5 |
8051 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 8052 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
8052 echo $ac_n "(cached) $ac_c" 1>&6 | 8053 echo $ac_n "(cached) $ac_c" 1>&6 |
8053 else | 8054 else |
8054 if test x$ac_cv_func_tzset = xyes; then | 8055 if test x$ac_cv_func_tzset = xyes; then |
8055 if test "$cross_compiling" = yes; then | 8056 if test "$cross_compiling" = yes; then |
8056 # If we have tzset, assume the worst when cross-compiling. | 8057 # If we have tzset, assume the worst when cross-compiling. |
8057 emacs_cv_localtime_cache=yes | 8058 emacs_cv_localtime_cache=yes |
8058 else | 8059 else |
8059 cat > conftest.$ac_ext <<EOF | 8060 cat > conftest.$ac_ext <<EOF |
8060 #line 8061 "configure" | 8061 #line 8062 "configure" |
8061 #include "confdefs.h" | 8062 #include "confdefs.h" |
8062 #include <time.h> | 8063 #include <time.h> |
8063 extern char **environ; | 8064 extern char **environ; |
8064 unset_TZ () | 8065 unset_TZ () |
8065 { | 8066 { |
8087 if (localtime (&now)->tm_hour != hour_unset) | 8088 if (localtime (&now)->tm_hour != hour_unset) |
8088 exit (1); | 8089 exit (1); |
8089 exit (0); | 8090 exit (0); |
8090 } | 8091 } |
8091 EOF | 8092 EOF |
8092 if { (eval echo configure:8093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8093 if { (eval echo configure:8094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8093 then | 8094 then |
8094 emacs_cv_localtime_cache=no | 8095 emacs_cv_localtime_cache=no |
8095 else | 8096 else |
8096 echo "configure: failed program was:" >&5 | 8097 echo "configure: failed program was:" >&5 |
8097 cat conftest.$ac_ext >&5 | 8098 cat conftest.$ac_ext >&5 |
8117 | 8118 |
8118 if test "x$HAVE_TIMEVAL" = xyes; then | 8119 if test "x$HAVE_TIMEVAL" = xyes; then |
8119 for ac_func in gettimeofday | 8120 for ac_func in gettimeofday |
8120 do | 8121 do |
8121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8122 echo "configure:8123: checking for $ac_func" >&5 | 8123 echo "configure:8124: checking for $ac_func" >&5 |
8123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 8124 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
8124 echo $ac_n "(cached) $ac_c" 1>&6 | 8125 echo $ac_n "(cached) $ac_c" 1>&6 |
8125 else | 8126 else |
8126 cat > conftest.$ac_ext <<EOF | 8127 cat > conftest.$ac_ext <<EOF |
8127 #line 8128 "configure" | 8128 #line 8129 "configure" |
8128 #include "confdefs.h" | 8129 #include "confdefs.h" |
8129 /* System header to define __stub macros and hopefully few prototypes, | 8130 /* System header to define __stub macros and hopefully few prototypes, |
8130 which can conflict with char $ac_func(); below. */ | 8131 which can conflict with char $ac_func(); below. */ |
8131 #include <assert.h> | 8132 #include <assert.h> |
8132 /* Override any gcc2 internal prototype to avoid an error. */ | 8133 /* Override any gcc2 internal prototype to avoid an error. */ |
8145 $ac_func(); | 8146 $ac_func(); |
8146 #endif | 8147 #endif |
8147 | 8148 |
8148 ; return 0; } | 8149 ; return 0; } |
8149 EOF | 8150 EOF |
8150 if { (eval echo configure:8151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8151 if { (eval echo configure:8152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8151 rm -rf conftest* | 8152 rm -rf conftest* |
8152 eval "ac_cv_func_$ac_func=yes" | 8153 eval "ac_cv_func_$ac_func=yes" |
8153 else | 8154 else |
8154 echo "configure: failed program was:" >&5 | 8155 echo "configure: failed program was:" >&5 |
8155 cat conftest.$ac_ext >&5 | 8156 cat conftest.$ac_ext >&5 |
8170 echo "$ac_t""no" 1>&6 | 8171 echo "$ac_t""no" 1>&6 |
8171 fi | 8172 fi |
8172 done | 8173 done |
8173 | 8174 |
8174 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 8175 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
8175 echo "configure:8176: checking whether gettimeofday can accept two arguments" >&5 | 8176 echo "configure:8177: checking whether gettimeofday can accept two arguments" >&5 |
8176 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 8177 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
8177 echo $ac_n "(cached) $ac_c" 1>&6 | 8178 echo $ac_n "(cached) $ac_c" 1>&6 |
8178 else | 8179 else |
8179 cat > conftest.$ac_ext <<EOF | 8180 cat > conftest.$ac_ext <<EOF |
8180 #line 8181 "configure" | 8181 #line 8182 "configure" |
8181 #include "confdefs.h" | 8182 #include "confdefs.h" |
8182 | 8183 |
8183 #ifdef TIME_WITH_SYS_TIME | 8184 #ifdef TIME_WITH_SYS_TIME |
8184 #include <sys/time.h> | 8185 #include <sys/time.h> |
8185 #include <time.h> | 8186 #include <time.h> |
8193 int main() { | 8194 int main() { |
8194 struct timeval time; | 8195 struct timeval time; |
8195 gettimeofday (&time, 0); | 8196 gettimeofday (&time, 0); |
8196 ; return 0; } | 8197 ; return 0; } |
8197 EOF | 8198 EOF |
8198 if { (eval echo configure:8199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8199 if { (eval echo configure:8200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8199 rm -rf conftest* | 8200 rm -rf conftest* |
8200 emacs_cv_gettimeofday_two_arguments=yes | 8201 emacs_cv_gettimeofday_two_arguments=yes |
8201 else | 8202 else |
8202 echo "configure: failed program was:" >&5 | 8203 echo "configure: failed program was:" >&5 |
8203 cat conftest.$ac_ext >&5 | 8204 cat conftest.$ac_ext >&5 |
8216 fi | 8217 fi |
8217 fi | 8218 fi |
8218 | 8219 |
8219 if test "$ac_cv_func_gettimeofday" = yes; then | 8220 if test "$ac_cv_func_gettimeofday" = yes; then |
8220 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 | 8221 echo $ac_n "checking for struct timezone""... $ac_c" 1>&6 |
8221 echo "configure:8222: checking for struct timezone" >&5 | 8222 echo "configure:8223: checking for struct timezone" >&5 |
8222 if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then | 8223 if eval "test \"`echo '$''{'emacs_cv_struct_timezone'+set}'`\" = set"; then |
8223 echo $ac_n "(cached) $ac_c" 1>&6 | 8224 echo $ac_n "(cached) $ac_c" 1>&6 |
8224 else | 8225 else |
8225 cat > conftest.$ac_ext <<EOF | 8226 cat > conftest.$ac_ext <<EOF |
8226 #line 8227 "configure" | 8227 #line 8228 "configure" |
8227 #include "confdefs.h" | 8228 #include "confdefs.h" |
8228 #include <sys/time.h> | 8229 #include <sys/time.h> |
8229 int main() { | 8230 int main() { |
8230 struct timezone tz; | 8231 struct timezone tz; |
8231 ; return 0; } | 8232 ; return 0; } |
8232 EOF | 8233 EOF |
8233 if { (eval echo configure:8234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8234 if { (eval echo configure:8235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8234 rm -rf conftest* | 8235 rm -rf conftest* |
8235 if test "$cross_compiling" = yes; then | 8236 if test "$cross_compiling" = yes; then |
8236 emacs_cv_struct_timezone=yes | 8237 emacs_cv_struct_timezone=yes |
8237 else | 8238 else |
8238 cat > conftest.$ac_ext <<EOF | 8239 cat > conftest.$ac_ext <<EOF |
8239 #line 8240 "configure" | 8240 #line 8241 "configure" |
8240 #include "confdefs.h" | 8241 #include "confdefs.h" |
8241 | 8242 |
8242 #ifdef TIME_WITH_SYS_TIME | 8243 #ifdef TIME_WITH_SYS_TIME |
8243 #include <sys/time.h> | 8244 #include <sys/time.h> |
8244 #include <time.h> | 8245 #include <time.h> |
8253 struct timeval time; | 8254 struct timeval time; |
8254 struct timezone dummy; | 8255 struct timezone dummy; |
8255 exit (gettimeofday (&time, &dummy)); | 8256 exit (gettimeofday (&time, &dummy)); |
8256 } | 8257 } |
8257 EOF | 8258 EOF |
8258 if { (eval echo configure:8259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8259 if { (eval echo configure:8260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8259 then | 8260 then |
8260 emacs_cv_struct_timezone=yes | 8261 emacs_cv_struct_timezone=yes |
8261 else | 8262 else |
8262 echo "configure: failed program was:" >&5 | 8263 echo "configure: failed program was:" >&5 |
8263 cat conftest.$ac_ext >&5 | 8264 cat conftest.$ac_ext >&5 |
8279 echo "$ac_t""$emacs_cv_struct_timezone" 1>&6 | 8280 echo "$ac_t""$emacs_cv_struct_timezone" 1>&6 |
8280 fi | 8281 fi |
8281 | 8282 |
8282 ok_so_far=yes | 8283 ok_so_far=yes |
8283 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8284 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8284 echo "configure:8285: checking for socket" >&5 | 8285 echo "configure:8286: checking for socket" >&5 |
8285 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 8286 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
8286 echo $ac_n "(cached) $ac_c" 1>&6 | 8287 echo $ac_n "(cached) $ac_c" 1>&6 |
8287 else | 8288 else |
8288 cat > conftest.$ac_ext <<EOF | 8289 cat > conftest.$ac_ext <<EOF |
8289 #line 8290 "configure" | 8290 #line 8291 "configure" |
8290 #include "confdefs.h" | 8291 #include "confdefs.h" |
8291 /* System header to define __stub macros and hopefully few prototypes, | 8292 /* System header to define __stub macros and hopefully few prototypes, |
8292 which can conflict with char socket(); below. */ | 8293 which can conflict with char socket(); below. */ |
8293 #include <assert.h> | 8294 #include <assert.h> |
8294 /* Override any gcc2 internal prototype to avoid an error. */ | 8295 /* Override any gcc2 internal prototype to avoid an error. */ |
8307 socket(); | 8308 socket(); |
8308 #endif | 8309 #endif |
8309 | 8310 |
8310 ; return 0; } | 8311 ; return 0; } |
8311 EOF | 8312 EOF |
8312 if { (eval echo configure:8313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8313 if { (eval echo configure:8314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8313 rm -rf conftest* | 8314 rm -rf conftest* |
8314 eval "ac_cv_func_socket=yes" | 8315 eval "ac_cv_func_socket=yes" |
8315 else | 8316 else |
8316 echo "configure: failed program was:" >&5 | 8317 echo "configure: failed program was:" >&5 |
8317 cat conftest.$ac_ext >&5 | 8318 cat conftest.$ac_ext >&5 |
8330 fi | 8331 fi |
8331 | 8332 |
8332 if test $ok_so_far = yes; then | 8333 if test $ok_so_far = yes; then |
8333 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8334 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8334 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8335 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8335 echo "configure:8336: checking for netinet/in.h" >&5 | 8336 echo "configure:8337: checking for netinet/in.h" >&5 |
8336 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8337 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8337 echo $ac_n "(cached) $ac_c" 1>&6 | 8338 echo $ac_n "(cached) $ac_c" 1>&6 |
8338 else | 8339 else |
8339 cat > conftest.$ac_ext <<EOF | 8340 cat > conftest.$ac_ext <<EOF |
8340 #line 8341 "configure" | 8341 #line 8342 "configure" |
8341 #include "confdefs.h" | 8342 #include "confdefs.h" |
8342 #include <netinet/in.h> | 8343 #include <netinet/in.h> |
8343 EOF | 8344 EOF |
8344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8345 { (eval echo configure:8346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8346 { (eval echo configure:8347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8347 if test -z "$ac_err"; then | 8348 if test -z "$ac_err"; then |
8348 rm -rf conftest* | 8349 rm -rf conftest* |
8349 eval "ac_cv_header_$ac_safe=yes" | 8350 eval "ac_cv_header_$ac_safe=yes" |
8350 else | 8351 else |
8366 | 8367 |
8367 fi | 8368 fi |
8368 if test $ok_so_far = yes; then | 8369 if test $ok_so_far = yes; then |
8369 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8370 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8370 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8371 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8371 echo "configure:8372: checking for arpa/inet.h" >&5 | 8372 echo "configure:8373: checking for arpa/inet.h" >&5 |
8372 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8373 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8373 echo $ac_n "(cached) $ac_c" 1>&6 | 8374 echo $ac_n "(cached) $ac_c" 1>&6 |
8374 else | 8375 else |
8375 cat > conftest.$ac_ext <<EOF | 8376 cat > conftest.$ac_ext <<EOF |
8376 #line 8377 "configure" | 8377 #line 8378 "configure" |
8377 #include "confdefs.h" | 8378 #include "confdefs.h" |
8378 #include <arpa/inet.h> | 8379 #include <arpa/inet.h> |
8379 EOF | 8380 EOF |
8380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8381 { (eval echo configure:8382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8382 { (eval echo configure:8383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8383 if test -z "$ac_err"; then | 8384 if test -z "$ac_err"; then |
8384 rm -rf conftest* | 8385 rm -rf conftest* |
8385 eval "ac_cv_header_$ac_safe=yes" | 8386 eval "ac_cv_header_$ac_safe=yes" |
8386 else | 8387 else |
8414 EOF | 8415 EOF |
8415 | 8416 |
8416 fi | 8417 fi |
8417 | 8418 |
8418 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 8419 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
8419 echo "configure:8420: checking whether system supports dynamic ptys" >&5 | 8420 echo "configure:8421: checking whether system supports dynamic ptys" >&5 |
8420 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 8421 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
8421 echo "$ac_t""yes" 1>&6 | 8422 echo "$ac_t""yes" 1>&6 |
8422 cat >> confdefs.h <<\EOF | 8423 cat >> confdefs.h <<\EOF |
8423 #define HAVE_DEV_PTMX 1 | 8424 #define HAVE_DEV_PTMX 1 |
8424 EOF | 8425 EOF |
8426 else | 8427 else |
8427 echo "$ac_t""no" 1>&6 | 8428 echo "$ac_t""no" 1>&6 |
8428 fi | 8429 fi |
8429 | 8430 |
8430 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 8431 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
8431 echo "configure:8432: checking for pid_t" >&5 | 8432 echo "configure:8433: checking for pid_t" >&5 |
8432 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 8433 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
8433 echo $ac_n "(cached) $ac_c" 1>&6 | 8434 echo $ac_n "(cached) $ac_c" 1>&6 |
8434 else | 8435 else |
8435 cat > conftest.$ac_ext <<EOF | 8436 cat > conftest.$ac_ext <<EOF |
8436 #line 8437 "configure" | 8437 #line 8438 "configure" |
8437 #include "confdefs.h" | 8438 #include "confdefs.h" |
8438 #include <sys/types.h> | 8439 #include <sys/types.h> |
8439 #if STDC_HEADERS | 8440 #if STDC_HEADERS |
8440 #include <stdlib.h> | 8441 #include <stdlib.h> |
8441 #include <stddef.h> | 8442 #include <stddef.h> |
8460 | 8461 |
8461 fi | 8462 fi |
8462 | 8463 |
8463 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8464 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8464 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8465 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8465 echo "configure:8466: checking for vfork.h" >&5 | 8466 echo "configure:8467: checking for vfork.h" >&5 |
8466 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8467 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8467 echo $ac_n "(cached) $ac_c" 1>&6 | 8468 echo $ac_n "(cached) $ac_c" 1>&6 |
8468 else | 8469 else |
8469 cat > conftest.$ac_ext <<EOF | 8470 cat > conftest.$ac_ext <<EOF |
8470 #line 8471 "configure" | 8471 #line 8472 "configure" |
8471 #include "confdefs.h" | 8472 #include "confdefs.h" |
8472 #include <vfork.h> | 8473 #include <vfork.h> |
8473 EOF | 8474 EOF |
8474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8475 { (eval echo configure:8476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8476 { (eval echo configure:8477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8476 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8477 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8477 if test -z "$ac_err"; then | 8478 if test -z "$ac_err"; then |
8478 rm -rf conftest* | 8479 rm -rf conftest* |
8479 eval "ac_cv_header_$ac_safe=yes" | 8480 eval "ac_cv_header_$ac_safe=yes" |
8480 else | 8481 else |
8495 else | 8496 else |
8496 echo "$ac_t""no" 1>&6 | 8497 echo "$ac_t""no" 1>&6 |
8497 fi | 8498 fi |
8498 | 8499 |
8499 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8500 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8500 echo "configure:8501: checking for working vfork" >&5 | 8501 echo "configure:8502: checking for working vfork" >&5 |
8501 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 8502 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
8502 echo $ac_n "(cached) $ac_c" 1>&6 | 8503 echo $ac_n "(cached) $ac_c" 1>&6 |
8503 else | 8504 else |
8504 if test "$cross_compiling" = yes; then | 8505 if test "$cross_compiling" = yes; then |
8505 echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 8506 echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
8506 echo "configure:8507: checking for vfork" >&5 | 8507 echo "configure:8508: checking for vfork" >&5 |
8507 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 8508 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
8508 echo $ac_n "(cached) $ac_c" 1>&6 | 8509 echo $ac_n "(cached) $ac_c" 1>&6 |
8509 else | 8510 else |
8510 cat > conftest.$ac_ext <<EOF | 8511 cat > conftest.$ac_ext <<EOF |
8511 #line 8512 "configure" | 8512 #line 8513 "configure" |
8512 #include "confdefs.h" | 8513 #include "confdefs.h" |
8513 /* System header to define __stub macros and hopefully few prototypes, | 8514 /* System header to define __stub macros and hopefully few prototypes, |
8514 which can conflict with char vfork(); below. */ | 8515 which can conflict with char vfork(); below. */ |
8515 #include <assert.h> | 8516 #include <assert.h> |
8516 /* Override any gcc2 internal prototype to avoid an error. */ | 8517 /* Override any gcc2 internal prototype to avoid an error. */ |
8529 vfork(); | 8530 vfork(); |
8530 #endif | 8531 #endif |
8531 | 8532 |
8532 ; return 0; } | 8533 ; return 0; } |
8533 EOF | 8534 EOF |
8534 if { (eval echo configure:8535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8535 if { (eval echo configure:8536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8535 rm -rf conftest* | 8536 rm -rf conftest* |
8536 eval "ac_cv_func_vfork=yes" | 8537 eval "ac_cv_func_vfork=yes" |
8537 else | 8538 else |
8538 echo "configure: failed program was:" >&5 | 8539 echo "configure: failed program was:" >&5 |
8539 cat conftest.$ac_ext >&5 | 8540 cat conftest.$ac_ext >&5 |
8551 fi | 8552 fi |
8552 | 8553 |
8553 ac_cv_func_vfork_works=$ac_cv_func_vfork | 8554 ac_cv_func_vfork_works=$ac_cv_func_vfork |
8554 else | 8555 else |
8555 cat > conftest.$ac_ext <<EOF | 8556 cat > conftest.$ac_ext <<EOF |
8556 #line 8557 "configure" | 8557 #line 8558 "configure" |
8557 #include "confdefs.h" | 8558 #include "confdefs.h" |
8558 /* Thanks to Paul Eggert for this test. */ | 8559 /* Thanks to Paul Eggert for this test. */ |
8559 #include <stdio.h> | 8560 #include <stdio.h> |
8560 #include <sys/types.h> | 8561 #include <sys/types.h> |
8561 #include <sys/stat.h> | 8562 #include <sys/stat.h> |
8646 || fstat(fileno(stdout), &st) != 0 | 8647 || fstat(fileno(stdout), &st) != 0 |
8647 ); | 8648 ); |
8648 } | 8649 } |
8649 } | 8650 } |
8650 EOF | 8651 EOF |
8651 if { (eval echo configure:8652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8652 if { (eval echo configure:8653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8652 then | 8653 then |
8653 ac_cv_func_vfork_works=yes | 8654 ac_cv_func_vfork_works=yes |
8654 else | 8655 else |
8655 echo "configure: failed program was:" >&5 | 8656 echo "configure: failed program was:" >&5 |
8656 cat conftest.$ac_ext >&5 | 8657 cat conftest.$ac_ext >&5 |
8671 fi | 8672 fi |
8672 | 8673 |
8673 | 8674 |
8674 # Fixme: This should be replaced when we have autoconf 2.14. | 8675 # Fixme: This should be replaced when we have autoconf 2.14. |
8675 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 8676 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
8676 echo "configure:8677: checking for size_t" >&5 | 8677 echo "configure:8678: checking for size_t" >&5 |
8677 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 8678 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
8678 echo $ac_n "(cached) $ac_c" 1>&6 | 8679 echo $ac_n "(cached) $ac_c" 1>&6 |
8679 else | 8680 else |
8680 cat > conftest.$ac_ext <<EOF | 8681 cat > conftest.$ac_ext <<EOF |
8681 #line 8682 "configure" | 8682 #line 8683 "configure" |
8682 #include "confdefs.h" | 8683 #include "confdefs.h" |
8683 #include <sys/types.h> | 8684 #include <sys/types.h> |
8684 #if STDC_HEADERS | 8685 #if STDC_HEADERS |
8685 #include <stdlib.h> | 8686 #include <stdlib.h> |
8686 #include <stddef.h> | 8687 #include <stddef.h> |
8870 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile | 8871 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile |
8871 ## from Makefile.c can correctly provide the arg `-traditional' to the | 8872 ## from Makefile.c can correctly provide the arg `-traditional' to the |
8872 ## C preprocessor. | 8873 ## C preprocessor. |
8873 | 8874 |
8874 cat > conftest.$ac_ext <<EOF | 8875 cat > conftest.$ac_ext <<EOF |
8875 #line 8876 "configure" | 8876 #line 8877 "configure" |
8876 #include "confdefs.h" | 8877 #include "confdefs.h" |
8877 yes..yes | 8878 yes..yes |
8878 EOF | 8879 EOF |
8879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 8880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
8880 egrep "yes..yes" >/dev/null 2>&1; then | 8881 egrep "yes..yes" >/dev/null 2>&1; then |