comparison configure @ 47560:ca6ea93e02f2

Regenerated.
author Richard M. Stallman <rms@gnu.org>
date Fri, 20 Sep 2002 13:07:44 +0000
parents aaa302e0c7ae
children abfcf5ec4ad2
comparison
equal deleted inserted replaced
47559:894ad3892c16 47560:ca6ea93e02f2
6206 HAVE_XFREE386=no 6206 HAVE_XFREE386=no
6207 fi 6207 fi
6208 echo "$as_me:6208: result: $HAVE_XFREE386" >&5 6208 echo "$as_me:6208: result: $HAVE_XFREE386" >&5
6209 echo "${ECHO_T}$HAVE_XFREE386" >&6 6209 echo "${ECHO_T}$HAVE_XFREE386" >&6
6210 6210
6211 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used 6211 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
6212 # for the tests that follow. We set it back to REAL_CFLAGS later on. 6212 # used for the tests that follow. We set them back to REAL_CFLAGS and
6213 # REAL_CPPFLAGS later on.
6213 6214
6214 REAL_CPPFLAGS="$CPPFLAGS" 6215 REAL_CPPFLAGS="$CPPFLAGS"
6215 6216
6216 if test "${HAVE_X11}" = "yes"; then 6217 if test "${HAVE_X11}" = "yes"; then
6217 DEFS="$C_SWITCH_X_SITE $DEFS" 6218 DEFS="$C_SWITCH_X_SITE $DEFS"
6228 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH 6229 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
6229 export LD_RUN_PATH 6230 export LD_RUN_PATH
6230 fi 6231 fi
6231 6232
6232 if test "${opsys}" = "gnu-linux"; then 6233 if test "${opsys}" = "gnu-linux"; then
6233 echo "$as_me:6233: checking whether X on GNU/Linux needs -b to link" >&5 6234 echo "$as_me:6234: checking whether X on GNU/Linux needs -b to link" >&5
6234 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 6235 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6235 cat >conftest.$ac_ext <<_ACEOF 6236 cat >conftest.$ac_ext <<_ACEOF
6236 #line 6236 "configure" 6237 #line 6237 "configure"
6237 #include "confdefs.h" 6238 #include "confdefs.h"
6238 6239
6239 int 6240 int
6240 main () 6241 main ()
6241 { 6242 {
6243 ; 6244 ;
6244 return 0; 6245 return 0;
6245 } 6246 }
6246 _ACEOF 6247 _ACEOF
6247 rm -f conftest.$ac_objext conftest$ac_exeext 6248 rm -f conftest.$ac_objext conftest$ac_exeext
6248 if { (eval echo "$as_me:6248: \"$ac_link\"") >&5 6249 if { (eval echo "$as_me:6249: \"$ac_link\"") >&5
6249 (eval $ac_link) 2>&5 6250 (eval $ac_link) 2>&5
6250 ac_status=$? 6251 ac_status=$?
6251 echo "$as_me:6251: \$? = $ac_status" >&5 6252 echo "$as_me:6252: \$? = $ac_status" >&5
6252 (exit $ac_status); } && 6253 (exit $ac_status); } &&
6253 { ac_try='test -s conftest$ac_exeext' 6254 { ac_try='test -s conftest$ac_exeext'
6254 { (eval echo "$as_me:6254: \"$ac_try\"") >&5 6255 { (eval echo "$as_me:6255: \"$ac_try\"") >&5
6255 (eval $ac_try) 2>&5 6256 (eval $ac_try) 2>&5
6256 ac_status=$? 6257 ac_status=$?
6257 echo "$as_me:6257: \$? = $ac_status" >&5 6258 echo "$as_me:6258: \$? = $ac_status" >&5
6258 (exit $ac_status); }; }; then 6259 (exit $ac_status); }; }; then
6259 xlinux_first_failure=no 6260 xlinux_first_failure=no
6260 else 6261 else
6261 echo "$as_me: failed program was:" >&5 6262 echo "$as_me: failed program was:" >&5
6262 cat conftest.$ac_ext >&5 6263 cat conftest.$ac_ext >&5
6271 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" 6272 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
6272 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" 6273 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
6273 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" 6274 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6274 LIBS="$LIBS -b i486-linuxaout" 6275 LIBS="$LIBS -b i486-linuxaout"
6275 cat >conftest.$ac_ext <<_ACEOF 6276 cat >conftest.$ac_ext <<_ACEOF
6276 #line 6276 "configure" 6277 #line 6277 "configure"
6277 #include "confdefs.h" 6278 #include "confdefs.h"
6278 6279
6279 int 6280 int
6280 main () 6281 main ()
6281 { 6282 {
6283 ; 6284 ;
6284 return 0; 6285 return 0;
6285 } 6286 }
6286 _ACEOF 6287 _ACEOF
6287 rm -f conftest.$ac_objext conftest$ac_exeext 6288 rm -f conftest.$ac_objext conftest$ac_exeext
6288 if { (eval echo "$as_me:6288: \"$ac_link\"") >&5 6289 if { (eval echo "$as_me:6289: \"$ac_link\"") >&5
6289 (eval $ac_link) 2>&5 6290 (eval $ac_link) 2>&5
6290 ac_status=$? 6291 ac_status=$?
6291 echo "$as_me:6291: \$? = $ac_status" >&5 6292 echo "$as_me:6292: \$? = $ac_status" >&5
6292 (exit $ac_status); } && 6293 (exit $ac_status); } &&
6293 { ac_try='test -s conftest$ac_exeext' 6294 { ac_try='test -s conftest$ac_exeext'
6294 { (eval echo "$as_me:6294: \"$ac_try\"") >&5 6295 { (eval echo "$as_me:6295: \"$ac_try\"") >&5
6295 (eval $ac_try) 2>&5 6296 (eval $ac_try) 2>&5
6296 ac_status=$? 6297 ac_status=$?
6297 echo "$as_me:6297: \$? = $ac_status" >&5 6298 echo "$as_me:6298: \$? = $ac_status" >&5
6298 (exit $ac_status); }; }; then 6299 (exit $ac_status); }; }; then
6299 xlinux_second_failure=no 6300 xlinux_second_failure=no
6300 else 6301 else
6301 echo "$as_me: failed program was:" >&5 6302 echo "$as_me: failed program was:" >&5
6302 cat conftest.$ac_ext >&5 6303 cat conftest.$ac_ext >&5
6308 # So take it out. This plays safe. 6309 # So take it out. This plays safe.
6309 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" 6310 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
6310 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" 6311 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6311 CPPFLAGS="$OLD_CPPFLAGS" 6312 CPPFLAGS="$OLD_CPPFLAGS"
6312 LIBS="$OLD_LIBS" 6313 LIBS="$OLD_LIBS"
6313 echo "$as_me:6313: result: no" >&5 6314 echo "$as_me:6314: result: no" >&5
6314 echo "${ECHO_T}no" >&6 6315 echo "${ECHO_T}no" >&6
6315 else 6316 else
6316 echo "$as_me:6316: result: yes" >&5 6317 echo "$as_me:6317: result: yes" >&5
6317 echo "${ECHO_T}yes" >&6 6318 echo "${ECHO_T}yes" >&6
6318 fi 6319 fi
6319 else 6320 else
6320 echo "$as_me:6320: result: no" >&5 6321 echo "$as_me:6321: result: no" >&5
6321 echo "${ECHO_T}no" >&6 6322 echo "${ECHO_T}no" >&6
6322 fi 6323 fi
6323 fi 6324 fi
6324 6325
6325 # Reportedly, some broken Solaris systems have XKBlib.h but are missing 6326 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6326 # header files included from there. 6327 # header files included from there.
6327 echo "$as_me:6327: checking for Xkb" >&5 6328 echo "$as_me:6328: checking for Xkb" >&5
6328 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 6329 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6329 cat >conftest.$ac_ext <<_ACEOF 6330 cat >conftest.$ac_ext <<_ACEOF
6330 #line 6330 "configure" 6331 #line 6331 "configure"
6331 #include "confdefs.h" 6332 #include "confdefs.h"
6332 #include <X11/Xlib.h> 6333 #include <X11/Xlib.h>
6333 #include <X11/XKBlib.h> 6334 #include <X11/XKBlib.h>
6334 int 6335 int
6335 main () 6336 main ()
6338 ; 6339 ;
6339 return 0; 6340 return 0;
6340 } 6341 }
6341 _ACEOF 6342 _ACEOF
6342 rm -f conftest.$ac_objext conftest$ac_exeext 6343 rm -f conftest.$ac_objext conftest$ac_exeext
6343 if { (eval echo "$as_me:6343: \"$ac_link\"") >&5 6344 if { (eval echo "$as_me:6344: \"$ac_link\"") >&5
6344 (eval $ac_link) 2>&5 6345 (eval $ac_link) 2>&5
6345 ac_status=$? 6346 ac_status=$?
6346 echo "$as_me:6346: \$? = $ac_status" >&5 6347 echo "$as_me:6347: \$? = $ac_status" >&5
6347 (exit $ac_status); } && 6348 (exit $ac_status); } &&
6348 { ac_try='test -s conftest$ac_exeext' 6349 { ac_try='test -s conftest$ac_exeext'
6349 { (eval echo "$as_me:6349: \"$ac_try\"") >&5 6350 { (eval echo "$as_me:6350: \"$ac_try\"") >&5
6350 (eval $ac_try) 2>&5 6351 (eval $ac_try) 2>&5
6351 ac_status=$? 6352 ac_status=$?
6352 echo "$as_me:6352: \$? = $ac_status" >&5 6353 echo "$as_me:6353: \$? = $ac_status" >&5
6353 (exit $ac_status); }; }; then 6354 (exit $ac_status); }; }; then
6354 emacs_xkb=yes 6355 emacs_xkb=yes
6355 else 6356 else
6356 echo "$as_me: failed program was:" >&5 6357 echo "$as_me: failed program was:" >&5
6357 cat conftest.$ac_ext >&5 6358 cat conftest.$ac_ext >&5
6358 emacs_xkb=no 6359 emacs_xkb=no
6359 fi 6360 fi
6360 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6361 echo "$as_me:6361: result: $emacs_xkb" >&5 6362 echo "$as_me:6362: result: $emacs_xkb" >&5
6362 echo "${ECHO_T}$emacs_xkb" >&6 6363 echo "${ECHO_T}$emacs_xkb" >&6
6363 if test $emacs_xkb = yes; then 6364 if test $emacs_xkb = yes; then
6364 6365
6365 cat >>confdefs.h <<\EOF 6366 cat >>confdefs.h <<\EOF
6366 #define HAVE_XKBGETKEYBOARD 1 6367 #define HAVE_XKBGETKEYBOARD 1
6370 6371
6371 for ac_func in XrmSetDatabase XScreenResourceString \ 6372 for ac_func in XrmSetDatabase XScreenResourceString \
6372 XScreenNumberOfScreen XSetWMProtocols 6373 XScreenNumberOfScreen XSetWMProtocols
6373 do 6374 do
6374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6375 echo "$as_me:6375: checking for $ac_func" >&5 6376 echo "$as_me:6376: checking for $ac_func" >&5
6376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6377 if eval "test \"\${$as_ac_var+set}\" = set"; then 6378 if eval "test \"\${$as_ac_var+set}\" = set"; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6 6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 else 6380 else
6380 cat >conftest.$ac_ext <<_ACEOF 6381 cat >conftest.$ac_ext <<_ACEOF
6381 #line 6381 "configure" 6382 #line 6382 "configure"
6382 #include "confdefs.h" 6383 #include "confdefs.h"
6383 /* System header to define __stub macros and hopefully few prototypes, 6384 /* System header to define __stub macros and hopefully few prototypes,
6384 which can conflict with char $ac_func (); below. */ 6385 which can conflict with char $ac_func (); below. */
6385 #include <assert.h> 6386 #include <assert.h>
6386 /* Override any gcc2 internal prototype to avoid an error. */ 6387 /* Override any gcc2 internal prototype to avoid an error. */
6407 ; 6408 ;
6408 return 0; 6409 return 0;
6409 } 6410 }
6410 _ACEOF 6411 _ACEOF
6411 rm -f conftest.$ac_objext conftest$ac_exeext 6412 rm -f conftest.$ac_objext conftest$ac_exeext
6412 if { (eval echo "$as_me:6412: \"$ac_link\"") >&5 6413 if { (eval echo "$as_me:6413: \"$ac_link\"") >&5
6413 (eval $ac_link) 2>&5 6414 (eval $ac_link) 2>&5
6414 ac_status=$? 6415 ac_status=$?
6415 echo "$as_me:6415: \$? = $ac_status" >&5 6416 echo "$as_me:6416: \$? = $ac_status" >&5
6416 (exit $ac_status); } && 6417 (exit $ac_status); } &&
6417 { ac_try='test -s conftest$ac_exeext' 6418 { ac_try='test -s conftest$ac_exeext'
6418 { (eval echo "$as_me:6418: \"$ac_try\"") >&5 6419 { (eval echo "$as_me:6419: \"$ac_try\"") >&5
6419 (eval $ac_try) 2>&5 6420 (eval $ac_try) 2>&5
6420 ac_status=$? 6421 ac_status=$?
6421 echo "$as_me:6421: \$? = $ac_status" >&5 6422 echo "$as_me:6422: \$? = $ac_status" >&5
6422 (exit $ac_status); }; }; then 6423 (exit $ac_status); }; }; then
6423 eval "$as_ac_var=yes" 6424 eval "$as_ac_var=yes"
6424 else 6425 else
6425 echo "$as_me: failed program was:" >&5 6426 echo "$as_me: failed program was:" >&5
6426 cat conftest.$ac_ext >&5 6427 cat conftest.$ac_ext >&5
6427 eval "$as_ac_var=no" 6428 eval "$as_ac_var=no"
6428 fi 6429 fi
6429 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6430 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6430 fi 6431 fi
6431 echo "$as_me:6431: result: `eval echo '${'$as_ac_var'}'`" >&5 6432 echo "$as_me:6432: result: `eval echo '${'$as_ac_var'}'`" >&5
6432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6433 if test `eval echo '${'$as_ac_var'}'` = yes; then 6434 if test `eval echo '${'$as_ac_var'}'` = yes; then
6434 cat >>confdefs.h <<EOF 6435 cat >>confdefs.h <<EOF
6435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6436 EOF 6437 EOF
6439 done 6440 done
6440 6441
6441 fi 6442 fi
6442 6443
6443 if test "${window_system}" = "x11"; then 6444 if test "${window_system}" = "x11"; then
6444 echo "$as_me:6444: checking X11 version 6" >&5 6445 echo "$as_me:6445: checking X11 version 6" >&5
6445 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 6446 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6446 if test "${emacs_cv_x11_version_6+set}" = set; then 6447 if test "${emacs_cv_x11_version_6+set}" = set; then
6447 echo $ECHO_N "(cached) $ECHO_C" >&6 6448 echo $ECHO_N "(cached) $ECHO_C" >&6
6448 else 6449 else
6449 cat >conftest.$ac_ext <<_ACEOF 6450 cat >conftest.$ac_ext <<_ACEOF
6450 #line 6450 "configure" 6451 #line 6451 "configure"
6451 #include "confdefs.h" 6452 #include "confdefs.h"
6452 #include <X11/Xlib.h> 6453 #include <X11/Xlib.h>
6453 int 6454 int
6454 main () 6455 main ()
6455 { 6456 {
6460 ; 6461 ;
6461 return 0; 6462 return 0;
6462 } 6463 }
6463 _ACEOF 6464 _ACEOF
6464 rm -f conftest.$ac_objext conftest$ac_exeext 6465 rm -f conftest.$ac_objext conftest$ac_exeext
6465 if { (eval echo "$as_me:6465: \"$ac_link\"") >&5 6466 if { (eval echo "$as_me:6466: \"$ac_link\"") >&5
6466 (eval $ac_link) 2>&5 6467 (eval $ac_link) 2>&5
6467 ac_status=$? 6468 ac_status=$?
6468 echo "$as_me:6468: \$? = $ac_status" >&5 6469 echo "$as_me:6469: \$? = $ac_status" >&5
6469 (exit $ac_status); } && 6470 (exit $ac_status); } &&
6470 { ac_try='test -s conftest$ac_exeext' 6471 { ac_try='test -s conftest$ac_exeext'
6471 { (eval echo "$as_me:6471: \"$ac_try\"") >&5 6472 { (eval echo "$as_me:6472: \"$ac_try\"") >&5
6472 (eval $ac_try) 2>&5 6473 (eval $ac_try) 2>&5
6473 ac_status=$? 6474 ac_status=$?
6474 echo "$as_me:6474: \$? = $ac_status" >&5 6475 echo "$as_me:6475: \$? = $ac_status" >&5
6475 (exit $ac_status); }; }; then 6476 (exit $ac_status); }; }; then
6476 emacs_cv_x11_version_6=yes 6477 emacs_cv_x11_version_6=yes
6477 else 6478 else
6478 echo "$as_me: failed program was:" >&5 6479 echo "$as_me: failed program was:" >&5
6479 cat conftest.$ac_ext >&5 6480 cat conftest.$ac_ext >&5
6481 fi 6482 fi
6482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6483 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6483 fi 6484 fi
6484 6485
6485 if test $emacs_cv_x11_version_6 = yes; then 6486 if test $emacs_cv_x11_version_6 = yes; then
6486 echo "$as_me:6486: result: 6 or newer" >&5 6487 echo "$as_me:6487: result: 6 or newer" >&5
6487 echo "${ECHO_T}6 or newer" >&6 6488 echo "${ECHO_T}6 or newer" >&6
6488 6489
6489 cat >>confdefs.h <<\EOF 6490 cat >>confdefs.h <<\EOF
6490 #define HAVE_X11R6 1 6491 #define HAVE_X11R6 1
6491 EOF 6492 EOF
6492 6493
6493 else 6494 else
6494 echo "$as_me:6494: result: before 6" >&5 6495 echo "$as_me:6495: result: before 6" >&5
6495 echo "${ECHO_T}before 6" >&6 6496 echo "${ECHO_T}before 6" >&6
6496 fi 6497 fi
6497 fi 6498 fi
6498 6499
6499 if test "${window_system}" = "x11"; then 6500 if test "${window_system}" = "x11"; then
6500 echo "$as_me:6500: checking X11 version 5" >&5 6501 echo "$as_me:6501: checking X11 version 5" >&5
6501 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 6502 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6502 if test "${emacs_cv_x11_version_5+set}" = set; then 6503 if test "${emacs_cv_x11_version_5+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6 6504 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 else 6505 else
6505 cat >conftest.$ac_ext <<_ACEOF 6506 cat >conftest.$ac_ext <<_ACEOF
6506 #line 6506 "configure" 6507 #line 6507 "configure"
6507 #include "confdefs.h" 6508 #include "confdefs.h"
6508 #include <X11/Xlib.h> 6509 #include <X11/Xlib.h>
6509 int 6510 int
6510 main () 6511 main ()
6511 { 6512 {
6516 ; 6517 ;
6517 return 0; 6518 return 0;
6518 } 6519 }
6519 _ACEOF 6520 _ACEOF
6520 rm -f conftest.$ac_objext conftest$ac_exeext 6521 rm -f conftest.$ac_objext conftest$ac_exeext
6521 if { (eval echo "$as_me:6521: \"$ac_link\"") >&5 6522 if { (eval echo "$as_me:6522: \"$ac_link\"") >&5
6522 (eval $ac_link) 2>&5 6523 (eval $ac_link) 2>&5
6523 ac_status=$? 6524 ac_status=$?
6524 echo "$as_me:6524: \$? = $ac_status" >&5 6525 echo "$as_me:6525: \$? = $ac_status" >&5
6525 (exit $ac_status); } && 6526 (exit $ac_status); } &&
6526 { ac_try='test -s conftest$ac_exeext' 6527 { ac_try='test -s conftest$ac_exeext'
6527 { (eval echo "$as_me:6527: \"$ac_try\"") >&5 6528 { (eval echo "$as_me:6528: \"$ac_try\"") >&5
6528 (eval $ac_try) 2>&5 6529 (eval $ac_try) 2>&5
6529 ac_status=$? 6530 ac_status=$?
6530 echo "$as_me:6530: \$? = $ac_status" >&5 6531 echo "$as_me:6531: \$? = $ac_status" >&5
6531 (exit $ac_status); }; }; then 6532 (exit $ac_status); }; }; then
6532 emacs_cv_x11_version_5=yes 6533 emacs_cv_x11_version_5=yes
6533 else 6534 else
6534 echo "$as_me: failed program was:" >&5 6535 echo "$as_me: failed program was:" >&5
6535 cat conftest.$ac_ext >&5 6536 cat conftest.$ac_ext >&5
6537 fi 6538 fi
6538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6539 fi 6540 fi
6540 6541
6541 if test $emacs_cv_x11_version_5 = yes; then 6542 if test $emacs_cv_x11_version_5 = yes; then
6542 echo "$as_me:6542: result: 5 or newer" >&5 6543 echo "$as_me:6543: result: 5 or newer" >&5
6543 echo "${ECHO_T}5 or newer" >&6 6544 echo "${ECHO_T}5 or newer" >&6
6544 HAVE_X11R5=yes 6545 HAVE_X11R5=yes
6545 6546
6546 cat >>confdefs.h <<\EOF 6547 cat >>confdefs.h <<\EOF
6547 #define HAVE_X11R5 1 6548 #define HAVE_X11R5 1
6548 EOF 6549 EOF
6549 6550
6550 else 6551 else
6551 HAVE_X11R5=no 6552 HAVE_X11R5=no
6552 echo "$as_me:6552: result: before 5" >&5 6553 echo "$as_me:6553: result: before 5" >&5
6553 echo "${ECHO_T}before 5" >&6 6554 echo "${ECHO_T}before 5" >&6
6554 fi 6555 fi
6555 fi 6556 fi
6556 6557
6557 if test x"${USE_X_TOOLKIT}" = xmaybe; then 6558 if test x"${USE_X_TOOLKIT}" = xmaybe; then
6558 if test x"${HAVE_X11R5}" = xyes; then 6559 if test x"${HAVE_X11R5}" = xyes; then
6559 echo "$as_me:6559: checking X11 version 5 with Xaw" >&5 6560 echo "$as_me:6560: checking X11 version 5 with Xaw" >&5
6560 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 6561 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6561 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then 6562 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6562 echo $ECHO_N "(cached) $ECHO_C" >&6 6563 echo $ECHO_N "(cached) $ECHO_C" >&6
6563 else 6564 else
6564 cat >conftest.$ac_ext <<_ACEOF 6565 cat >conftest.$ac_ext <<_ACEOF
6565 #line 6565 "configure" 6566 #line 6566 "configure"
6566 #include "confdefs.h" 6567 #include "confdefs.h"
6567 6568
6568 #include <X11/Intrinsic.h> 6569 #include <X11/Intrinsic.h>
6569 #include <X11/Xaw/Simple.h> 6570 #include <X11/Xaw/Simple.h>
6570 int 6571 int
6574 ; 6575 ;
6575 return 0; 6576 return 0;
6576 } 6577 }
6577 _ACEOF 6578 _ACEOF
6578 rm -f conftest.$ac_objext conftest$ac_exeext 6579 rm -f conftest.$ac_objext conftest$ac_exeext
6579 if { (eval echo "$as_me:6579: \"$ac_link\"") >&5 6580 if { (eval echo "$as_me:6580: \"$ac_link\"") >&5
6580 (eval $ac_link) 2>&5 6581 (eval $ac_link) 2>&5
6581 ac_status=$? 6582 ac_status=$?
6582 echo "$as_me:6582: \$? = $ac_status" >&5 6583 echo "$as_me:6583: \$? = $ac_status" >&5
6583 (exit $ac_status); } && 6584 (exit $ac_status); } &&
6584 { ac_try='test -s conftest$ac_exeext' 6585 { ac_try='test -s conftest$ac_exeext'
6585 { (eval echo "$as_me:6585: \"$ac_try\"") >&5 6586 { (eval echo "$as_me:6586: \"$ac_try\"") >&5
6586 (eval $ac_try) 2>&5 6587 (eval $ac_try) 2>&5
6587 ac_status=$? 6588 ac_status=$?
6588 echo "$as_me:6588: \$? = $ac_status" >&5 6589 echo "$as_me:6589: \$? = $ac_status" >&5
6589 (exit $ac_status); }; }; then 6590 (exit $ac_status); }; }; then
6590 emacs_cv_x11_version_5_with_xaw=yes 6591 emacs_cv_x11_version_5_with_xaw=yes
6591 else 6592 else
6592 echo "$as_me: failed program was:" >&5 6593 echo "$as_me: failed program was:" >&5
6593 cat conftest.$ac_ext >&5 6594 cat conftest.$ac_ext >&5
6595 fi 6596 fi
6596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6597 fi 6598 fi
6598 6599
6599 if test $emacs_cv_x11_version_5_with_xaw = yes; then 6600 if test $emacs_cv_x11_version_5_with_xaw = yes; then
6600 echo "$as_me:6600: result: 5 or newer, with Xaw; use toolkit by default" >&5 6601 echo "$as_me:6601: result: 5 or newer, with Xaw; use toolkit by default" >&5
6601 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 6602 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6602 USE_X_TOOLKIT=LUCID 6603 USE_X_TOOLKIT=LUCID
6603 else 6604 else
6604 echo "$as_me:6604: result: before 5 or no Xaw; do not use toolkit by default" >&5 6605 echo "$as_me:6605: result: before 5 or no Xaw; do not use toolkit by default" >&5
6605 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 6606 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6606 USE_X_TOOLKIT=none 6607 USE_X_TOOLKIT=none
6607 fi 6608 fi
6608 else 6609 else
6609 USE_X_TOOLKIT=none 6610 USE_X_TOOLKIT=none
6611 fi 6612 fi
6612 6613
6613 X_TOOLKIT_TYPE=$USE_X_TOOLKIT 6614 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6614 6615
6615 if test "${USE_X_TOOLKIT}" != "none"; then 6616 if test "${USE_X_TOOLKIT}" != "none"; then
6616 echo "$as_me:6616: checking X11 toolkit version" >&5 6617 echo "$as_me:6617: checking X11 toolkit version" >&5
6617 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 6618 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6618 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then 6619 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6619 echo $ECHO_N "(cached) $ECHO_C" >&6 6620 echo $ECHO_N "(cached) $ECHO_C" >&6
6620 else 6621 else
6621 cat >conftest.$ac_ext <<_ACEOF 6622 cat >conftest.$ac_ext <<_ACEOF
6622 #line 6622 "configure" 6623 #line 6623 "configure"
6623 #include "confdefs.h" 6624 #include "confdefs.h"
6624 #include <X11/Intrinsic.h> 6625 #include <X11/Intrinsic.h>
6625 int 6626 int
6626 main () 6627 main ()
6627 { 6628 {
6632 ; 6633 ;
6633 return 0; 6634 return 0;
6634 } 6635 }
6635 _ACEOF 6636 _ACEOF
6636 rm -f conftest.$ac_objext conftest$ac_exeext 6637 rm -f conftest.$ac_objext conftest$ac_exeext
6637 if { (eval echo "$as_me:6637: \"$ac_link\"") >&5 6638 if { (eval echo "$as_me:6638: \"$ac_link\"") >&5
6638 (eval $ac_link) 2>&5 6639 (eval $ac_link) 2>&5
6639 ac_status=$? 6640 ac_status=$?
6640 echo "$as_me:6640: \$? = $ac_status" >&5 6641 echo "$as_me:6641: \$? = $ac_status" >&5
6641 (exit $ac_status); } && 6642 (exit $ac_status); } &&
6642 { ac_try='test -s conftest$ac_exeext' 6643 { ac_try='test -s conftest$ac_exeext'
6643 { (eval echo "$as_me:6643: \"$ac_try\"") >&5 6644 { (eval echo "$as_me:6644: \"$ac_try\"") >&5
6644 (eval $ac_try) 2>&5 6645 (eval $ac_try) 2>&5
6645 ac_status=$? 6646 ac_status=$?
6646 echo "$as_me:6646: \$? = $ac_status" >&5 6647 echo "$as_me:6647: \$? = $ac_status" >&5
6647 (exit $ac_status); }; }; then 6648 (exit $ac_status); }; }; then
6648 emacs_cv_x11_toolkit_version_6=yes 6649 emacs_cv_x11_toolkit_version_6=yes
6649 else 6650 else
6650 echo "$as_me: failed program was:" >&5 6651 echo "$as_me: failed program was:" >&5
6651 cat conftest.$ac_ext >&5 6652 cat conftest.$ac_ext >&5
6654 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6655 fi 6656 fi
6656 6657
6657 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 6658 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6658 if test $emacs_cv_x11_toolkit_version_6 = yes; then 6659 if test $emacs_cv_x11_toolkit_version_6 = yes; then
6659 echo "$as_me:6659: result: 6 or newer" >&5 6660 echo "$as_me:6660: result: 6 or newer" >&5
6660 echo "${ECHO_T}6 or newer" >&6 6661 echo "${ECHO_T}6 or newer" >&6
6661 6662
6662 cat >>confdefs.h <<\EOF 6663 cat >>confdefs.h <<\EOF
6663 #define HAVE_X11XTR6 1 6664 #define HAVE_X11XTR6 1
6664 EOF 6665 EOF
6665 6666
6666 else 6667 else
6667 echo "$as_me:6667: result: before 6" >&5 6668 echo "$as_me:6668: result: before 6" >&5
6668 echo "${ECHO_T}before 6" >&6 6669 echo "${ECHO_T}before 6" >&6
6669 fi 6670 fi
6670 6671
6671 OLDLIBS="$LIBS" 6672 OLDLIBS="$LIBS"
6672 if test x$HAVE_X11XTR6 = xyes; then 6673 if test x$HAVE_X11XTR6 = xyes; then
6673 LIBS="-lXt -lSM -lICE $LIBS" 6674 LIBS="-lXt -lSM -lICE $LIBS"
6674 else 6675 else
6675 LIBS="-lXt $LIBS" 6676 LIBS="-lXt $LIBS"
6676 fi 6677 fi
6677 6678
6678 echo "$as_me:6678: checking for XmuConvertStandardSelection in -lXmu" >&5 6679 echo "$as_me:6679: checking for XmuConvertStandardSelection in -lXmu" >&5
6679 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 6680 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6680 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then 6681 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6681 echo $ECHO_N "(cached) $ECHO_C" >&6 6682 echo $ECHO_N "(cached) $ECHO_C" >&6
6682 else 6683 else
6683 ac_check_lib_save_LIBS=$LIBS 6684 ac_check_lib_save_LIBS=$LIBS
6684 LIBS="-lXmu $LIBS" 6685 LIBS="-lXmu $LIBS"
6685 cat >conftest.$ac_ext <<_ACEOF 6686 cat >conftest.$ac_ext <<_ACEOF
6686 #line 6686 "configure" 6687 #line 6687 "configure"
6687 #include "confdefs.h" 6688 #include "confdefs.h"
6688 6689
6689 /* Override any gcc2 internal prototype to avoid an error. */ 6690 /* Override any gcc2 internal prototype to avoid an error. */
6690 #ifdef __cplusplus 6691 #ifdef __cplusplus
6691 extern "C" 6692 extern "C"
6700 ; 6701 ;
6701 return 0; 6702 return 0;
6702 } 6703 }
6703 _ACEOF 6704 _ACEOF
6704 rm -f conftest.$ac_objext conftest$ac_exeext 6705 rm -f conftest.$ac_objext conftest$ac_exeext
6705 if { (eval echo "$as_me:6705: \"$ac_link\"") >&5 6706 if { (eval echo "$as_me:6706: \"$ac_link\"") >&5
6706 (eval $ac_link) 2>&5 6707 (eval $ac_link) 2>&5
6707 ac_status=$? 6708 ac_status=$?
6708 echo "$as_me:6708: \$? = $ac_status" >&5 6709 echo "$as_me:6709: \$? = $ac_status" >&5
6709 (exit $ac_status); } && 6710 (exit $ac_status); } &&
6710 { ac_try='test -s conftest$ac_exeext' 6711 { ac_try='test -s conftest$ac_exeext'
6711 { (eval echo "$as_me:6711: \"$ac_try\"") >&5 6712 { (eval echo "$as_me:6712: \"$ac_try\"") >&5
6712 (eval $ac_try) 2>&5 6713 (eval $ac_try) 2>&5
6713 ac_status=$? 6714 ac_status=$?
6714 echo "$as_me:6714: \$? = $ac_status" >&5 6715 echo "$as_me:6715: \$? = $ac_status" >&5
6715 (exit $ac_status); }; }; then 6716 (exit $ac_status); }; }; then
6716 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes 6717 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6717 else 6718 else
6718 echo "$as_me: failed program was:" >&5 6719 echo "$as_me: failed program was:" >&5
6719 cat conftest.$ac_ext >&5 6720 cat conftest.$ac_ext >&5
6720 ac_cv_lib_Xmu_XmuConvertStandardSelection=no 6721 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
6721 fi 6722 fi
6722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6723 LIBS=$ac_check_lib_save_LIBS 6724 LIBS=$ac_check_lib_save_LIBS
6724 fi 6725 fi
6725 echo "$as_me:6725: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 6726 echo "$as_me:6726: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6726 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 6727 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6727 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then 6728 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6728 cat >>confdefs.h <<EOF 6729 cat >>confdefs.h <<EOF
6729 #define HAVE_LIBXMU 1 6730 #define HAVE_LIBXMU 1
6730 EOF 6731 EOF
6738 6739
6739 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. 6740 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
6740 if test "${HAVE_X11}" = "yes"; then 6741 if test "${HAVE_X11}" = "yes"; then
6741 if test "${USE_X_TOOLKIT}" != "none"; then 6742 if test "${USE_X_TOOLKIT}" != "none"; then
6742 6743
6743 echo "$as_me:6743: checking for XShapeQueryExtension in -lXext" >&5 6744 echo "$as_me:6744: checking for XShapeQueryExtension in -lXext" >&5
6744 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 6745 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6745 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then 6746 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6746 echo $ECHO_N "(cached) $ECHO_C" >&6 6747 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 else 6748 else
6748 ac_check_lib_save_LIBS=$LIBS 6749 ac_check_lib_save_LIBS=$LIBS
6749 LIBS="-lXext $LIBS" 6750 LIBS="-lXext $LIBS"
6750 cat >conftest.$ac_ext <<_ACEOF 6751 cat >conftest.$ac_ext <<_ACEOF
6751 #line 6751 "configure" 6752 #line 6752 "configure"
6752 #include "confdefs.h" 6753 #include "confdefs.h"
6753 6754
6754 /* Override any gcc2 internal prototype to avoid an error. */ 6755 /* Override any gcc2 internal prototype to avoid an error. */
6755 #ifdef __cplusplus 6756 #ifdef __cplusplus
6756 extern "C" 6757 extern "C"
6765 ; 6766 ;
6766 return 0; 6767 return 0;
6767 } 6768 }
6768 _ACEOF 6769 _ACEOF
6769 rm -f conftest.$ac_objext conftest$ac_exeext 6770 rm -f conftest.$ac_objext conftest$ac_exeext
6770 if { (eval echo "$as_me:6770: \"$ac_link\"") >&5 6771 if { (eval echo "$as_me:6771: \"$ac_link\"") >&5
6771 (eval $ac_link) 2>&5 6772 (eval $ac_link) 2>&5
6772 ac_status=$? 6773 ac_status=$?
6773 echo "$as_me:6773: \$? = $ac_status" >&5 6774 echo "$as_me:6774: \$? = $ac_status" >&5
6774 (exit $ac_status); } && 6775 (exit $ac_status); } &&
6775 { ac_try='test -s conftest$ac_exeext' 6776 { ac_try='test -s conftest$ac_exeext'
6776 { (eval echo "$as_me:6776: \"$ac_try\"") >&5 6777 { (eval echo "$as_me:6777: \"$ac_try\"") >&5
6777 (eval $ac_try) 2>&5 6778 (eval $ac_try) 2>&5
6778 ac_status=$? 6779 ac_status=$?
6779 echo "$as_me:6779: \$? = $ac_status" >&5 6780 echo "$as_me:6780: \$? = $ac_status" >&5
6780 (exit $ac_status); }; }; then 6781 (exit $ac_status); }; }; then
6781 ac_cv_lib_Xext_XShapeQueryExtension=yes 6782 ac_cv_lib_Xext_XShapeQueryExtension=yes
6782 else 6783 else
6783 echo "$as_me: failed program was:" >&5 6784 echo "$as_me: failed program was:" >&5
6784 cat conftest.$ac_ext >&5 6785 cat conftest.$ac_ext >&5
6785 ac_cv_lib_Xext_XShapeQueryExtension=no 6786 ac_cv_lib_Xext_XShapeQueryExtension=no
6786 fi 6787 fi
6787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6788 LIBS=$ac_check_lib_save_LIBS 6789 LIBS=$ac_check_lib_save_LIBS
6789 fi 6790 fi
6790 echo "$as_me:6790: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 6791 echo "$as_me:6791: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6791 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 6792 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6792 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then 6793 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6793 cat >>confdefs.h <<EOF 6794 cat >>confdefs.h <<EOF
6794 #define HAVE_LIBXEXT 1 6795 #define HAVE_LIBXEXT 1
6795 EOF 6796 EOF
6800 6801
6801 fi 6802 fi
6802 fi 6803 fi
6803 6804
6804 if test "${USE_X_TOOLKIT}" = "MOTIF"; then 6805 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6805 echo "$as_me:6805: checking for LessTif where some systems put it" >&5 6806 echo "$as_me:6806: checking for LessTif where some systems put it" >&5
6806 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6 6807 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
6807 if test "${emacs_cv_lesstif+set}" = set; then 6808 if test "${emacs_cv_lesstif+set}" = set; then
6808 echo $ECHO_N "(cached) $ECHO_C" >&6 6809 echo $ECHO_N "(cached) $ECHO_C" >&6
6809 else 6810 else
6811 # We put this in CFLAGS temporarily to precede other -I options
6812 # that might be in CFLAGS temporarily.
6813 # We put this in CPPFLAGS where it precedes the other -I options.
6814 OLD_CPPFLAGS=$CPPFLAGS
6815 OLD_CFLAGS=$CFLAGS
6816 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
6817 CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
6810 cat >conftest.$ac_ext <<_ACEOF 6818 cat >conftest.$ac_ext <<_ACEOF
6811 #line 6811 "configure" 6819 #line 6819 "configure"
6812 #include "confdefs.h" 6820 #include "confdefs.h"
6813 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h> 6821 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
6814 int 6822 int
6815 main () 6823 main ()
6816 { 6824 {
6818 ; 6826 ;
6819 return 0; 6827 return 0;
6820 } 6828 }
6821 _ACEOF 6829 _ACEOF
6822 rm -f conftest.$ac_objext 6830 rm -f conftest.$ac_objext
6823 if { (eval echo "$as_me:6823: \"$ac_compile\"") >&5 6831 if { (eval echo "$as_me:6831: \"$ac_compile\"") >&5
6824 (eval $ac_compile) 2>&5 6832 (eval $ac_compile) 2>&5
6825 ac_status=$? 6833 ac_status=$?
6826 echo "$as_me:6826: \$? = $ac_status" >&5 6834 echo "$as_me:6834: \$? = $ac_status" >&5
6827 (exit $ac_status); } && 6835 (exit $ac_status); } &&
6828 { ac_try='test -s conftest.$ac_objext' 6836 { ac_try='test -s conftest.$ac_objext'
6829 { (eval echo "$as_me:6829: \"$ac_try\"") >&5 6837 { (eval echo "$as_me:6837: \"$ac_try\"") >&5
6830 (eval $ac_try) 2>&5 6838 (eval $ac_try) 2>&5
6831 ac_status=$? 6839 ac_status=$?
6832 echo "$as_me:6832: \$? = $ac_status" >&5 6840 echo "$as_me:6840: \$? = $ac_status" >&5
6833 (exit $ac_status); }; }; then 6841 (exit $ac_status); }; }; then
6834 emacs_cv_lesstif=yes 6842 emacs_cv_lesstif=yes
6835 else 6843 else
6836 echo "$as_me: failed program was:" >&5 6844 echo "$as_me: failed program was:" >&5
6837 cat conftest.$ac_ext >&5 6845 cat conftest.$ac_ext >&5
6838 emacs_cv_lesstif=no 6846 emacs_cv_lesstif=no
6839 fi 6847 fi
6840 rm -f conftest.$ac_objext conftest.$ac_ext 6848 rm -f conftest.$ac_objext conftest.$ac_ext
6841 fi 6849 fi
6842 echo "$as_me:6842: result: $emacs_cv_lesstif" >&5 6850 echo "$as_me:6850: result: $emacs_cv_lesstif" >&5
6843 echo "${ECHO_T}$emacs_cv_lesstif" >&6 6851 echo "${ECHO_T}$emacs_cv_lesstif" >&6
6844 if test $emacs_cv_lesstif = yes; then 6852 if test $emacs_cv_lesstif = yes; then
6845 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS" 6853 # Make sure this -I option remains in CPPFLAGS after it is set
6854 # back to REAL_CPPFLAGS.
6855 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
6856 # have those other -I options anyway. Ultimately, having this
6857 # directory ultimately in CPPFLAGS will be enough.
6858 REAL_CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $REAL_CPPFLAGS"
6846 LDFLAGS="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS" 6859 LDFLAGS="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
6860 else
6861 CFLAGS=$OLD_CFLAGS
6862 CPPFLAGS=$OLD_CPPFLAGS
6847 fi 6863 fi
6848 echo "$as_me:6848: checking for Motif version 2.1" >&5 6864 echo "$as_me:6864: checking for Motif version 2.1" >&5
6849 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 6865 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6850 if test "${emacs_cv_motif_version_2_1+set}" = set; then 6866 if test "${emacs_cv_motif_version_2_1+set}" = set; then
6851 echo $ECHO_N "(cached) $ECHO_C" >&6 6867 echo $ECHO_N "(cached) $ECHO_C" >&6
6852 else 6868 else
6853 cat >conftest.$ac_ext <<_ACEOF 6869 cat >conftest.$ac_ext <<_ACEOF
6854 #line 6854 "configure" 6870 #line 6870 "configure"
6855 #include "confdefs.h" 6871 #include "confdefs.h"
6856 #include <Xm/Xm.h> 6872 #include <Xm/Xm.h>
6857 int 6873 int
6858 main () 6874 main ()
6859 { 6875 {
6865 ; 6881 ;
6866 return 0; 6882 return 0;
6867 } 6883 }
6868 _ACEOF 6884 _ACEOF
6869 rm -f conftest.$ac_objext 6885 rm -f conftest.$ac_objext
6870 if { (eval echo "$as_me:6870: \"$ac_compile\"") >&5 6886 if { (eval echo "$as_me:6886: \"$ac_compile\"") >&5
6871 (eval $ac_compile) 2>&5 6887 (eval $ac_compile) 2>&5
6872 ac_status=$? 6888 ac_status=$?
6873 echo "$as_me:6873: \$? = $ac_status" >&5 6889 echo "$as_me:6889: \$? = $ac_status" >&5
6874 (exit $ac_status); } && 6890 (exit $ac_status); } &&
6875 { ac_try='test -s conftest.$ac_objext' 6891 { ac_try='test -s conftest.$ac_objext'
6876 { (eval echo "$as_me:6876: \"$ac_try\"") >&5 6892 { (eval echo "$as_me:6892: \"$ac_try\"") >&5
6877 (eval $ac_try) 2>&5 6893 (eval $ac_try) 2>&5
6878 ac_status=$? 6894 ac_status=$?
6879 echo "$as_me:6879: \$? = $ac_status" >&5 6895 echo "$as_me:6895: \$? = $ac_status" >&5
6880 (exit $ac_status); }; }; then 6896 (exit $ac_status); }; }; then
6881 emacs_cv_motif_version_2_1=yes 6897 emacs_cv_motif_version_2_1=yes
6882 else 6898 else
6883 echo "$as_me: failed program was:" >&5 6899 echo "$as_me: failed program was:" >&5
6884 cat conftest.$ac_ext >&5 6900 cat conftest.$ac_ext >&5
6885 emacs_cv_motif_version_2_1=no 6901 emacs_cv_motif_version_2_1=no
6886 fi 6902 fi
6887 rm -f conftest.$ac_objext conftest.$ac_ext 6903 rm -f conftest.$ac_objext conftest.$ac_ext
6888 fi 6904 fi
6889 echo "$as_me:6889: result: $emacs_cv_motif_version_2_1" >&5 6905 echo "$as_me:6905: result: $emacs_cv_motif_version_2_1" >&5
6890 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 6906 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6891 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 6907 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6892 if test $emacs_cv_motif_version_2_1 = yes; then 6908 if test $emacs_cv_motif_version_2_1 = yes; then
6893 HAVE_LIBXP=no 6909 HAVE_LIBXP=no
6894 6910
6895 cat >>confdefs.h <<\EOF 6911 cat >>confdefs.h <<\EOF
6896 #define HAVE_MOTIF_2_1 1 6912 #define HAVE_MOTIF_2_1 1
6897 EOF 6913 EOF
6898 6914
6899 echo "$as_me:6899: checking for XpCreateContext in -lXp" >&5 6915 echo "$as_me:6915: checking for XpCreateContext in -lXp" >&5
6900 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 6916 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6901 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 6917 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6902 echo $ECHO_N "(cached) $ECHO_C" >&6 6918 echo $ECHO_N "(cached) $ECHO_C" >&6
6903 else 6919 else
6904 ac_check_lib_save_LIBS=$LIBS 6920 ac_check_lib_save_LIBS=$LIBS
6905 LIBS="-lXp $LIBS" 6921 LIBS="-lXp $LIBS"
6906 cat >conftest.$ac_ext <<_ACEOF 6922 cat >conftest.$ac_ext <<_ACEOF
6907 #line 6907 "configure" 6923 #line 6923 "configure"
6908 #include "confdefs.h" 6924 #include "confdefs.h"
6909 6925
6910 /* Override any gcc2 internal prototype to avoid an error. */ 6926 /* Override any gcc2 internal prototype to avoid an error. */
6911 #ifdef __cplusplus 6927 #ifdef __cplusplus
6912 extern "C" 6928 extern "C"
6921 ; 6937 ;
6922 return 0; 6938 return 0;
6923 } 6939 }
6924 _ACEOF 6940 _ACEOF
6925 rm -f conftest.$ac_objext conftest$ac_exeext 6941 rm -f conftest.$ac_objext conftest$ac_exeext
6926 if { (eval echo "$as_me:6926: \"$ac_link\"") >&5 6942 if { (eval echo "$as_me:6942: \"$ac_link\"") >&5
6927 (eval $ac_link) 2>&5 6943 (eval $ac_link) 2>&5
6928 ac_status=$? 6944 ac_status=$?
6929 echo "$as_me:6929: \$? = $ac_status" >&5 6945 echo "$as_me:6945: \$? = $ac_status" >&5
6930 (exit $ac_status); } && 6946 (exit $ac_status); } &&
6931 { ac_try='test -s conftest$ac_exeext' 6947 { ac_try='test -s conftest$ac_exeext'
6932 { (eval echo "$as_me:6932: \"$ac_try\"") >&5 6948 { (eval echo "$as_me:6948: \"$ac_try\"") >&5
6933 (eval $ac_try) 2>&5 6949 (eval $ac_try) 2>&5
6934 ac_status=$? 6950 ac_status=$?
6935 echo "$as_me:6935: \$? = $ac_status" >&5 6951 echo "$as_me:6951: \$? = $ac_status" >&5
6936 (exit $ac_status); }; }; then 6952 (exit $ac_status); }; }; then
6937 ac_cv_lib_Xp_XpCreateContext=yes 6953 ac_cv_lib_Xp_XpCreateContext=yes
6938 else 6954 else
6939 echo "$as_me: failed program was:" >&5 6955 echo "$as_me: failed program was:" >&5
6940 cat conftest.$ac_ext >&5 6956 cat conftest.$ac_ext >&5
6941 ac_cv_lib_Xp_XpCreateContext=no 6957 ac_cv_lib_Xp_XpCreateContext=no
6942 fi 6958 fi
6943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6944 LIBS=$ac_check_lib_save_LIBS 6960 LIBS=$ac_check_lib_save_LIBS
6945 fi 6961 fi
6946 echo "$as_me:6946: result: $ac_cv_lib_Xp_XpCreateContext" >&5 6962 echo "$as_me:6962: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6947 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 6963 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6948 if test $ac_cv_lib_Xp_XpCreateContext = yes; then 6964 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6949 HAVE_LIBXP=yes 6965 HAVE_LIBXP=yes
6950 fi 6966 fi
6951 6967
6961 6977
6962 ### Is -lXaw3d available? 6978 ### Is -lXaw3d available?
6963 HAVE_XAW3D=no 6979 HAVE_XAW3D=no
6964 if test "${HAVE_X11}" = "yes"; then 6980 if test "${HAVE_X11}" = "yes"; then
6965 if test "${USE_X_TOOLKIT}" != "none"; then 6981 if test "${USE_X_TOOLKIT}" != "none"; then
6966 echo "$as_me:6966: checking for X11/Xaw3d/Scrollbar.h" >&5 6982 echo "$as_me:6982: checking for X11/Xaw3d/Scrollbar.h" >&5
6967 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 6983 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6968 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then 6984 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6969 echo $ECHO_N "(cached) $ECHO_C" >&6 6985 echo $ECHO_N "(cached) $ECHO_C" >&6
6970 else 6986 else
6971 cat >conftest.$ac_ext <<_ACEOF 6987 cat >conftest.$ac_ext <<_ACEOF
6972 #line 6972 "configure" 6988 #line 6988 "configure"
6973 #include "confdefs.h" 6989 #include "confdefs.h"
6974 #include <X11/Xaw3d/Scrollbar.h> 6990 #include <X11/Xaw3d/Scrollbar.h>
6975 _ACEOF 6991 _ACEOF
6976 if { (eval echo "$as_me:6976: \"$ac_cpp conftest.$ac_ext\"") >&5 6992 if { (eval echo "$as_me:6992: \"$ac_cpp conftest.$ac_ext\"") >&5
6977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6993 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6978 ac_status=$? 6994 ac_status=$?
6979 egrep -v '^ *\+' conftest.er1 >conftest.err 6995 egrep -v '^ *\+' conftest.er1 >conftest.err
6980 rm -f conftest.er1 6996 rm -f conftest.er1
6981 cat conftest.err >&5 6997 cat conftest.err >&5
6982 echo "$as_me:6982: \$? = $ac_status" >&5 6998 echo "$as_me:6998: \$? = $ac_status" >&5
6983 (exit $ac_status); } >/dev/null; then 6999 (exit $ac_status); } >/dev/null; then
6984 if test -s conftest.err; then 7000 if test -s conftest.err; then
6985 ac_cpp_err=$ac_c_preproc_warn_flag 7001 ac_cpp_err=$ac_c_preproc_warn_flag
6986 else 7002 else
6987 ac_cpp_err= 7003 ac_cpp_err=
6996 cat conftest.$ac_ext >&5 7012 cat conftest.$ac_ext >&5
6997 ac_cv_header_X11_Xaw3d_Scrollbar_h=no 7013 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
6998 fi 7014 fi
6999 rm -f conftest.err conftest.$ac_ext 7015 rm -f conftest.err conftest.$ac_ext
7000 fi 7016 fi
7001 echo "$as_me:7001: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 7017 echo "$as_me:7017: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
7002 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 7018 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
7003 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then 7019 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
7004 echo "$as_me:7004: checking for XawScrollbarSetThumb in -lXaw3d" >&5 7020 echo "$as_me:7020: checking for XawScrollbarSetThumb in -lXaw3d" >&5
7005 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 7021 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
7006 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then 7022 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
7007 echo $ECHO_N "(cached) $ECHO_C" >&6 7023 echo $ECHO_N "(cached) $ECHO_C" >&6
7008 else 7024 else
7009 ac_check_lib_save_LIBS=$LIBS 7025 ac_check_lib_save_LIBS=$LIBS
7010 LIBS="-lXaw3d $LIBS" 7026 LIBS="-lXaw3d $LIBS"
7011 cat >conftest.$ac_ext <<_ACEOF 7027 cat >conftest.$ac_ext <<_ACEOF
7012 #line 7012 "configure" 7028 #line 7028 "configure"
7013 #include "confdefs.h" 7029 #include "confdefs.h"
7014 7030
7015 /* Override any gcc2 internal prototype to avoid an error. */ 7031 /* Override any gcc2 internal prototype to avoid an error. */
7016 #ifdef __cplusplus 7032 #ifdef __cplusplus
7017 extern "C" 7033 extern "C"
7026 ; 7042 ;
7027 return 0; 7043 return 0;
7028 } 7044 }
7029 _ACEOF 7045 _ACEOF
7030 rm -f conftest.$ac_objext conftest$ac_exeext 7046 rm -f conftest.$ac_objext conftest$ac_exeext
7031 if { (eval echo "$as_me:7031: \"$ac_link\"") >&5 7047 if { (eval echo "$as_me:7047: \"$ac_link\"") >&5
7032 (eval $ac_link) 2>&5 7048 (eval $ac_link) 2>&5
7033 ac_status=$? 7049 ac_status=$?
7034 echo "$as_me:7034: \$? = $ac_status" >&5 7050 echo "$as_me:7050: \$? = $ac_status" >&5
7035 (exit $ac_status); } && 7051 (exit $ac_status); } &&
7036 { ac_try='test -s conftest$ac_exeext' 7052 { ac_try='test -s conftest$ac_exeext'
7037 { (eval echo "$as_me:7037: \"$ac_try\"") >&5 7053 { (eval echo "$as_me:7053: \"$ac_try\"") >&5
7038 (eval $ac_try) 2>&5 7054 (eval $ac_try) 2>&5
7039 ac_status=$? 7055 ac_status=$?
7040 echo "$as_me:7040: \$? = $ac_status" >&5 7056 echo "$as_me:7056: \$? = $ac_status" >&5
7041 (exit $ac_status); }; }; then 7057 (exit $ac_status); }; }; then
7042 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes 7058 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
7043 else 7059 else
7044 echo "$as_me: failed program was:" >&5 7060 echo "$as_me: failed program was:" >&5
7045 cat conftest.$ac_ext >&5 7061 cat conftest.$ac_ext >&5
7046 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no 7062 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
7047 fi 7063 fi
7048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7064 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7049 LIBS=$ac_check_lib_save_LIBS 7065 LIBS=$ac_check_lib_save_LIBS
7050 fi 7066 fi
7051 echo "$as_me:7051: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 7067 echo "$as_me:7067: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
7052 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 7068 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
7053 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then 7069 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
7054 HAVE_XAW3D=yes 7070 HAVE_XAW3D=yes
7055 fi 7071 fi
7056 7072
7096 7112
7097 ### Use -lXpm if available, unless `--with-xpm=no'. 7113 ### Use -lXpm if available, unless `--with-xpm=no'.
7098 HAVE_XPM=no 7114 HAVE_XPM=no
7099 if test "${HAVE_X11}" = "yes"; then 7115 if test "${HAVE_X11}" = "yes"; then
7100 if test "${with_xpm}" != "no"; then 7116 if test "${with_xpm}" != "no"; then
7101 echo "$as_me:7101: checking for X11/xpm.h" >&5 7117 echo "$as_me:7117: checking for X11/xpm.h" >&5
7102 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 7118 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
7103 if test "${ac_cv_header_X11_xpm_h+set}" = set; then 7119 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
7104 echo $ECHO_N "(cached) $ECHO_C" >&6 7120 echo $ECHO_N "(cached) $ECHO_C" >&6
7105 else 7121 else
7106 cat >conftest.$ac_ext <<_ACEOF 7122 cat >conftest.$ac_ext <<_ACEOF
7107 #line 7107 "configure" 7123 #line 7123 "configure"
7108 #include "confdefs.h" 7124 #include "confdefs.h"
7109 #include <X11/xpm.h> 7125 #include <X11/xpm.h>
7110 _ACEOF 7126 _ACEOF
7111 if { (eval echo "$as_me:7111: \"$ac_cpp conftest.$ac_ext\"") >&5 7127 if { (eval echo "$as_me:7127: \"$ac_cpp conftest.$ac_ext\"") >&5
7112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7128 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7113 ac_status=$? 7129 ac_status=$?
7114 egrep -v '^ *\+' conftest.er1 >conftest.err 7130 egrep -v '^ *\+' conftest.er1 >conftest.err
7115 rm -f conftest.er1 7131 rm -f conftest.er1
7116 cat conftest.err >&5 7132 cat conftest.err >&5
7117 echo "$as_me:7117: \$? = $ac_status" >&5 7133 echo "$as_me:7133: \$? = $ac_status" >&5
7118 (exit $ac_status); } >/dev/null; then 7134 (exit $ac_status); } >/dev/null; then
7119 if test -s conftest.err; then 7135 if test -s conftest.err; then
7120 ac_cpp_err=$ac_c_preproc_warn_flag 7136 ac_cpp_err=$ac_c_preproc_warn_flag
7121 else 7137 else
7122 ac_cpp_err= 7138 ac_cpp_err=
7131 cat conftest.$ac_ext >&5 7147 cat conftest.$ac_ext >&5
7132 ac_cv_header_X11_xpm_h=no 7148 ac_cv_header_X11_xpm_h=no
7133 fi 7149 fi
7134 rm -f conftest.err conftest.$ac_ext 7150 rm -f conftest.err conftest.$ac_ext
7135 fi 7151 fi
7136 echo "$as_me:7136: result: $ac_cv_header_X11_xpm_h" >&5 7152 echo "$as_me:7152: result: $ac_cv_header_X11_xpm_h" >&5
7137 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 7153 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7138 if test $ac_cv_header_X11_xpm_h = yes; then 7154 if test $ac_cv_header_X11_xpm_h = yes; then
7139 echo "$as_me:7139: checking for XpmReadFileToPixmap in -lXpm" >&5 7155 echo "$as_me:7155: checking for XpmReadFileToPixmap in -lXpm" >&5
7140 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 7156 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7141 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then 7157 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7142 echo $ECHO_N "(cached) $ECHO_C" >&6 7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7143 else 7159 else
7144 ac_check_lib_save_LIBS=$LIBS 7160 ac_check_lib_save_LIBS=$LIBS
7145 LIBS="-lXpm -lX11 $LIBS" 7161 LIBS="-lXpm -lX11 $LIBS"
7146 cat >conftest.$ac_ext <<_ACEOF 7162 cat >conftest.$ac_ext <<_ACEOF
7147 #line 7147 "configure" 7163 #line 7163 "configure"
7148 #include "confdefs.h" 7164 #include "confdefs.h"
7149 7165
7150 /* Override any gcc2 internal prototype to avoid an error. */ 7166 /* Override any gcc2 internal prototype to avoid an error. */
7151 #ifdef __cplusplus 7167 #ifdef __cplusplus
7152 extern "C" 7168 extern "C"
7161 ; 7177 ;
7162 return 0; 7178 return 0;
7163 } 7179 }
7164 _ACEOF 7180 _ACEOF
7165 rm -f conftest.$ac_objext conftest$ac_exeext 7181 rm -f conftest.$ac_objext conftest$ac_exeext
7166 if { (eval echo "$as_me:7166: \"$ac_link\"") >&5 7182 if { (eval echo "$as_me:7182: \"$ac_link\"") >&5
7167 (eval $ac_link) 2>&5 7183 (eval $ac_link) 2>&5
7168 ac_status=$? 7184 ac_status=$?
7169 echo "$as_me:7169: \$? = $ac_status" >&5 7185 echo "$as_me:7185: \$? = $ac_status" >&5
7170 (exit $ac_status); } && 7186 (exit $ac_status); } &&
7171 { ac_try='test -s conftest$ac_exeext' 7187 { ac_try='test -s conftest$ac_exeext'
7172 { (eval echo "$as_me:7172: \"$ac_try\"") >&5 7188 { (eval echo "$as_me:7188: \"$ac_try\"") >&5
7173 (eval $ac_try) 2>&5 7189 (eval $ac_try) 2>&5
7174 ac_status=$? 7190 ac_status=$?
7175 echo "$as_me:7175: \$? = $ac_status" >&5 7191 echo "$as_me:7191: \$? = $ac_status" >&5
7176 (exit $ac_status); }; }; then 7192 (exit $ac_status); }; }; then
7177 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes 7193 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7178 else 7194 else
7179 echo "$as_me: failed program was:" >&5 7195 echo "$as_me: failed program was:" >&5
7180 cat conftest.$ac_ext >&5 7196 cat conftest.$ac_ext >&5
7181 ac_cv_lib_Xpm_XpmReadFileToPixmap=no 7197 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
7182 fi 7198 fi
7183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7199 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7184 LIBS=$ac_check_lib_save_LIBS 7200 LIBS=$ac_check_lib_save_LIBS
7185 fi 7201 fi
7186 echo "$as_me:7186: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 7202 echo "$as_me:7202: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7187 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 7203 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7188 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then 7204 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7189 HAVE_XPM=yes 7205 HAVE_XPM=yes
7190 fi 7206 fi
7191 7207
7192 fi 7208 fi
7193 7209
7194 if test "${HAVE_XPM}" = "yes"; then 7210 if test "${HAVE_XPM}" = "yes"; then
7195 echo "$as_me:7195: checking for XpmReturnAllocPixels preprocessor define" >&5 7211 echo "$as_me:7211: checking for XpmReturnAllocPixels preprocessor define" >&5
7196 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 7212 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7197 cat >conftest.$ac_ext <<_ACEOF 7213 cat >conftest.$ac_ext <<_ACEOF
7198 #line 7198 "configure" 7214 #line 7214 "configure"
7199 #include "confdefs.h" 7215 #include "confdefs.h"
7200 #include "X11/xpm.h" 7216 #include "X11/xpm.h"
7201 #ifndef XpmReturnAllocPixels 7217 #ifndef XpmReturnAllocPixels
7202 no_return_alloc_pixels 7218 no_return_alloc_pixels
7203 #endif 7219 #endif
7210 HAVE_XPM=yes 7226 HAVE_XPM=yes
7211 fi 7227 fi
7212 rm -f conftest* 7228 rm -f conftest*
7213 7229
7214 if test "${HAVE_XPM}" = "yes"; then 7230 if test "${HAVE_XPM}" = "yes"; then
7215 echo "$as_me:7215: result: yes" >&5 7231 echo "$as_me:7231: result: yes" >&5
7216 echo "${ECHO_T}yes" >&6 7232 echo "${ECHO_T}yes" >&6
7217 else 7233 else
7218 echo "$as_me:7218: result: no" >&5 7234 echo "$as_me:7234: result: no" >&5
7219 echo "${ECHO_T}no" >&6 7235 echo "${ECHO_T}no" >&6
7220 fi 7236 fi
7221 fi 7237 fi
7222 fi 7238 fi
7223 7239
7232 7248
7233 ### Use -ljpeg if available, unless `--with-jpeg=no'. 7249 ### Use -ljpeg if available, unless `--with-jpeg=no'.
7234 HAVE_JPEG=no 7250 HAVE_JPEG=no
7235 if test "${HAVE_X11}" = "yes"; then 7251 if test "${HAVE_X11}" = "yes"; then
7236 if test "${with_jpeg}" != "no"; then 7252 if test "${with_jpeg}" != "no"; then
7237 echo "$as_me:7237: checking for jerror.h" >&5 7253 echo "$as_me:7253: checking for jerror.h" >&5
7238 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 7254 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7239 if test "${ac_cv_header_jerror_h+set}" = set; then 7255 if test "${ac_cv_header_jerror_h+set}" = set; then
7240 echo $ECHO_N "(cached) $ECHO_C" >&6 7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7241 else 7257 else
7242 cat >conftest.$ac_ext <<_ACEOF 7258 cat >conftest.$ac_ext <<_ACEOF
7243 #line 7243 "configure" 7259 #line 7259 "configure"
7244 #include "confdefs.h" 7260 #include "confdefs.h"
7245 #include <jerror.h> 7261 #include <jerror.h>
7246 _ACEOF 7262 _ACEOF
7247 if { (eval echo "$as_me:7247: \"$ac_cpp conftest.$ac_ext\"") >&5 7263 if { (eval echo "$as_me:7263: \"$ac_cpp conftest.$ac_ext\"") >&5
7248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7264 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7249 ac_status=$? 7265 ac_status=$?
7250 egrep -v '^ *\+' conftest.er1 >conftest.err 7266 egrep -v '^ *\+' conftest.er1 >conftest.err
7251 rm -f conftest.er1 7267 rm -f conftest.er1
7252 cat conftest.err >&5 7268 cat conftest.err >&5
7253 echo "$as_me:7253: \$? = $ac_status" >&5 7269 echo "$as_me:7269: \$? = $ac_status" >&5
7254 (exit $ac_status); } >/dev/null; then 7270 (exit $ac_status); } >/dev/null; then
7255 if test -s conftest.err; then 7271 if test -s conftest.err; then
7256 ac_cpp_err=$ac_c_preproc_warn_flag 7272 ac_cpp_err=$ac_c_preproc_warn_flag
7257 else 7273 else
7258 ac_cpp_err= 7274 ac_cpp_err=
7267 cat conftest.$ac_ext >&5 7283 cat conftest.$ac_ext >&5
7268 ac_cv_header_jerror_h=no 7284 ac_cv_header_jerror_h=no
7269 fi 7285 fi
7270 rm -f conftest.err conftest.$ac_ext 7286 rm -f conftest.err conftest.$ac_ext
7271 fi 7287 fi
7272 echo "$as_me:7272: result: $ac_cv_header_jerror_h" >&5 7288 echo "$as_me:7288: result: $ac_cv_header_jerror_h" >&5
7273 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 7289 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7274 if test $ac_cv_header_jerror_h = yes; then 7290 if test $ac_cv_header_jerror_h = yes; then
7275 echo "$as_me:7275: checking for jpeg_destroy_compress in -ljpeg" >&5 7291 echo "$as_me:7291: checking for jpeg_destroy_compress in -ljpeg" >&5
7276 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 7292 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7277 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then 7293 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7278 echo $ECHO_N "(cached) $ECHO_C" >&6 7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7279 else 7295 else
7280 ac_check_lib_save_LIBS=$LIBS 7296 ac_check_lib_save_LIBS=$LIBS
7281 LIBS="-ljpeg $LIBS" 7297 LIBS="-ljpeg $LIBS"
7282 cat >conftest.$ac_ext <<_ACEOF 7298 cat >conftest.$ac_ext <<_ACEOF
7283 #line 7283 "configure" 7299 #line 7299 "configure"
7284 #include "confdefs.h" 7300 #include "confdefs.h"
7285 7301
7286 /* Override any gcc2 internal prototype to avoid an error. */ 7302 /* Override any gcc2 internal prototype to avoid an error. */
7287 #ifdef __cplusplus 7303 #ifdef __cplusplus
7288 extern "C" 7304 extern "C"
7297 ; 7313 ;
7298 return 0; 7314 return 0;
7299 } 7315 }
7300 _ACEOF 7316 _ACEOF
7301 rm -f conftest.$ac_objext conftest$ac_exeext 7317 rm -f conftest.$ac_objext conftest$ac_exeext
7302 if { (eval echo "$as_me:7302: \"$ac_link\"") >&5 7318 if { (eval echo "$as_me:7318: \"$ac_link\"") >&5
7303 (eval $ac_link) 2>&5 7319 (eval $ac_link) 2>&5
7304 ac_status=$? 7320 ac_status=$?
7305 echo "$as_me:7305: \$? = $ac_status" >&5 7321 echo "$as_me:7321: \$? = $ac_status" >&5
7306 (exit $ac_status); } && 7322 (exit $ac_status); } &&
7307 { ac_try='test -s conftest$ac_exeext' 7323 { ac_try='test -s conftest$ac_exeext'
7308 { (eval echo "$as_me:7308: \"$ac_try\"") >&5 7324 { (eval echo "$as_me:7324: \"$ac_try\"") >&5
7309 (eval $ac_try) 2>&5 7325 (eval $ac_try) 2>&5
7310 ac_status=$? 7326 ac_status=$?
7311 echo "$as_me:7311: \$? = $ac_status" >&5 7327 echo "$as_me:7327: \$? = $ac_status" >&5
7312 (exit $ac_status); }; }; then 7328 (exit $ac_status); }; }; then
7313 ac_cv_lib_jpeg_jpeg_destroy_compress=yes 7329 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7314 else 7330 else
7315 echo "$as_me: failed program was:" >&5 7331 echo "$as_me: failed program was:" >&5
7316 cat conftest.$ac_ext >&5 7332 cat conftest.$ac_ext >&5
7317 ac_cv_lib_jpeg_jpeg_destroy_compress=no 7333 ac_cv_lib_jpeg_jpeg_destroy_compress=no
7318 fi 7334 fi
7319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7335 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7320 LIBS=$ac_check_lib_save_LIBS 7336 LIBS=$ac_check_lib_save_LIBS
7321 fi 7337 fi
7322 echo "$as_me:7322: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 7338 echo "$as_me:7338: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7323 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 7339 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7324 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then 7340 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7325 HAVE_JPEG=yes 7341 HAVE_JPEG=yes
7326 fi 7342 fi
7327 7343
7333 cat >>confdefs.h <<\EOF 7349 cat >>confdefs.h <<\EOF
7334 #define HAVE_JPEG 1 7350 #define HAVE_JPEG 1
7335 EOF 7351 EOF
7336 7352
7337 cat >conftest.$ac_ext <<_ACEOF 7353 cat >conftest.$ac_ext <<_ACEOF
7338 #line 7338 "configure" 7354 #line 7354 "configure"
7339 #include "confdefs.h" 7355 #include "confdefs.h"
7340 #include <jpeglib.h> 7356 #include <jpeglib.h>
7341 version=JPEG_LIB_VERSION 7357 version=JPEG_LIB_VERSION
7342 7358
7343 _ACEOF 7359 _ACEOF
7346 cat >>confdefs.h <<\EOF 7362 cat >>confdefs.h <<\EOF
7347 #define HAVE_JPEG 1 7363 #define HAVE_JPEG 1
7348 EOF 7364 EOF
7349 7365
7350 else 7366 else
7351 { echo "$as_me:7351: WARNING: libjpeg found, but not version 6b or later" >&5 7367 { echo "$as_me:7367: WARNING: libjpeg found, but not version 6b or later" >&5
7352 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;} 7368 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7353 HAVE_JPEG=no 7369 HAVE_JPEG=no
7354 fi 7370 fi
7355 rm -f conftest* 7371 rm -f conftest*
7356 7372
7359 7375
7360 ### Use -lpng if available, unless `--with-png=no'. 7376 ### Use -lpng if available, unless `--with-png=no'.
7361 HAVE_PNG=no 7377 HAVE_PNG=no
7362 if test "${HAVE_X11}" = "yes"; then 7378 if test "${HAVE_X11}" = "yes"; then
7363 if test "${with_png}" != "no"; then 7379 if test "${with_png}" != "no"; then
7364 echo "$as_me:7364: checking for png.h" >&5 7380 echo "$as_me:7380: checking for png.h" >&5
7365 echo $ECHO_N "checking for png.h... $ECHO_C" >&6 7381 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7366 if test "${ac_cv_header_png_h+set}" = set; then 7382 if test "${ac_cv_header_png_h+set}" = set; then
7367 echo $ECHO_N "(cached) $ECHO_C" >&6 7383 echo $ECHO_N "(cached) $ECHO_C" >&6
7368 else 7384 else
7369 cat >conftest.$ac_ext <<_ACEOF 7385 cat >conftest.$ac_ext <<_ACEOF
7370 #line 7370 "configure" 7386 #line 7386 "configure"
7371 #include "confdefs.h" 7387 #include "confdefs.h"
7372 #include <png.h> 7388 #include <png.h>
7373 _ACEOF 7389 _ACEOF
7374 if { (eval echo "$as_me:7374: \"$ac_cpp conftest.$ac_ext\"") >&5 7390 if { (eval echo "$as_me:7390: \"$ac_cpp conftest.$ac_ext\"") >&5
7375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7391 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7376 ac_status=$? 7392 ac_status=$?
7377 egrep -v '^ *\+' conftest.er1 >conftest.err 7393 egrep -v '^ *\+' conftest.er1 >conftest.err
7378 rm -f conftest.er1 7394 rm -f conftest.er1
7379 cat conftest.err >&5 7395 cat conftest.err >&5
7380 echo "$as_me:7380: \$? = $ac_status" >&5 7396 echo "$as_me:7396: \$? = $ac_status" >&5
7381 (exit $ac_status); } >/dev/null; then 7397 (exit $ac_status); } >/dev/null; then
7382 if test -s conftest.err; then 7398 if test -s conftest.err; then
7383 ac_cpp_err=$ac_c_preproc_warn_flag 7399 ac_cpp_err=$ac_c_preproc_warn_flag
7384 else 7400 else
7385 ac_cpp_err= 7401 ac_cpp_err=
7394 cat conftest.$ac_ext >&5 7410 cat conftest.$ac_ext >&5
7395 ac_cv_header_png_h=no 7411 ac_cv_header_png_h=no
7396 fi 7412 fi
7397 rm -f conftest.err conftest.$ac_ext 7413 rm -f conftest.err conftest.$ac_ext
7398 fi 7414 fi
7399 echo "$as_me:7399: result: $ac_cv_header_png_h" >&5 7415 echo "$as_me:7415: result: $ac_cv_header_png_h" >&5
7400 echo "${ECHO_T}$ac_cv_header_png_h" >&6 7416 echo "${ECHO_T}$ac_cv_header_png_h" >&6
7401 if test $ac_cv_header_png_h = yes; then 7417 if test $ac_cv_header_png_h = yes; then
7402 echo "$as_me:7402: checking for png_get_channels in -lpng" >&5 7418 echo "$as_me:7418: checking for png_get_channels in -lpng" >&5
7403 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 7419 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7404 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then 7420 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7405 echo $ECHO_N "(cached) $ECHO_C" >&6 7421 echo $ECHO_N "(cached) $ECHO_C" >&6
7406 else 7422 else
7407 ac_check_lib_save_LIBS=$LIBS 7423 ac_check_lib_save_LIBS=$LIBS
7408 LIBS="-lpng -lz -lm $LIBS" 7424 LIBS="-lpng -lz -lm $LIBS"
7409 cat >conftest.$ac_ext <<_ACEOF 7425 cat >conftest.$ac_ext <<_ACEOF
7410 #line 7410 "configure" 7426 #line 7426 "configure"
7411 #include "confdefs.h" 7427 #include "confdefs.h"
7412 7428
7413 /* Override any gcc2 internal prototype to avoid an error. */ 7429 /* Override any gcc2 internal prototype to avoid an error. */
7414 #ifdef __cplusplus 7430 #ifdef __cplusplus
7415 extern "C" 7431 extern "C"
7424 ; 7440 ;
7425 return 0; 7441 return 0;
7426 } 7442 }
7427 _ACEOF 7443 _ACEOF
7428 rm -f conftest.$ac_objext conftest$ac_exeext 7444 rm -f conftest.$ac_objext conftest$ac_exeext
7429 if { (eval echo "$as_me:7429: \"$ac_link\"") >&5 7445 if { (eval echo "$as_me:7445: \"$ac_link\"") >&5
7430 (eval $ac_link) 2>&5 7446 (eval $ac_link) 2>&5
7431 ac_status=$? 7447 ac_status=$?
7432 echo "$as_me:7432: \$? = $ac_status" >&5 7448 echo "$as_me:7448: \$? = $ac_status" >&5
7433 (exit $ac_status); } && 7449 (exit $ac_status); } &&
7434 { ac_try='test -s conftest$ac_exeext' 7450 { ac_try='test -s conftest$ac_exeext'
7435 { (eval echo "$as_me:7435: \"$ac_try\"") >&5 7451 { (eval echo "$as_me:7451: \"$ac_try\"") >&5
7436 (eval $ac_try) 2>&5 7452 (eval $ac_try) 2>&5
7437 ac_status=$? 7453 ac_status=$?
7438 echo "$as_me:7438: \$? = $ac_status" >&5 7454 echo "$as_me:7454: \$? = $ac_status" >&5
7439 (exit $ac_status); }; }; then 7455 (exit $ac_status); }; }; then
7440 ac_cv_lib_png_png_get_channels=yes 7456 ac_cv_lib_png_png_get_channels=yes
7441 else 7457 else
7442 echo "$as_me: failed program was:" >&5 7458 echo "$as_me: failed program was:" >&5
7443 cat conftest.$ac_ext >&5 7459 cat conftest.$ac_ext >&5
7444 ac_cv_lib_png_png_get_channels=no 7460 ac_cv_lib_png_png_get_channels=no
7445 fi 7461 fi
7446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7447 LIBS=$ac_check_lib_save_LIBS 7463 LIBS=$ac_check_lib_save_LIBS
7448 fi 7464 fi
7449 echo "$as_me:7449: result: $ac_cv_lib_png_png_get_channels" >&5 7465 echo "$as_me:7465: result: $ac_cv_lib_png_png_get_channels" >&5
7450 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 7466 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7451 if test $ac_cv_lib_png_png_get_channels = yes; then 7467 if test $ac_cv_lib_png_png_get_channels = yes; then
7452 HAVE_PNG=yes 7468 HAVE_PNG=yes
7453 fi 7469 fi
7454 7470
7467 7483
7468 ### Use -ltiff if available, unless `--with-tiff=no'. 7484 ### Use -ltiff if available, unless `--with-tiff=no'.
7469 HAVE_TIFF=no 7485 HAVE_TIFF=no
7470 if test "${HAVE_X11}" = "yes"; then 7486 if test "${HAVE_X11}" = "yes"; then
7471 if test "${with_tiff}" != "no"; then 7487 if test "${with_tiff}" != "no"; then
7472 echo "$as_me:7472: checking for tiffio.h" >&5 7488 echo "$as_me:7488: checking for tiffio.h" >&5
7473 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 7489 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7474 if test "${ac_cv_header_tiffio_h+set}" = set; then 7490 if test "${ac_cv_header_tiffio_h+set}" = set; then
7475 echo $ECHO_N "(cached) $ECHO_C" >&6 7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7476 else 7492 else
7477 cat >conftest.$ac_ext <<_ACEOF 7493 cat >conftest.$ac_ext <<_ACEOF
7478 #line 7478 "configure" 7494 #line 7494 "configure"
7479 #include "confdefs.h" 7495 #include "confdefs.h"
7480 #include <tiffio.h> 7496 #include <tiffio.h>
7481 _ACEOF 7497 _ACEOF
7482 if { (eval echo "$as_me:7482: \"$ac_cpp conftest.$ac_ext\"") >&5 7498 if { (eval echo "$as_me:7498: \"$ac_cpp conftest.$ac_ext\"") >&5
7483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7484 ac_status=$? 7500 ac_status=$?
7485 egrep -v '^ *\+' conftest.er1 >conftest.err 7501 egrep -v '^ *\+' conftest.er1 >conftest.err
7486 rm -f conftest.er1 7502 rm -f conftest.er1
7487 cat conftest.err >&5 7503 cat conftest.err >&5
7488 echo "$as_me:7488: \$? = $ac_status" >&5 7504 echo "$as_me:7504: \$? = $ac_status" >&5
7489 (exit $ac_status); } >/dev/null; then 7505 (exit $ac_status); } >/dev/null; then
7490 if test -s conftest.err; then 7506 if test -s conftest.err; then
7491 ac_cpp_err=$ac_c_preproc_warn_flag 7507 ac_cpp_err=$ac_c_preproc_warn_flag
7492 else 7508 else
7493 ac_cpp_err= 7509 ac_cpp_err=
7502 cat conftest.$ac_ext >&5 7518 cat conftest.$ac_ext >&5
7503 ac_cv_header_tiffio_h=no 7519 ac_cv_header_tiffio_h=no
7504 fi 7520 fi
7505 rm -f conftest.err conftest.$ac_ext 7521 rm -f conftest.err conftest.$ac_ext
7506 fi 7522 fi
7507 echo "$as_me:7507: result: $ac_cv_header_tiffio_h" >&5 7523 echo "$as_me:7523: result: $ac_cv_header_tiffio_h" >&5
7508 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 7524 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7509 if test $ac_cv_header_tiffio_h = yes; then 7525 if test $ac_cv_header_tiffio_h = yes; then
7510 tifflibs="-lz -lm" 7526 tifflibs="-lz -lm"
7511 # At least one tiff package requires the jpeg library. 7527 # At least one tiff package requires the jpeg library.
7512 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi 7528 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7513 echo "$as_me:7513: checking for TIFFGetVersion in -ltiff" >&5 7529 echo "$as_me:7529: checking for TIFFGetVersion in -ltiff" >&5
7514 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 7530 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7515 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then 7531 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7516 echo $ECHO_N "(cached) $ECHO_C" >&6 7532 echo $ECHO_N "(cached) $ECHO_C" >&6
7517 else 7533 else
7518 ac_check_lib_save_LIBS=$LIBS 7534 ac_check_lib_save_LIBS=$LIBS
7519 LIBS="-ltiff $tifflibs $LIBS" 7535 LIBS="-ltiff $tifflibs $LIBS"
7520 cat >conftest.$ac_ext <<_ACEOF 7536 cat >conftest.$ac_ext <<_ACEOF
7521 #line 7521 "configure" 7537 #line 7537 "configure"
7522 #include "confdefs.h" 7538 #include "confdefs.h"
7523 7539
7524 /* Override any gcc2 internal prototype to avoid an error. */ 7540 /* Override any gcc2 internal prototype to avoid an error. */
7525 #ifdef __cplusplus 7541 #ifdef __cplusplus
7526 extern "C" 7542 extern "C"
7535 ; 7551 ;
7536 return 0; 7552 return 0;
7537 } 7553 }
7538 _ACEOF 7554 _ACEOF
7539 rm -f conftest.$ac_objext conftest$ac_exeext 7555 rm -f conftest.$ac_objext conftest$ac_exeext
7540 if { (eval echo "$as_me:7540: \"$ac_link\"") >&5 7556 if { (eval echo "$as_me:7556: \"$ac_link\"") >&5
7541 (eval $ac_link) 2>&5 7557 (eval $ac_link) 2>&5
7542 ac_status=$? 7558 ac_status=$?
7543 echo "$as_me:7543: \$? = $ac_status" >&5 7559 echo "$as_me:7559: \$? = $ac_status" >&5
7544 (exit $ac_status); } && 7560 (exit $ac_status); } &&
7545 { ac_try='test -s conftest$ac_exeext' 7561 { ac_try='test -s conftest$ac_exeext'
7546 { (eval echo "$as_me:7546: \"$ac_try\"") >&5 7562 { (eval echo "$as_me:7562: \"$ac_try\"") >&5
7547 (eval $ac_try) 2>&5 7563 (eval $ac_try) 2>&5
7548 ac_status=$? 7564 ac_status=$?
7549 echo "$as_me:7549: \$? = $ac_status" >&5 7565 echo "$as_me:7565: \$? = $ac_status" >&5
7550 (exit $ac_status); }; }; then 7566 (exit $ac_status); }; }; then
7551 ac_cv_lib_tiff_TIFFGetVersion=yes 7567 ac_cv_lib_tiff_TIFFGetVersion=yes
7552 else 7568 else
7553 echo "$as_me: failed program was:" >&5 7569 echo "$as_me: failed program was:" >&5
7554 cat conftest.$ac_ext >&5 7570 cat conftest.$ac_ext >&5
7555 ac_cv_lib_tiff_TIFFGetVersion=no 7571 ac_cv_lib_tiff_TIFFGetVersion=no
7556 fi 7572 fi
7557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7558 LIBS=$ac_check_lib_save_LIBS 7574 LIBS=$ac_check_lib_save_LIBS
7559 fi 7575 fi
7560 echo "$as_me:7560: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 7576 echo "$as_me:7576: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7561 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 7577 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7562 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then 7578 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7563 HAVE_TIFF=yes 7579 HAVE_TIFF=yes
7564 fi 7580 fi
7565 7581
7578 7594
7579 ### Use -lgif if available, unless `--with-gif=no'. 7595 ### Use -lgif if available, unless `--with-gif=no'.
7580 HAVE_GIF=no 7596 HAVE_GIF=no
7581 if test "${HAVE_X11}" = "yes"; then 7597 if test "${HAVE_X11}" = "yes"; then
7582 if test "${with_gif}" != "no"; then 7598 if test "${with_gif}" != "no"; then
7583 echo "$as_me:7583: checking for gif_lib.h" >&5 7599 echo "$as_me:7599: checking for gif_lib.h" >&5
7584 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 7600 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7585 if test "${ac_cv_header_gif_lib_h+set}" = set; then 7601 if test "${ac_cv_header_gif_lib_h+set}" = set; then
7586 echo $ECHO_N "(cached) $ECHO_C" >&6 7602 echo $ECHO_N "(cached) $ECHO_C" >&6
7587 else 7603 else
7588 cat >conftest.$ac_ext <<_ACEOF 7604 cat >conftest.$ac_ext <<_ACEOF
7589 #line 7589 "configure" 7605 #line 7605 "configure"
7590 #include "confdefs.h" 7606 #include "confdefs.h"
7591 #include <gif_lib.h> 7607 #include <gif_lib.h>
7592 _ACEOF 7608 _ACEOF
7593 if { (eval echo "$as_me:7593: \"$ac_cpp conftest.$ac_ext\"") >&5 7609 if { (eval echo "$as_me:7609: \"$ac_cpp conftest.$ac_ext\"") >&5
7594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7610 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7595 ac_status=$? 7611 ac_status=$?
7596 egrep -v '^ *\+' conftest.er1 >conftest.err 7612 egrep -v '^ *\+' conftest.er1 >conftest.err
7597 rm -f conftest.er1 7613 rm -f conftest.er1
7598 cat conftest.err >&5 7614 cat conftest.err >&5
7599 echo "$as_me:7599: \$? = $ac_status" >&5 7615 echo "$as_me:7615: \$? = $ac_status" >&5
7600 (exit $ac_status); } >/dev/null; then 7616 (exit $ac_status); } >/dev/null; then
7601 if test -s conftest.err; then 7617 if test -s conftest.err; then
7602 ac_cpp_err=$ac_c_preproc_warn_flag 7618 ac_cpp_err=$ac_c_preproc_warn_flag
7603 else 7619 else
7604 ac_cpp_err= 7620 ac_cpp_err=
7613 cat conftest.$ac_ext >&5 7629 cat conftest.$ac_ext >&5
7614 ac_cv_header_gif_lib_h=no 7630 ac_cv_header_gif_lib_h=no
7615 fi 7631 fi
7616 rm -f conftest.err conftest.$ac_ext 7632 rm -f conftest.err conftest.$ac_ext
7617 fi 7633 fi
7618 echo "$as_me:7618: result: $ac_cv_header_gif_lib_h" >&5 7634 echo "$as_me:7634: result: $ac_cv_header_gif_lib_h" >&5
7619 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 7635 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7620 if test $ac_cv_header_gif_lib_h = yes; then 7636 if test $ac_cv_header_gif_lib_h = yes; then
7621 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. 7637 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
7622 # Earlier versions can crash Emacs. 7638 # Earlier versions can crash Emacs.
7623 echo "$as_me:7623: checking for EGifPutExtensionLast in -lungif" >&5 7639 echo "$as_me:7639: checking for EGifPutExtensionLast in -lungif" >&5
7624 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 7640 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
7625 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then 7641 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
7626 echo $ECHO_N "(cached) $ECHO_C" >&6 7642 echo $ECHO_N "(cached) $ECHO_C" >&6
7627 else 7643 else
7628 ac_check_lib_save_LIBS=$LIBS 7644 ac_check_lib_save_LIBS=$LIBS
7629 LIBS="-lungif $LIBS" 7645 LIBS="-lungif $LIBS"
7630 cat >conftest.$ac_ext <<_ACEOF 7646 cat >conftest.$ac_ext <<_ACEOF
7631 #line 7631 "configure" 7647 #line 7647 "configure"
7632 #include "confdefs.h" 7648 #include "confdefs.h"
7633 7649
7634 /* Override any gcc2 internal prototype to avoid an error. */ 7650 /* Override any gcc2 internal prototype to avoid an error. */
7635 #ifdef __cplusplus 7651 #ifdef __cplusplus
7636 extern "C" 7652 extern "C"
7645 ; 7661 ;
7646 return 0; 7662 return 0;
7647 } 7663 }
7648 _ACEOF 7664 _ACEOF
7649 rm -f conftest.$ac_objext conftest$ac_exeext 7665 rm -f conftest.$ac_objext conftest$ac_exeext
7650 if { (eval echo "$as_me:7650: \"$ac_link\"") >&5 7666 if { (eval echo "$as_me:7666: \"$ac_link\"") >&5
7651 (eval $ac_link) 2>&5 7667 (eval $ac_link) 2>&5
7652 ac_status=$? 7668 ac_status=$?
7653 echo "$as_me:7653: \$? = $ac_status" >&5 7669 echo "$as_me:7669: \$? = $ac_status" >&5
7654 (exit $ac_status); } && 7670 (exit $ac_status); } &&
7655 { ac_try='test -s conftest$ac_exeext' 7671 { ac_try='test -s conftest$ac_exeext'
7656 { (eval echo "$as_me:7656: \"$ac_try\"") >&5 7672 { (eval echo "$as_me:7672: \"$ac_try\"") >&5
7657 (eval $ac_try) 2>&5 7673 (eval $ac_try) 2>&5
7658 ac_status=$? 7674 ac_status=$?
7659 echo "$as_me:7659: \$? = $ac_status" >&5 7675 echo "$as_me:7675: \$? = $ac_status" >&5
7660 (exit $ac_status); }; }; then 7676 (exit $ac_status); }; }; then
7661 ac_cv_lib_ungif_EGifPutExtensionLast=yes 7677 ac_cv_lib_ungif_EGifPutExtensionLast=yes
7662 else 7678 else
7663 echo "$as_me: failed program was:" >&5 7679 echo "$as_me: failed program was:" >&5
7664 cat conftest.$ac_ext >&5 7680 cat conftest.$ac_ext >&5
7665 ac_cv_lib_ungif_EGifPutExtensionLast=no 7681 ac_cv_lib_ungif_EGifPutExtensionLast=no
7666 fi 7682 fi
7667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7668 LIBS=$ac_check_lib_save_LIBS 7684 LIBS=$ac_check_lib_save_LIBS
7669 fi 7685 fi
7670 echo "$as_me:7670: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 7686 echo "$as_me:7686: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
7671 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 7687 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
7672 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then 7688 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
7673 HAVE_GIF=yes 7689 HAVE_GIF=yes
7674 fi 7690 fi
7675 7691
7687 fi 7703 fi
7688 7704
7689 ### Use Mac OS X Carbon API to implement GUI. 7705 ### Use Mac OS X Carbon API to implement GUI.
7690 HAVE_CARBON=no 7706 HAVE_CARBON=no
7691 if test "${with_carbon}" != "no"; then 7707 if test "${with_carbon}" != "no"; then
7692 echo "$as_me:7692: checking for Carbon/Carbon.h" >&5 7708 echo "$as_me:7708: checking for Carbon/Carbon.h" >&5
7693 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 7709 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
7694 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then 7710 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
7695 echo $ECHO_N "(cached) $ECHO_C" >&6 7711 echo $ECHO_N "(cached) $ECHO_C" >&6
7696 else 7712 else
7697 cat >conftest.$ac_ext <<_ACEOF 7713 cat >conftest.$ac_ext <<_ACEOF
7698 #line 7698 "configure" 7714 #line 7714 "configure"
7699 #include "confdefs.h" 7715 #include "confdefs.h"
7700 #include <Carbon/Carbon.h> 7716 #include <Carbon/Carbon.h>
7701 _ACEOF 7717 _ACEOF
7702 if { (eval echo "$as_me:7702: \"$ac_cpp conftest.$ac_ext\"") >&5 7718 if { (eval echo "$as_me:7718: \"$ac_cpp conftest.$ac_ext\"") >&5
7703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7704 ac_status=$? 7720 ac_status=$?
7705 egrep -v '^ *\+' conftest.er1 >conftest.err 7721 egrep -v '^ *\+' conftest.er1 >conftest.err
7706 rm -f conftest.er1 7722 rm -f conftest.er1
7707 cat conftest.err >&5 7723 cat conftest.err >&5
7708 echo "$as_me:7708: \$? = $ac_status" >&5 7724 echo "$as_me:7724: \$? = $ac_status" >&5
7709 (exit $ac_status); } >/dev/null; then 7725 (exit $ac_status); } >/dev/null; then
7710 if test -s conftest.err; then 7726 if test -s conftest.err; then
7711 ac_cpp_err=$ac_c_preproc_warn_flag 7727 ac_cpp_err=$ac_c_preproc_warn_flag
7712 else 7728 else
7713 ac_cpp_err= 7729 ac_cpp_err=
7722 cat conftest.$ac_ext >&5 7738 cat conftest.$ac_ext >&5
7723 ac_cv_header_Carbon_Carbon_h=no 7739 ac_cv_header_Carbon_Carbon_h=no
7724 fi 7740 fi
7725 rm -f conftest.err conftest.$ac_ext 7741 rm -f conftest.err conftest.$ac_ext
7726 fi 7742 fi
7727 echo "$as_me:7727: result: $ac_cv_header_Carbon_Carbon_h" >&5 7743 echo "$as_me:7743: result: $ac_cv_header_Carbon_Carbon_h" >&5
7728 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 7744 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
7729 if test $ac_cv_header_Carbon_Carbon_h = yes; then 7745 if test $ac_cv_header_Carbon_Carbon_h = yes; then
7730 HAVE_CARBON=yes 7746 HAVE_CARBON=yes
7731 fi 7747 fi
7732 7748
7741 fi 7757 fi
7742 7758
7743 ### Use session management (-lSM -lICE) if available 7759 ### Use session management (-lSM -lICE) if available
7744 HAVE_X_SM=no 7760 HAVE_X_SM=no
7745 if test "${HAVE_X11}" = "yes"; then 7761 if test "${HAVE_X11}" = "yes"; then
7746 echo "$as_me:7746: checking for X11/SM/SMlib.h" >&5 7762 echo "$as_me:7762: checking for X11/SM/SMlib.h" >&5
7747 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 7763 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
7748 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then 7764 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
7749 echo $ECHO_N "(cached) $ECHO_C" >&6 7765 echo $ECHO_N "(cached) $ECHO_C" >&6
7750 else 7766 else
7751 cat >conftest.$ac_ext <<_ACEOF 7767 cat >conftest.$ac_ext <<_ACEOF
7752 #line 7752 "configure" 7768 #line 7768 "configure"
7753 #include "confdefs.h" 7769 #include "confdefs.h"
7754 #include <X11/SM/SMlib.h> 7770 #include <X11/SM/SMlib.h>
7755 _ACEOF 7771 _ACEOF
7756 if { (eval echo "$as_me:7756: \"$ac_cpp conftest.$ac_ext\"") >&5 7772 if { (eval echo "$as_me:7772: \"$ac_cpp conftest.$ac_ext\"") >&5
7757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7758 ac_status=$? 7774 ac_status=$?
7759 egrep -v '^ *\+' conftest.er1 >conftest.err 7775 egrep -v '^ *\+' conftest.er1 >conftest.err
7760 rm -f conftest.er1 7776 rm -f conftest.er1
7761 cat conftest.err >&5 7777 cat conftest.err >&5
7762 echo "$as_me:7762: \$? = $ac_status" >&5 7778 echo "$as_me:7778: \$? = $ac_status" >&5
7763 (exit $ac_status); } >/dev/null; then 7779 (exit $ac_status); } >/dev/null; then
7764 if test -s conftest.err; then 7780 if test -s conftest.err; then
7765 ac_cpp_err=$ac_c_preproc_warn_flag 7781 ac_cpp_err=$ac_c_preproc_warn_flag
7766 else 7782 else
7767 ac_cpp_err= 7783 ac_cpp_err=
7776 cat conftest.$ac_ext >&5 7792 cat conftest.$ac_ext >&5
7777 ac_cv_header_X11_SM_SMlib_h=no 7793 ac_cv_header_X11_SM_SMlib_h=no
7778 fi 7794 fi
7779 rm -f conftest.err conftest.$ac_ext 7795 rm -f conftest.err conftest.$ac_ext
7780 fi 7796 fi
7781 echo "$as_me:7781: result: $ac_cv_header_X11_SM_SMlib_h" >&5 7797 echo "$as_me:7797: result: $ac_cv_header_X11_SM_SMlib_h" >&5
7782 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 7798 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
7783 if test $ac_cv_header_X11_SM_SMlib_h = yes; then 7799 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
7784 echo "$as_me:7784: checking for SmcOpenConnection in -lSM" >&5 7800 echo "$as_me:7800: checking for SmcOpenConnection in -lSM" >&5
7785 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 7801 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
7786 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then 7802 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
7787 echo $ECHO_N "(cached) $ECHO_C" >&6 7803 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 else 7804 else
7789 ac_check_lib_save_LIBS=$LIBS 7805 ac_check_lib_save_LIBS=$LIBS
7790 LIBS="-lSM $LIBS" 7806 LIBS="-lSM $LIBS"
7791 cat >conftest.$ac_ext <<_ACEOF 7807 cat >conftest.$ac_ext <<_ACEOF
7792 #line 7792 "configure" 7808 #line 7808 "configure"
7793 #include "confdefs.h" 7809 #include "confdefs.h"
7794 7810
7795 /* Override any gcc2 internal prototype to avoid an error. */ 7811 /* Override any gcc2 internal prototype to avoid an error. */
7796 #ifdef __cplusplus 7812 #ifdef __cplusplus
7797 extern "C" 7813 extern "C"
7806 ; 7822 ;
7807 return 0; 7823 return 0;
7808 } 7824 }
7809 _ACEOF 7825 _ACEOF
7810 rm -f conftest.$ac_objext conftest$ac_exeext 7826 rm -f conftest.$ac_objext conftest$ac_exeext
7811 if { (eval echo "$as_me:7811: \"$ac_link\"") >&5 7827 if { (eval echo "$as_me:7827: \"$ac_link\"") >&5
7812 (eval $ac_link) 2>&5 7828 (eval $ac_link) 2>&5
7813 ac_status=$? 7829 ac_status=$?
7814 echo "$as_me:7814: \$? = $ac_status" >&5 7830 echo "$as_me:7830: \$? = $ac_status" >&5
7815 (exit $ac_status); } && 7831 (exit $ac_status); } &&
7816 { ac_try='test -s conftest$ac_exeext' 7832 { ac_try='test -s conftest$ac_exeext'
7817 { (eval echo "$as_me:7817: \"$ac_try\"") >&5 7833 { (eval echo "$as_me:7833: \"$ac_try\"") >&5
7818 (eval $ac_try) 2>&5 7834 (eval $ac_try) 2>&5
7819 ac_status=$? 7835 ac_status=$?
7820 echo "$as_me:7820: \$? = $ac_status" >&5 7836 echo "$as_me:7836: \$? = $ac_status" >&5
7821 (exit $ac_status); }; }; then 7837 (exit $ac_status); }; }; then
7822 ac_cv_lib_SM_SmcOpenConnection=yes 7838 ac_cv_lib_SM_SmcOpenConnection=yes
7823 else 7839 else
7824 echo "$as_me: failed program was:" >&5 7840 echo "$as_me: failed program was:" >&5
7825 cat conftest.$ac_ext >&5 7841 cat conftest.$ac_ext >&5
7826 ac_cv_lib_SM_SmcOpenConnection=no 7842 ac_cv_lib_SM_SmcOpenConnection=no
7827 fi 7843 fi
7828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7844 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7829 LIBS=$ac_check_lib_save_LIBS 7845 LIBS=$ac_check_lib_save_LIBS
7830 fi 7846 fi
7831 echo "$as_me:7831: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 7847 echo "$as_me:7847: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
7832 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 7848 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
7833 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then 7849 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
7834 HAVE_X_SM=yes 7850 HAVE_X_SM=yes
7835 else 7851 else
7836 -lICE 7852 -lICE
7850 esac 7866 esac
7851 fi 7867 fi
7852 fi 7868 fi
7853 7869
7854 # If netdb.h doesn't declare h_errno, we must declare it by hand. 7870 # If netdb.h doesn't declare h_errno, we must declare it by hand.
7855 echo "$as_me:7855: checking whether netdb declares h_errno" >&5 7871 echo "$as_me:7871: checking whether netdb declares h_errno" >&5
7856 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 7872 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7857 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then 7873 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6 7874 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 else 7875 else
7860 cat >conftest.$ac_ext <<_ACEOF 7876 cat >conftest.$ac_ext <<_ACEOF
7861 #line 7861 "configure" 7877 #line 7877 "configure"
7862 #include "confdefs.h" 7878 #include "confdefs.h"
7863 #include <netdb.h> 7879 #include <netdb.h>
7864 int 7880 int
7865 main () 7881 main ()
7866 { 7882 {
7868 ; 7884 ;
7869 return 0; 7885 return 0;
7870 } 7886 }
7871 _ACEOF 7887 _ACEOF
7872 rm -f conftest.$ac_objext conftest$ac_exeext 7888 rm -f conftest.$ac_objext conftest$ac_exeext
7873 if { (eval echo "$as_me:7873: \"$ac_link\"") >&5 7889 if { (eval echo "$as_me:7889: \"$ac_link\"") >&5
7874 (eval $ac_link) 2>&5 7890 (eval $ac_link) 2>&5
7875 ac_status=$? 7891 ac_status=$?
7876 echo "$as_me:7876: \$? = $ac_status" >&5 7892 echo "$as_me:7892: \$? = $ac_status" >&5
7877 (exit $ac_status); } && 7893 (exit $ac_status); } &&
7878 { ac_try='test -s conftest$ac_exeext' 7894 { ac_try='test -s conftest$ac_exeext'
7879 { (eval echo "$as_me:7879: \"$ac_try\"") >&5 7895 { (eval echo "$as_me:7895: \"$ac_try\"") >&5
7880 (eval $ac_try) 2>&5 7896 (eval $ac_try) 2>&5
7881 ac_status=$? 7897 ac_status=$?
7882 echo "$as_me:7882: \$? = $ac_status" >&5 7898 echo "$as_me:7898: \$? = $ac_status" >&5
7883 (exit $ac_status); }; }; then 7899 (exit $ac_status); }; }; then
7884 emacs_cv_netdb_declares_h_errno=yes 7900 emacs_cv_netdb_declares_h_errno=yes
7885 else 7901 else
7886 echo "$as_me: failed program was:" >&5 7902 echo "$as_me: failed program was:" >&5
7887 cat conftest.$ac_ext >&5 7903 cat conftest.$ac_ext >&5
7888 emacs_cv_netdb_declares_h_errno=no 7904 emacs_cv_netdb_declares_h_errno=no
7889 fi 7905 fi
7890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7891 fi 7907 fi
7892 echo "$as_me:7892: result: $emacs_cv_netdb_declares_h_errno" >&5 7908 echo "$as_me:7908: result: $emacs_cv_netdb_declares_h_errno" >&5
7893 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 7909 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7894 if test $emacs_cv_netdb_declares_h_errno = yes; then 7910 if test $emacs_cv_netdb_declares_h_errno = yes; then
7895 7911
7896 cat >>confdefs.h <<\EOF 7912 cat >>confdefs.h <<\EOF
7897 #define HAVE_H_ERRNO 1 7913 #define HAVE_H_ERRNO 1
7899 7915
7900 fi 7916 fi
7901 7917
7902 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7918 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7903 # for constant arguments. Useless! 7919 # for constant arguments. Useless!
7904 echo "$as_me:7904: checking for working alloca.h" >&5 7920 echo "$as_me:7920: checking for working alloca.h" >&5
7905 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 7921 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7906 if test "${ac_cv_working_alloca_h+set}" = set; then 7922 if test "${ac_cv_working_alloca_h+set}" = set; then
7907 echo $ECHO_N "(cached) $ECHO_C" >&6 7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7908 else 7924 else
7909 cat >conftest.$ac_ext <<_ACEOF 7925 cat >conftest.$ac_ext <<_ACEOF
7910 #line 7910 "configure" 7926 #line 7926 "configure"
7911 #include "confdefs.h" 7927 #include "confdefs.h"
7912 #include <alloca.h> 7928 #include <alloca.h>
7913 int 7929 int
7914 main () 7930 main ()
7915 { 7931 {
7917 ; 7933 ;
7918 return 0; 7934 return 0;
7919 } 7935 }
7920 _ACEOF 7936 _ACEOF
7921 rm -f conftest.$ac_objext conftest$ac_exeext 7937 rm -f conftest.$ac_objext conftest$ac_exeext
7922 if { (eval echo "$as_me:7922: \"$ac_link\"") >&5 7938 if { (eval echo "$as_me:7938: \"$ac_link\"") >&5
7923 (eval $ac_link) 2>&5 7939 (eval $ac_link) 2>&5
7924 ac_status=$? 7940 ac_status=$?
7925 echo "$as_me:7925: \$? = $ac_status" >&5 7941 echo "$as_me:7941: \$? = $ac_status" >&5
7926 (exit $ac_status); } && 7942 (exit $ac_status); } &&
7927 { ac_try='test -s conftest$ac_exeext' 7943 { ac_try='test -s conftest$ac_exeext'
7928 { (eval echo "$as_me:7928: \"$ac_try\"") >&5 7944 { (eval echo "$as_me:7944: \"$ac_try\"") >&5
7929 (eval $ac_try) 2>&5 7945 (eval $ac_try) 2>&5
7930 ac_status=$? 7946 ac_status=$?
7931 echo "$as_me:7931: \$? = $ac_status" >&5 7947 echo "$as_me:7947: \$? = $ac_status" >&5
7932 (exit $ac_status); }; }; then 7948 (exit $ac_status); }; }; then
7933 ac_cv_working_alloca_h=yes 7949 ac_cv_working_alloca_h=yes
7934 else 7950 else
7935 echo "$as_me: failed program was:" >&5 7951 echo "$as_me: failed program was:" >&5
7936 cat conftest.$ac_ext >&5 7952 cat conftest.$ac_ext >&5
7937 ac_cv_working_alloca_h=no 7953 ac_cv_working_alloca_h=no
7938 fi 7954 fi
7939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7940 fi 7956 fi
7941 echo "$as_me:7941: result: $ac_cv_working_alloca_h" >&5 7957 echo "$as_me:7957: result: $ac_cv_working_alloca_h" >&5
7942 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 7958 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7943 if test $ac_cv_working_alloca_h = yes; then 7959 if test $ac_cv_working_alloca_h = yes; then
7944 7960
7945 cat >>confdefs.h <<\EOF 7961 cat >>confdefs.h <<\EOF
7946 #define HAVE_ALLOCA_H 1 7962 #define HAVE_ALLOCA_H 1
7947 EOF 7963 EOF
7948 7964
7949 fi 7965 fi
7950 7966
7951 echo "$as_me:7951: checking for alloca" >&5 7967 echo "$as_me:7967: checking for alloca" >&5
7952 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 7968 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7953 if test "${ac_cv_func_alloca_works+set}" = set; then 7969 if test "${ac_cv_func_alloca_works+set}" = set; then
7954 echo $ECHO_N "(cached) $ECHO_C" >&6 7970 echo $ECHO_N "(cached) $ECHO_C" >&6
7955 else 7971 else
7956 cat >conftest.$ac_ext <<_ACEOF 7972 cat >conftest.$ac_ext <<_ACEOF
7957 #line 7957 "configure" 7973 #line 7973 "configure"
7958 #include "confdefs.h" 7974 #include "confdefs.h"
7959 #ifdef __GNUC__ 7975 #ifdef __GNUC__
7960 # define alloca __builtin_alloca 7976 # define alloca __builtin_alloca
7961 #else 7977 #else
7962 # ifdef _MSC_VER 7978 # ifdef _MSC_VER
7984 ; 8000 ;
7985 return 0; 8001 return 0;
7986 } 8002 }
7987 _ACEOF 8003 _ACEOF
7988 rm -f conftest.$ac_objext conftest$ac_exeext 8004 rm -f conftest.$ac_objext conftest$ac_exeext
7989 if { (eval echo "$as_me:7989: \"$ac_link\"") >&5 8005 if { (eval echo "$as_me:8005: \"$ac_link\"") >&5
7990 (eval $ac_link) 2>&5 8006 (eval $ac_link) 2>&5
7991 ac_status=$? 8007 ac_status=$?
7992 echo "$as_me:7992: \$? = $ac_status" >&5 8008 echo "$as_me:8008: \$? = $ac_status" >&5
7993 (exit $ac_status); } && 8009 (exit $ac_status); } &&
7994 { ac_try='test -s conftest$ac_exeext' 8010 { ac_try='test -s conftest$ac_exeext'
7995 { (eval echo "$as_me:7995: \"$ac_try\"") >&5 8011 { (eval echo "$as_me:8011: \"$ac_try\"") >&5
7996 (eval $ac_try) 2>&5 8012 (eval $ac_try) 2>&5
7997 ac_status=$? 8013 ac_status=$?
7998 echo "$as_me:7998: \$? = $ac_status" >&5 8014 echo "$as_me:8014: \$? = $ac_status" >&5
7999 (exit $ac_status); }; }; then 8015 (exit $ac_status); }; }; then
8000 ac_cv_func_alloca_works=yes 8016 ac_cv_func_alloca_works=yes
8001 else 8017 else
8002 echo "$as_me: failed program was:" >&5 8018 echo "$as_me: failed program was:" >&5
8003 cat conftest.$ac_ext >&5 8019 cat conftest.$ac_ext >&5
8004 ac_cv_func_alloca_works=no 8020 ac_cv_func_alloca_works=no
8005 fi 8021 fi
8006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8007 fi 8023 fi
8008 echo "$as_me:8008: result: $ac_cv_func_alloca_works" >&5 8024 echo "$as_me:8024: result: $ac_cv_func_alloca_works" >&5
8009 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 8025 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8010 8026
8011 if test $ac_cv_func_alloca_works = yes; then 8027 if test $ac_cv_func_alloca_works = yes; then
8012 8028
8013 cat >>confdefs.h <<\EOF 8029 cat >>confdefs.h <<\EOF
8024 8040
8025 cat >>confdefs.h <<\EOF 8041 cat >>confdefs.h <<\EOF
8026 #define C_ALLOCA 1 8042 #define C_ALLOCA 1
8027 EOF 8043 EOF
8028 8044
8029 echo "$as_me:8029: checking whether \`alloca.c' needs Cray hooks" >&5 8045 echo "$as_me:8045: checking whether \`alloca.c' needs Cray hooks" >&5
8030 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 8046 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8031 if test "${ac_cv_os_cray+set}" = set; then 8047 if test "${ac_cv_os_cray+set}" = set; then
8032 echo $ECHO_N "(cached) $ECHO_C" >&6 8048 echo $ECHO_N "(cached) $ECHO_C" >&6
8033 else 8049 else
8034 cat >conftest.$ac_ext <<_ACEOF 8050 cat >conftest.$ac_ext <<_ACEOF
8035 #line 8035 "configure" 8051 #line 8051 "configure"
8036 #include "confdefs.h" 8052 #include "confdefs.h"
8037 #if defined(CRAY) && ! defined(CRAY2) 8053 #if defined(CRAY) && ! defined(CRAY2)
8038 webecray 8054 webecray
8039 #else 8055 #else
8040 wenotbecray 8056 wenotbecray
8048 ac_cv_os_cray=no 8064 ac_cv_os_cray=no
8049 fi 8065 fi
8050 rm -f conftest* 8066 rm -f conftest*
8051 8067
8052 fi 8068 fi
8053 echo "$as_me:8053: result: $ac_cv_os_cray" >&5 8069 echo "$as_me:8069: result: $ac_cv_os_cray" >&5
8054 echo "${ECHO_T}$ac_cv_os_cray" >&6 8070 echo "${ECHO_T}$ac_cv_os_cray" >&6
8055 if test $ac_cv_os_cray = yes; then 8071 if test $ac_cv_os_cray = yes; then
8056 for ac_func in _getb67 GETB67 getb67; do 8072 for ac_func in _getb67 GETB67 getb67; do
8057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8058 echo "$as_me:8058: checking for $ac_func" >&5 8074 echo "$as_me:8074: checking for $ac_func" >&5
8059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8060 if eval "test \"\${$as_ac_var+set}\" = set"; then 8076 if eval "test \"\${$as_ac_var+set}\" = set"; then
8061 echo $ECHO_N "(cached) $ECHO_C" >&6 8077 echo $ECHO_N "(cached) $ECHO_C" >&6
8062 else 8078 else
8063 cat >conftest.$ac_ext <<_ACEOF 8079 cat >conftest.$ac_ext <<_ACEOF
8064 #line 8064 "configure" 8080 #line 8080 "configure"
8065 #include "confdefs.h" 8081 #include "confdefs.h"
8066 /* System header to define __stub macros and hopefully few prototypes, 8082 /* System header to define __stub macros and hopefully few prototypes,
8067 which can conflict with char $ac_func (); below. */ 8083 which can conflict with char $ac_func (); below. */
8068 #include <assert.h> 8084 #include <assert.h>
8069 /* Override any gcc2 internal prototype to avoid an error. */ 8085 /* Override any gcc2 internal prototype to avoid an error. */
8090 ; 8106 ;
8091 return 0; 8107 return 0;
8092 } 8108 }
8093 _ACEOF 8109 _ACEOF
8094 rm -f conftest.$ac_objext conftest$ac_exeext 8110 rm -f conftest.$ac_objext conftest$ac_exeext
8095 if { (eval echo "$as_me:8095: \"$ac_link\"") >&5 8111 if { (eval echo "$as_me:8111: \"$ac_link\"") >&5
8096 (eval $ac_link) 2>&5 8112 (eval $ac_link) 2>&5
8097 ac_status=$? 8113 ac_status=$?
8098 echo "$as_me:8098: \$? = $ac_status" >&5 8114 echo "$as_me:8114: \$? = $ac_status" >&5
8099 (exit $ac_status); } && 8115 (exit $ac_status); } &&
8100 { ac_try='test -s conftest$ac_exeext' 8116 { ac_try='test -s conftest$ac_exeext'
8101 { (eval echo "$as_me:8101: \"$ac_try\"") >&5 8117 { (eval echo "$as_me:8117: \"$ac_try\"") >&5
8102 (eval $ac_try) 2>&5 8118 (eval $ac_try) 2>&5
8103 ac_status=$? 8119 ac_status=$?
8104 echo "$as_me:8104: \$? = $ac_status" >&5 8120 echo "$as_me:8120: \$? = $ac_status" >&5
8105 (exit $ac_status); }; }; then 8121 (exit $ac_status); }; }; then
8106 eval "$as_ac_var=yes" 8122 eval "$as_ac_var=yes"
8107 else 8123 else
8108 echo "$as_me: failed program was:" >&5 8124 echo "$as_me: failed program was:" >&5
8109 cat conftest.$ac_ext >&5 8125 cat conftest.$ac_ext >&5
8110 eval "$as_ac_var=no" 8126 eval "$as_ac_var=no"
8111 fi 8127 fi
8112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8113 fi 8129 fi
8114 echo "$as_me:8114: result: `eval echo '${'$as_ac_var'}'`" >&5 8130 echo "$as_me:8130: result: `eval echo '${'$as_ac_var'}'`" >&5
8115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8116 if test `eval echo '${'$as_ac_var'}'` = yes; then 8132 if test `eval echo '${'$as_ac_var'}'` = yes; then
8117 8133
8118 cat >>confdefs.h <<EOF 8134 cat >>confdefs.h <<EOF
8119 #define CRAY_STACKSEG_END $ac_func 8135 #define CRAY_STACKSEG_END $ac_func
8123 fi 8139 fi
8124 8140
8125 done 8141 done
8126 fi 8142 fi
8127 8143
8128 echo "$as_me:8128: checking stack direction for C alloca" >&5 8144 echo "$as_me:8144: checking stack direction for C alloca" >&5
8129 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 8145 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8130 if test "${ac_cv_c_stack_direction+set}" = set; then 8146 if test "${ac_cv_c_stack_direction+set}" = set; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6 8147 echo $ECHO_N "(cached) $ECHO_C" >&6
8132 else 8148 else
8133 if test "$cross_compiling" = yes; then 8149 if test "$cross_compiling" = yes; then
8134 ac_cv_c_stack_direction=0 8150 ac_cv_c_stack_direction=0
8135 else 8151 else
8136 cat >conftest.$ac_ext <<_ACEOF 8152 cat >conftest.$ac_ext <<_ACEOF
8137 #line 8137 "configure" 8153 #line 8153 "configure"
8138 #include "confdefs.h" 8154 #include "confdefs.h"
8139 int 8155 int
8140 find_stack_direction () 8156 find_stack_direction ()
8141 { 8157 {
8142 static char *addr = 0; 8158 static char *addr = 0;
8155 { 8171 {
8156 exit (find_stack_direction () < 0); 8172 exit (find_stack_direction () < 0);
8157 } 8173 }
8158 _ACEOF 8174 _ACEOF
8159 rm -f conftest$ac_exeext 8175 rm -f conftest$ac_exeext
8160 if { (eval echo "$as_me:8160: \"$ac_link\"") >&5 8176 if { (eval echo "$as_me:8176: \"$ac_link\"") >&5
8161 (eval $ac_link) 2>&5 8177 (eval $ac_link) 2>&5
8162 ac_status=$? 8178 ac_status=$?
8163 echo "$as_me:8163: \$? = $ac_status" >&5 8179 echo "$as_me:8179: \$? = $ac_status" >&5
8164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8180 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8165 { (eval echo "$as_me:8165: \"$ac_try\"") >&5 8181 { (eval echo "$as_me:8181: \"$ac_try\"") >&5
8166 (eval $ac_try) 2>&5 8182 (eval $ac_try) 2>&5
8167 ac_status=$? 8183 ac_status=$?
8168 echo "$as_me:8168: \$? = $ac_status" >&5 8184 echo "$as_me:8184: \$? = $ac_status" >&5
8169 (exit $ac_status); }; }; then 8185 (exit $ac_status); }; }; then
8170 ac_cv_c_stack_direction=1 8186 ac_cv_c_stack_direction=1
8171 else 8187 else
8172 echo "$as_me: program exited with status $ac_status" >&5 8188 echo "$as_me: program exited with status $ac_status" >&5
8173 echo "$as_me: failed program was:" >&5 8189 echo "$as_me: failed program was:" >&5
8175 ac_cv_c_stack_direction=-1 8191 ac_cv_c_stack_direction=-1
8176 fi 8192 fi
8177 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8193 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8178 fi 8194 fi
8179 fi 8195 fi
8180 echo "$as_me:8180: result: $ac_cv_c_stack_direction" >&5 8196 echo "$as_me:8196: result: $ac_cv_c_stack_direction" >&5
8181 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 8197 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8182 8198
8183 cat >>confdefs.h <<EOF 8199 cat >>confdefs.h <<EOF
8184 #define STACK_DIRECTION $ac_cv_c_stack_direction 8200 #define STACK_DIRECTION $ac_cv_c_stack_direction
8185 EOF 8201 EOF
8187 fi 8203 fi
8188 8204
8189 # fmod, logb, and frexp are found in -lm on most systems. 8205 # fmod, logb, and frexp are found in -lm on most systems.
8190 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. 8206 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
8191 8207
8192 echo "$as_me:8192: checking for sqrt in -lm" >&5 8208 echo "$as_me:8208: checking for sqrt in -lm" >&5
8193 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 8209 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
8194 if test "${ac_cv_lib_m_sqrt+set}" = set; then 8210 if test "${ac_cv_lib_m_sqrt+set}" = set; then
8195 echo $ECHO_N "(cached) $ECHO_C" >&6 8211 echo $ECHO_N "(cached) $ECHO_C" >&6
8196 else 8212 else
8197 ac_check_lib_save_LIBS=$LIBS 8213 ac_check_lib_save_LIBS=$LIBS
8198 LIBS="-lm $LIBS" 8214 LIBS="-lm $LIBS"
8199 cat >conftest.$ac_ext <<_ACEOF 8215 cat >conftest.$ac_ext <<_ACEOF
8200 #line 8200 "configure" 8216 #line 8216 "configure"
8201 #include "confdefs.h" 8217 #include "confdefs.h"
8202 8218
8203 /* Override any gcc2 internal prototype to avoid an error. */ 8219 /* Override any gcc2 internal prototype to avoid an error. */
8204 #ifdef __cplusplus 8220 #ifdef __cplusplus
8205 extern "C" 8221 extern "C"
8214 ; 8230 ;
8215 return 0; 8231 return 0;
8216 } 8232 }
8217 _ACEOF 8233 _ACEOF
8218 rm -f conftest.$ac_objext conftest$ac_exeext 8234 rm -f conftest.$ac_objext conftest$ac_exeext
8219 if { (eval echo "$as_me:8219: \"$ac_link\"") >&5 8235 if { (eval echo "$as_me:8235: \"$ac_link\"") >&5
8220 (eval $ac_link) 2>&5 8236 (eval $ac_link) 2>&5
8221 ac_status=$? 8237 ac_status=$?
8222 echo "$as_me:8222: \$? = $ac_status" >&5 8238 echo "$as_me:8238: \$? = $ac_status" >&5
8223 (exit $ac_status); } && 8239 (exit $ac_status); } &&
8224 { ac_try='test -s conftest$ac_exeext' 8240 { ac_try='test -s conftest$ac_exeext'
8225 { (eval echo "$as_me:8225: \"$ac_try\"") >&5 8241 { (eval echo "$as_me:8241: \"$ac_try\"") >&5
8226 (eval $ac_try) 2>&5 8242 (eval $ac_try) 2>&5
8227 ac_status=$? 8243 ac_status=$?
8228 echo "$as_me:8228: \$? = $ac_status" >&5 8244 echo "$as_me:8244: \$? = $ac_status" >&5
8229 (exit $ac_status); }; }; then 8245 (exit $ac_status); }; }; then
8230 ac_cv_lib_m_sqrt=yes 8246 ac_cv_lib_m_sqrt=yes
8231 else 8247 else
8232 echo "$as_me: failed program was:" >&5 8248 echo "$as_me: failed program was:" >&5
8233 cat conftest.$ac_ext >&5 8249 cat conftest.$ac_ext >&5
8234 ac_cv_lib_m_sqrt=no 8250 ac_cv_lib_m_sqrt=no
8235 fi 8251 fi
8236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8237 LIBS=$ac_check_lib_save_LIBS 8253 LIBS=$ac_check_lib_save_LIBS
8238 fi 8254 fi
8239 echo "$as_me:8239: result: $ac_cv_lib_m_sqrt" >&5 8255 echo "$as_me:8255: result: $ac_cv_lib_m_sqrt" >&5
8240 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 8256 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
8241 if test $ac_cv_lib_m_sqrt = yes; then 8257 if test $ac_cv_lib_m_sqrt = yes; then
8242 cat >>confdefs.h <<EOF 8258 cat >>confdefs.h <<EOF
8243 #define HAVE_LIBM 1 8259 #define HAVE_LIBM 1
8244 EOF 8260 EOF
8247 8263
8248 fi 8264 fi
8249 8265
8250 # Check for mail-locking functions in a "mail" library 8266 # Check for mail-locking functions in a "mail" library
8251 8267
8252 echo "$as_me:8252: checking for maillock in -lmail" >&5 8268 echo "$as_me:8268: checking for maillock in -lmail" >&5
8253 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 8269 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
8254 if test "${ac_cv_lib_mail_maillock+set}" = set; then 8270 if test "${ac_cv_lib_mail_maillock+set}" = set; then
8255 echo $ECHO_N "(cached) $ECHO_C" >&6 8271 echo $ECHO_N "(cached) $ECHO_C" >&6
8256 else 8272 else
8257 ac_check_lib_save_LIBS=$LIBS 8273 ac_check_lib_save_LIBS=$LIBS
8258 LIBS="-lmail $LIBS" 8274 LIBS="-lmail $LIBS"
8259 cat >conftest.$ac_ext <<_ACEOF 8275 cat >conftest.$ac_ext <<_ACEOF
8260 #line 8260 "configure" 8276 #line 8276 "configure"
8261 #include "confdefs.h" 8277 #include "confdefs.h"
8262 8278
8263 /* Override any gcc2 internal prototype to avoid an error. */ 8279 /* Override any gcc2 internal prototype to avoid an error. */
8264 #ifdef __cplusplus 8280 #ifdef __cplusplus
8265 extern "C" 8281 extern "C"
8274 ; 8290 ;
8275 return 0; 8291 return 0;
8276 } 8292 }
8277 _ACEOF 8293 _ACEOF
8278 rm -f conftest.$ac_objext conftest$ac_exeext 8294 rm -f conftest.$ac_objext conftest$ac_exeext
8279 if { (eval echo "$as_me:8279: \"$ac_link\"") >&5 8295 if { (eval echo "$as_me:8295: \"$ac_link\"") >&5
8280 (eval $ac_link) 2>&5 8296 (eval $ac_link) 2>&5
8281 ac_status=$? 8297 ac_status=$?
8282 echo "$as_me:8282: \$? = $ac_status" >&5 8298 echo "$as_me:8298: \$? = $ac_status" >&5
8283 (exit $ac_status); } && 8299 (exit $ac_status); } &&
8284 { ac_try='test -s conftest$ac_exeext' 8300 { ac_try='test -s conftest$ac_exeext'
8285 { (eval echo "$as_me:8285: \"$ac_try\"") >&5 8301 { (eval echo "$as_me:8301: \"$ac_try\"") >&5
8286 (eval $ac_try) 2>&5 8302 (eval $ac_try) 2>&5
8287 ac_status=$? 8303 ac_status=$?
8288 echo "$as_me:8288: \$? = $ac_status" >&5 8304 echo "$as_me:8304: \$? = $ac_status" >&5
8289 (exit $ac_status); }; }; then 8305 (exit $ac_status); }; }; then
8290 ac_cv_lib_mail_maillock=yes 8306 ac_cv_lib_mail_maillock=yes
8291 else 8307 else
8292 echo "$as_me: failed program was:" >&5 8308 echo "$as_me: failed program was:" >&5
8293 cat conftest.$ac_ext >&5 8309 cat conftest.$ac_ext >&5
8294 ac_cv_lib_mail_maillock=no 8310 ac_cv_lib_mail_maillock=no
8295 fi 8311 fi
8296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8312 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8297 LIBS=$ac_check_lib_save_LIBS 8313 LIBS=$ac_check_lib_save_LIBS
8298 fi 8314 fi
8299 echo "$as_me:8299: result: $ac_cv_lib_mail_maillock" >&5 8315 echo "$as_me:8315: result: $ac_cv_lib_mail_maillock" >&5
8300 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 8316 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
8301 if test $ac_cv_lib_mail_maillock = yes; then 8317 if test $ac_cv_lib_mail_maillock = yes; then
8302 cat >>confdefs.h <<EOF 8318 cat >>confdefs.h <<EOF
8303 #define HAVE_LIBMAIL 1 8319 #define HAVE_LIBMAIL 1
8304 EOF 8320 EOF
8305 8321
8306 LIBS="-lmail $LIBS" 8322 LIBS="-lmail $LIBS"
8307 8323
8308 fi 8324 fi
8309 8325
8310 echo "$as_me:8310: checking for maillock in -llockfile" >&5 8326 echo "$as_me:8326: checking for maillock in -llockfile" >&5
8311 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 8327 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
8312 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then 8328 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8313 echo $ECHO_N "(cached) $ECHO_C" >&6 8329 echo $ECHO_N "(cached) $ECHO_C" >&6
8314 else 8330 else
8315 ac_check_lib_save_LIBS=$LIBS 8331 ac_check_lib_save_LIBS=$LIBS
8316 LIBS="-llockfile $LIBS" 8332 LIBS="-llockfile $LIBS"
8317 cat >conftest.$ac_ext <<_ACEOF 8333 cat >conftest.$ac_ext <<_ACEOF
8318 #line 8318 "configure" 8334 #line 8334 "configure"
8319 #include "confdefs.h" 8335 #include "confdefs.h"
8320 8336
8321 /* Override any gcc2 internal prototype to avoid an error. */ 8337 /* Override any gcc2 internal prototype to avoid an error. */
8322 #ifdef __cplusplus 8338 #ifdef __cplusplus
8323 extern "C" 8339 extern "C"
8332 ; 8348 ;
8333 return 0; 8349 return 0;
8334 } 8350 }
8335 _ACEOF 8351 _ACEOF
8336 rm -f conftest.$ac_objext conftest$ac_exeext 8352 rm -f conftest.$ac_objext conftest$ac_exeext
8337 if { (eval echo "$as_me:8337: \"$ac_link\"") >&5 8353 if { (eval echo "$as_me:8353: \"$ac_link\"") >&5
8338 (eval $ac_link) 2>&5 8354 (eval $ac_link) 2>&5
8339 ac_status=$? 8355 ac_status=$?
8340 echo "$as_me:8340: \$? = $ac_status" >&5 8356 echo "$as_me:8356: \$? = $ac_status" >&5
8341 (exit $ac_status); } && 8357 (exit $ac_status); } &&
8342 { ac_try='test -s conftest$ac_exeext' 8358 { ac_try='test -s conftest$ac_exeext'
8343 { (eval echo "$as_me:8343: \"$ac_try\"") >&5 8359 { (eval echo "$as_me:8359: \"$ac_try\"") >&5
8344 (eval $ac_try) 2>&5 8360 (eval $ac_try) 2>&5
8345 ac_status=$? 8361 ac_status=$?
8346 echo "$as_me:8346: \$? = $ac_status" >&5 8362 echo "$as_me:8362: \$? = $ac_status" >&5
8347 (exit $ac_status); }; }; then 8363 (exit $ac_status); }; }; then
8348 ac_cv_lib_lockfile_maillock=yes 8364 ac_cv_lib_lockfile_maillock=yes
8349 else 8365 else
8350 echo "$as_me: failed program was:" >&5 8366 echo "$as_me: failed program was:" >&5
8351 cat conftest.$ac_ext >&5 8367 cat conftest.$ac_ext >&5
8352 ac_cv_lib_lockfile_maillock=no 8368 ac_cv_lib_lockfile_maillock=no
8353 fi 8369 fi
8354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8355 LIBS=$ac_check_lib_save_LIBS 8371 LIBS=$ac_check_lib_save_LIBS
8356 fi 8372 fi
8357 echo "$as_me:8357: result: $ac_cv_lib_lockfile_maillock" >&5 8373 echo "$as_me:8373: result: $ac_cv_lib_lockfile_maillock" >&5
8358 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 8374 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8359 if test $ac_cv_lib_lockfile_maillock = yes; then 8375 if test $ac_cv_lib_lockfile_maillock = yes; then
8360 cat >>confdefs.h <<EOF 8376 cat >>confdefs.h <<EOF
8361 #define HAVE_LIBLOCKFILE 1 8377 #define HAVE_LIBLOCKFILE 1
8362 EOF 8378 EOF
8369 # locking (e.g. Debian). If we couldn't link against liblockfile 8385 # locking (e.g. Debian). If we couldn't link against liblockfile
8370 # (no liblockfile.a installed), ensure that we don't need to. 8386 # (no liblockfile.a installed), ensure that we don't need to.
8371 if test "$ac_cv_lib_lockfile_maillock" = no; then 8387 if test "$ac_cv_lib_lockfile_maillock" = no; then
8372 # Extract the first word of "liblockfile.so", so it can be a program name with args. 8388 # Extract the first word of "liblockfile.so", so it can be a program name with args.
8373 set dummy liblockfile.so; ac_word=$2 8389 set dummy liblockfile.so; ac_word=$2
8374 echo "$as_me:8374: checking for $ac_word" >&5 8390 echo "$as_me:8390: checking for $ac_word" >&5
8375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 8391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8376 if test "${ac_cv_prog_liblockfile+set}" = set; then 8392 if test "${ac_cv_prog_liblockfile+set}" = set; then
8377 echo $ECHO_N "(cached) $ECHO_C" >&6 8393 echo $ECHO_N "(cached) $ECHO_C" >&6
8378 else 8394 else
8379 if test -n "$liblockfile"; then 8395 if test -n "$liblockfile"; then
8384 for ac_dir in $ac_dummy; do 8400 for ac_dir in $ac_dummy; do
8385 IFS=$ac_save_IFS 8401 IFS=$ac_save_IFS
8386 test -z "$ac_dir" && ac_dir=. 8402 test -z "$ac_dir" && ac_dir=.
8387 $as_executable_p "$ac_dir/$ac_word" || continue 8403 $as_executable_p "$ac_dir/$ac_word" || continue
8388 ac_cv_prog_liblockfile="yes" 8404 ac_cv_prog_liblockfile="yes"
8389 echo "$as_me:8389: found $ac_dir/$ac_word" >&5 8405 echo "$as_me:8405: found $ac_dir/$ac_word" >&5
8390 break 8406 break
8391 done 8407 done
8392 8408
8393 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" 8409 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
8394 fi 8410 fi
8395 fi 8411 fi
8396 liblockfile=$ac_cv_prog_liblockfile 8412 liblockfile=$ac_cv_prog_liblockfile
8397 if test -n "$liblockfile"; then 8413 if test -n "$liblockfile"; then
8398 echo "$as_me:8398: result: $liblockfile" >&5 8414 echo "$as_me:8414: result: $liblockfile" >&5
8399 echo "${ECHO_T}$liblockfile" >&6 8415 echo "${ECHO_T}$liblockfile" >&6
8400 else 8416 else
8401 echo "$as_me:8401: result: no" >&5 8417 echo "$as_me:8417: result: no" >&5
8402 echo "${ECHO_T}no" >&6 8418 echo "${ECHO_T}no" >&6
8403 fi 8419 fi
8404 8420
8405 if test $ac_cv_prog_liblockfile = yes; then 8421 if test $ac_cv_prog_liblockfile = yes; then
8406 { { echo "$as_me:8406: error: Shared liblockfile found but can't link against it. 8422 { { echo "$as_me:8422: error: Shared liblockfile found but can't link against it.
8407 This probably means that movemail could lose mail. 8423 This probably means that movemail could lose mail.
8408 There may be a \`development' package to install containing liblockfile." >&5 8424 There may be a \`development' package to install containing liblockfile." >&5
8409 echo "$as_me: error: Shared liblockfile found but can't link against it. 8425 echo "$as_me: error: Shared liblockfile found but can't link against it.
8410 This probably means that movemail could lose mail. 8426 This probably means that movemail could lose mail.
8411 There may be a \`development' package to install containing liblockfile." >&2;} 8427 There may be a \`development' package to install containing liblockfile." >&2;}
8420 fi 8436 fi
8421 8437
8422 for ac_func in touchlock 8438 for ac_func in touchlock
8423 do 8439 do
8424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8425 echo "$as_me:8425: checking for $ac_func" >&5 8441 echo "$as_me:8441: checking for $ac_func" >&5
8426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8427 if eval "test \"\${$as_ac_var+set}\" = set"; then 8443 if eval "test \"\${$as_ac_var+set}\" = set"; then
8428 echo $ECHO_N "(cached) $ECHO_C" >&6 8444 echo $ECHO_N "(cached) $ECHO_C" >&6
8429 else 8445 else
8430 cat >conftest.$ac_ext <<_ACEOF 8446 cat >conftest.$ac_ext <<_ACEOF
8431 #line 8431 "configure" 8447 #line 8447 "configure"
8432 #include "confdefs.h" 8448 #include "confdefs.h"
8433 /* System header to define __stub macros and hopefully few prototypes, 8449 /* System header to define __stub macros and hopefully few prototypes,
8434 which can conflict with char $ac_func (); below. */ 8450 which can conflict with char $ac_func (); below. */
8435 #include <assert.h> 8451 #include <assert.h>
8436 /* Override any gcc2 internal prototype to avoid an error. */ 8452 /* Override any gcc2 internal prototype to avoid an error. */
8457 ; 8473 ;
8458 return 0; 8474 return 0;
8459 } 8475 }
8460 _ACEOF 8476 _ACEOF
8461 rm -f conftest.$ac_objext conftest$ac_exeext 8477 rm -f conftest.$ac_objext conftest$ac_exeext
8462 if { (eval echo "$as_me:8462: \"$ac_link\"") >&5 8478 if { (eval echo "$as_me:8478: \"$ac_link\"") >&5
8463 (eval $ac_link) 2>&5 8479 (eval $ac_link) 2>&5
8464 ac_status=$? 8480 ac_status=$?
8465 echo "$as_me:8465: \$? = $ac_status" >&5 8481 echo "$as_me:8481: \$? = $ac_status" >&5
8466 (exit $ac_status); } && 8482 (exit $ac_status); } &&
8467 { ac_try='test -s conftest$ac_exeext' 8483 { ac_try='test -s conftest$ac_exeext'
8468 { (eval echo "$as_me:8468: \"$ac_try\"") >&5 8484 { (eval echo "$as_me:8484: \"$ac_try\"") >&5
8469 (eval $ac_try) 2>&5 8485 (eval $ac_try) 2>&5
8470 ac_status=$? 8486 ac_status=$?
8471 echo "$as_me:8471: \$? = $ac_status" >&5 8487 echo "$as_me:8487: \$? = $ac_status" >&5
8472 (exit $ac_status); }; }; then 8488 (exit $ac_status); }; }; then
8473 eval "$as_ac_var=yes" 8489 eval "$as_ac_var=yes"
8474 else 8490 else
8475 echo "$as_me: failed program was:" >&5 8491 echo "$as_me: failed program was:" >&5
8476 cat conftest.$ac_ext >&5 8492 cat conftest.$ac_ext >&5
8477 eval "$as_ac_var=no" 8493 eval "$as_ac_var=no"
8478 fi 8494 fi
8479 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8480 fi 8496 fi
8481 echo "$as_me:8481: result: `eval echo '${'$as_ac_var'}'`" >&5 8497 echo "$as_me:8497: result: `eval echo '${'$as_ac_var'}'`" >&5
8482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8483 if test `eval echo '${'$as_ac_var'}'` = yes; then 8499 if test `eval echo '${'$as_ac_var'}'` = yes; then
8484 cat >>confdefs.h <<EOF 8500 cat >>confdefs.h <<EOF
8485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8486 EOF 8502 EOF
8489 done 8505 done
8490 8506
8491 for ac_header in maillock.h 8507 for ac_header in maillock.h
8492 do 8508 do
8493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8494 echo "$as_me:8494: checking for $ac_header" >&5 8510 echo "$as_me:8510: checking for $ac_header" >&5
8495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8496 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8497 echo $ECHO_N "(cached) $ECHO_C" >&6 8513 echo $ECHO_N "(cached) $ECHO_C" >&6
8498 else 8514 else
8499 cat >conftest.$ac_ext <<_ACEOF 8515 cat >conftest.$ac_ext <<_ACEOF
8500 #line 8500 "configure" 8516 #line 8516 "configure"
8501 #include "confdefs.h" 8517 #include "confdefs.h"
8502 #include <$ac_header> 8518 #include <$ac_header>
8503 _ACEOF 8519 _ACEOF
8504 if { (eval echo "$as_me:8504: \"$ac_cpp conftest.$ac_ext\"") >&5 8520 if { (eval echo "$as_me:8520: \"$ac_cpp conftest.$ac_ext\"") >&5
8505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8506 ac_status=$? 8522 ac_status=$?
8507 egrep -v '^ *\+' conftest.er1 >conftest.err 8523 egrep -v '^ *\+' conftest.er1 >conftest.err
8508 rm -f conftest.er1 8524 rm -f conftest.er1
8509 cat conftest.err >&5 8525 cat conftest.err >&5
8510 echo "$as_me:8510: \$? = $ac_status" >&5 8526 echo "$as_me:8526: \$? = $ac_status" >&5
8511 (exit $ac_status); } >/dev/null; then 8527 (exit $ac_status); } >/dev/null; then
8512 if test -s conftest.err; then 8528 if test -s conftest.err; then
8513 ac_cpp_err=$ac_c_preproc_warn_flag 8529 ac_cpp_err=$ac_c_preproc_warn_flag
8514 else 8530 else
8515 ac_cpp_err= 8531 ac_cpp_err=
8524 cat conftest.$ac_ext >&5 8540 cat conftest.$ac_ext >&5
8525 eval "$as_ac_Header=no" 8541 eval "$as_ac_Header=no"
8526 fi 8542 fi
8527 rm -f conftest.err conftest.$ac_ext 8543 rm -f conftest.err conftest.$ac_ext
8528 fi 8544 fi
8529 echo "$as_me:8529: result: `eval echo '${'$as_ac_Header'}'`" >&5 8545 echo "$as_me:8545: result: `eval echo '${'$as_ac_Header'}'`" >&5
8530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8531 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8532 cat >>confdefs.h <<EOF 8548 cat >>confdefs.h <<EOF
8533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8534 EOF 8550 EOF
8544 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 8560 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
8545 sendto recvfrom getsockopt setsockopt getsockname getpeername \ 8561 sendto recvfrom getsockopt setsockopt getsockname getpeername \
8546 gai_strerror mkstemp getline getdelim 8562 gai_strerror mkstemp getline getdelim
8547 do 8563 do
8548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8549 echo "$as_me:8549: checking for $ac_func" >&5 8565 echo "$as_me:8565: checking for $ac_func" >&5
8550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8551 if eval "test \"\${$as_ac_var+set}\" = set"; then 8567 if eval "test \"\${$as_ac_var+set}\" = set"; then
8552 echo $ECHO_N "(cached) $ECHO_C" >&6 8568 echo $ECHO_N "(cached) $ECHO_C" >&6
8553 else 8569 else
8554 cat >conftest.$ac_ext <<_ACEOF 8570 cat >conftest.$ac_ext <<_ACEOF
8555 #line 8555 "configure" 8571 #line 8571 "configure"
8556 #include "confdefs.h" 8572 #include "confdefs.h"
8557 /* System header to define __stub macros and hopefully few prototypes, 8573 /* System header to define __stub macros and hopefully few prototypes,
8558 which can conflict with char $ac_func (); below. */ 8574 which can conflict with char $ac_func (); below. */
8559 #include <assert.h> 8575 #include <assert.h>
8560 /* Override any gcc2 internal prototype to avoid an error. */ 8576 /* Override any gcc2 internal prototype to avoid an error. */
8581 ; 8597 ;
8582 return 0; 8598 return 0;
8583 } 8599 }
8584 _ACEOF 8600 _ACEOF
8585 rm -f conftest.$ac_objext conftest$ac_exeext 8601 rm -f conftest.$ac_objext conftest$ac_exeext
8586 if { (eval echo "$as_me:8586: \"$ac_link\"") >&5 8602 if { (eval echo "$as_me:8602: \"$ac_link\"") >&5
8587 (eval $ac_link) 2>&5 8603 (eval $ac_link) 2>&5
8588 ac_status=$? 8604 ac_status=$?
8589 echo "$as_me:8589: \$? = $ac_status" >&5 8605 echo "$as_me:8605: \$? = $ac_status" >&5
8590 (exit $ac_status); } && 8606 (exit $ac_status); } &&
8591 { ac_try='test -s conftest$ac_exeext' 8607 { ac_try='test -s conftest$ac_exeext'
8592 { (eval echo "$as_me:8592: \"$ac_try\"") >&5 8608 { (eval echo "$as_me:8608: \"$ac_try\"") >&5
8593 (eval $ac_try) 2>&5 8609 (eval $ac_try) 2>&5
8594 ac_status=$? 8610 ac_status=$?
8595 echo "$as_me:8595: \$? = $ac_status" >&5 8611 echo "$as_me:8611: \$? = $ac_status" >&5
8596 (exit $ac_status); }; }; then 8612 (exit $ac_status); }; }; then
8597 eval "$as_ac_var=yes" 8613 eval "$as_ac_var=yes"
8598 else 8614 else
8599 echo "$as_me: failed program was:" >&5 8615 echo "$as_me: failed program was:" >&5
8600 cat conftest.$ac_ext >&5 8616 cat conftest.$ac_ext >&5
8601 eval "$as_ac_var=no" 8617 eval "$as_ac_var=no"
8602 fi 8618 fi
8603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8619 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8604 fi 8620 fi
8605 echo "$as_me:8605: result: `eval echo '${'$as_ac_var'}'`" >&5 8621 echo "$as_me:8621: result: `eval echo '${'$as_ac_var'}'`" >&5
8606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8607 if test `eval echo '${'$as_ac_var'}'` = yes; then 8623 if test `eval echo '${'$as_ac_var'}'` = yes; then
8608 cat >>confdefs.h <<EOF 8624 cat >>confdefs.h <<EOF
8609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8610 EOF 8626 EOF
8613 done 8629 done
8614 8630
8615 for ac_header in sys/un.h 8631 for ac_header in sys/un.h
8616 do 8632 do
8617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8618 echo "$as_me:8618: checking for $ac_header" >&5 8634 echo "$as_me:8634: checking for $ac_header" >&5
8619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8620 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8621 echo $ECHO_N "(cached) $ECHO_C" >&6 8637 echo $ECHO_N "(cached) $ECHO_C" >&6
8622 else 8638 else
8623 cat >conftest.$ac_ext <<_ACEOF 8639 cat >conftest.$ac_ext <<_ACEOF
8624 #line 8624 "configure" 8640 #line 8640 "configure"
8625 #include "confdefs.h" 8641 #include "confdefs.h"
8626 #include <$ac_header> 8642 #include <$ac_header>
8627 _ACEOF 8643 _ACEOF
8628 if { (eval echo "$as_me:8628: \"$ac_cpp conftest.$ac_ext\"") >&5 8644 if { (eval echo "$as_me:8644: \"$ac_cpp conftest.$ac_ext\"") >&5
8629 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8630 ac_status=$? 8646 ac_status=$?
8631 egrep -v '^ *\+' conftest.er1 >conftest.err 8647 egrep -v '^ *\+' conftest.er1 >conftest.err
8632 rm -f conftest.er1 8648 rm -f conftest.er1
8633 cat conftest.err >&5 8649 cat conftest.err >&5
8634 echo "$as_me:8634: \$? = $ac_status" >&5 8650 echo "$as_me:8650: \$? = $ac_status" >&5
8635 (exit $ac_status); } >/dev/null; then 8651 (exit $ac_status); } >/dev/null; then
8636 if test -s conftest.err; then 8652 if test -s conftest.err; then
8637 ac_cpp_err=$ac_c_preproc_warn_flag 8653 ac_cpp_err=$ac_c_preproc_warn_flag
8638 else 8654 else
8639 ac_cpp_err= 8655 ac_cpp_err=
8648 cat conftest.$ac_ext >&5 8664 cat conftest.$ac_ext >&5
8649 eval "$as_ac_Header=no" 8665 eval "$as_ac_Header=no"
8650 fi 8666 fi
8651 rm -f conftest.err conftest.$ac_ext 8667 rm -f conftest.err conftest.$ac_ext
8652 fi 8668 fi
8653 echo "$as_me:8653: result: `eval echo '${'$as_ac_Header'}'`" >&5 8669 echo "$as_me:8669: result: `eval echo '${'$as_ac_Header'}'`" >&5
8654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8655 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8656 cat >>confdefs.h <<EOF 8672 cat >>confdefs.h <<EOF
8657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8658 EOF 8674 EOF
8661 done 8677 done
8662 8678
8663 for ac_header in sys/time.h unistd.h 8679 for ac_header in sys/time.h unistd.h
8664 do 8680 do
8665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8666 echo "$as_me:8666: checking for $ac_header" >&5 8682 echo "$as_me:8682: checking for $ac_header" >&5
8667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8668 if eval "test \"\${$as_ac_Header+set}\" = set"; then 8684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8669 echo $ECHO_N "(cached) $ECHO_C" >&6 8685 echo $ECHO_N "(cached) $ECHO_C" >&6
8670 else 8686 else
8671 cat >conftest.$ac_ext <<_ACEOF 8687 cat >conftest.$ac_ext <<_ACEOF
8672 #line 8672 "configure" 8688 #line 8688 "configure"
8673 #include "confdefs.h" 8689 #include "confdefs.h"
8674 #include <$ac_header> 8690 #include <$ac_header>
8675 _ACEOF 8691 _ACEOF
8676 if { (eval echo "$as_me:8676: \"$ac_cpp conftest.$ac_ext\"") >&5 8692 if { (eval echo "$as_me:8692: \"$ac_cpp conftest.$ac_ext\"") >&5
8677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8678 ac_status=$? 8694 ac_status=$?
8679 egrep -v '^ *\+' conftest.er1 >conftest.err 8695 egrep -v '^ *\+' conftest.er1 >conftest.err
8680 rm -f conftest.er1 8696 rm -f conftest.er1
8681 cat conftest.err >&5 8697 cat conftest.err >&5
8682 echo "$as_me:8682: \$? = $ac_status" >&5 8698 echo "$as_me:8698: \$? = $ac_status" >&5
8683 (exit $ac_status); } >/dev/null; then 8699 (exit $ac_status); } >/dev/null; then
8684 if test -s conftest.err; then 8700 if test -s conftest.err; then
8685 ac_cpp_err=$ac_c_preproc_warn_flag 8701 ac_cpp_err=$ac_c_preproc_warn_flag
8686 else 8702 else
8687 ac_cpp_err= 8703 ac_cpp_err=
8696 cat conftest.$ac_ext >&5 8712 cat conftest.$ac_ext >&5
8697 eval "$as_ac_Header=no" 8713 eval "$as_ac_Header=no"
8698 fi 8714 fi
8699 rm -f conftest.err conftest.$ac_ext 8715 rm -f conftest.err conftest.$ac_ext
8700 fi 8716 fi
8701 echo "$as_me:8701: result: `eval echo '${'$as_ac_Header'}'`" >&5 8717 echo "$as_me:8717: result: `eval echo '${'$as_ac_Header'}'`" >&5
8702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8703 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8704 cat >>confdefs.h <<EOF 8720 cat >>confdefs.h <<EOF
8705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8706 EOF 8722 EOF
8709 done 8725 done
8710 8726
8711 for ac_func in alarm 8727 for ac_func in alarm
8712 do 8728 do
8713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8714 echo "$as_me:8714: checking for $ac_func" >&5 8730 echo "$as_me:8730: checking for $ac_func" >&5
8715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8716 if eval "test \"\${$as_ac_var+set}\" = set"; then 8732 if eval "test \"\${$as_ac_var+set}\" = set"; then
8717 echo $ECHO_N "(cached) $ECHO_C" >&6 8733 echo $ECHO_N "(cached) $ECHO_C" >&6
8718 else 8734 else
8719 cat >conftest.$ac_ext <<_ACEOF 8735 cat >conftest.$ac_ext <<_ACEOF
8720 #line 8720 "configure" 8736 #line 8736 "configure"
8721 #include "confdefs.h" 8737 #include "confdefs.h"
8722 /* System header to define __stub macros and hopefully few prototypes, 8738 /* System header to define __stub macros and hopefully few prototypes,
8723 which can conflict with char $ac_func (); below. */ 8739 which can conflict with char $ac_func (); below. */
8724 #include <assert.h> 8740 #include <assert.h>
8725 /* Override any gcc2 internal prototype to avoid an error. */ 8741 /* Override any gcc2 internal prototype to avoid an error. */
8746 ; 8762 ;
8747 return 0; 8763 return 0;
8748 } 8764 }
8749 _ACEOF 8765 _ACEOF
8750 rm -f conftest.$ac_objext conftest$ac_exeext 8766 rm -f conftest.$ac_objext conftest$ac_exeext
8751 if { (eval echo "$as_me:8751: \"$ac_link\"") >&5 8767 if { (eval echo "$as_me:8767: \"$ac_link\"") >&5
8752 (eval $ac_link) 2>&5 8768 (eval $ac_link) 2>&5
8753 ac_status=$? 8769 ac_status=$?
8754 echo "$as_me:8754: \$? = $ac_status" >&5 8770 echo "$as_me:8770: \$? = $ac_status" >&5
8755 (exit $ac_status); } && 8771 (exit $ac_status); } &&
8756 { ac_try='test -s conftest$ac_exeext' 8772 { ac_try='test -s conftest$ac_exeext'
8757 { (eval echo "$as_me:8757: \"$ac_try\"") >&5 8773 { (eval echo "$as_me:8773: \"$ac_try\"") >&5
8758 (eval $ac_try) 2>&5 8774 (eval $ac_try) 2>&5
8759 ac_status=$? 8775 ac_status=$?
8760 echo "$as_me:8760: \$? = $ac_status" >&5 8776 echo "$as_me:8776: \$? = $ac_status" >&5
8761 (exit $ac_status); }; }; then 8777 (exit $ac_status); }; }; then
8762 eval "$as_ac_var=yes" 8778 eval "$as_ac_var=yes"
8763 else 8779 else
8764 echo "$as_me: failed program was:" >&5 8780 echo "$as_me: failed program was:" >&5
8765 cat conftest.$ac_ext >&5 8781 cat conftest.$ac_ext >&5
8766 eval "$as_ac_var=no" 8782 eval "$as_ac_var=no"
8767 fi 8783 fi
8768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8769 fi 8785 fi
8770 echo "$as_me:8770: result: `eval echo '${'$as_ac_var'}'`" >&5 8786 echo "$as_me:8786: result: `eval echo '${'$as_ac_var'}'`" >&5
8771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8772 if test `eval echo '${'$as_ac_var'}'` = yes; then 8788 if test `eval echo '${'$as_ac_var'}'` = yes; then
8773 cat >>confdefs.h <<EOF 8789 cat >>confdefs.h <<EOF
8774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8775 EOF 8791 EOF
8776 8792
8777 fi 8793 fi
8778 done 8794 done
8779 8795
8780 echo "$as_me:8780: checking for working mktime" >&5 8796 echo "$as_me:8796: checking for working mktime" >&5
8781 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 8797 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8782 if test "${ac_cv_func_working_mktime+set}" = set; then 8798 if test "${ac_cv_func_working_mktime+set}" = set; then
8783 echo $ECHO_N "(cached) $ECHO_C" >&6 8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8784 else 8800 else
8785 if test "$cross_compiling" = yes; then 8801 if test "$cross_compiling" = yes; then
8786 ac_cv_func_working_mktime=no 8802 ac_cv_func_working_mktime=no
8787 else 8803 else
8788 cat >conftest.$ac_ext <<_ACEOF 8804 cat >conftest.$ac_ext <<_ACEOF
8789 #line 8789 "configure" 8805 #line 8805 "configure"
8790 #include "confdefs.h" 8806 #include "confdefs.h"
8791 /* Test program from Paul Eggert and Tony Leneis. */ 8807 /* Test program from Paul Eggert and Tony Leneis. */
8792 #if TIME_WITH_SYS_TIME 8808 #if TIME_WITH_SYS_TIME
8793 # include <sys/time.h> 8809 # include <sys/time.h>
8794 # include <time.h> 8810 # include <time.h>
8933 spring_forward_gap (); 8949 spring_forward_gap ();
8934 exit (0); 8950 exit (0);
8935 } 8951 }
8936 _ACEOF 8952 _ACEOF
8937 rm -f conftest$ac_exeext 8953 rm -f conftest$ac_exeext
8938 if { (eval echo "$as_me:8938: \"$ac_link\"") >&5 8954 if { (eval echo "$as_me:8954: \"$ac_link\"") >&5
8939 (eval $ac_link) 2>&5 8955 (eval $ac_link) 2>&5
8940 ac_status=$? 8956 ac_status=$?
8941 echo "$as_me:8941: \$? = $ac_status" >&5 8957 echo "$as_me:8957: \$? = $ac_status" >&5
8942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8958 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8943 { (eval echo "$as_me:8943: \"$ac_try\"") >&5 8959 { (eval echo "$as_me:8959: \"$ac_try\"") >&5
8944 (eval $ac_try) 2>&5 8960 (eval $ac_try) 2>&5
8945 ac_status=$? 8961 ac_status=$?
8946 echo "$as_me:8946: \$? = $ac_status" >&5 8962 echo "$as_me:8962: \$? = $ac_status" >&5
8947 (exit $ac_status); }; }; then 8963 (exit $ac_status); }; }; then
8948 ac_cv_func_working_mktime=yes 8964 ac_cv_func_working_mktime=yes
8949 else 8965 else
8950 echo "$as_me: program exited with status $ac_status" >&5 8966 echo "$as_me: program exited with status $ac_status" >&5
8951 echo "$as_me: failed program was:" >&5 8967 echo "$as_me: failed program was:" >&5
8953 ac_cv_func_working_mktime=no 8969 ac_cv_func_working_mktime=no
8954 fi 8970 fi
8955 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8971 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8956 fi 8972 fi
8957 fi 8973 fi
8958 echo "$as_me:8958: result: $ac_cv_func_working_mktime" >&5 8974 echo "$as_me:8974: result: $ac_cv_func_working_mktime" >&5
8959 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 8975 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8960 if test $ac_cv_func_working_mktime = no; then 8976 if test $ac_cv_func_working_mktime = no; then
8961 LIBOBJS="$LIBOBJS mktime.$ac_objext" 8977 LIBOBJS="$LIBOBJS mktime.$ac_objext"
8962 fi 8978 fi
8963 8979
8972 ac_have_func=no # yes means we've found a way to get the load average. 8988 ac_have_func=no # yes means we've found a way to get the load average.
8973 8989
8974 ac_save_LIBS=$LIBS 8990 ac_save_LIBS=$LIBS
8975 8991
8976 # Check for getloadavg, but be sure not to touch the cache variable. 8992 # Check for getloadavg, but be sure not to touch the cache variable.
8977 (echo "$as_me:8977: checking for getloadavg" >&5 8993 (echo "$as_me:8993: checking for getloadavg" >&5
8978 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 8994 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8979 if test "${ac_cv_func_getloadavg+set}" = set; then 8995 if test "${ac_cv_func_getloadavg+set}" = set; then
8980 echo $ECHO_N "(cached) $ECHO_C" >&6 8996 echo $ECHO_N "(cached) $ECHO_C" >&6
8981 else 8997 else
8982 cat >conftest.$ac_ext <<_ACEOF 8998 cat >conftest.$ac_ext <<_ACEOF
8983 #line 8983 "configure" 8999 #line 8999 "configure"
8984 #include "confdefs.h" 9000 #include "confdefs.h"
8985 /* System header to define __stub macros and hopefully few prototypes, 9001 /* System header to define __stub macros and hopefully few prototypes,
8986 which can conflict with char getloadavg (); below. */ 9002 which can conflict with char getloadavg (); below. */
8987 #include <assert.h> 9003 #include <assert.h>
8988 /* Override any gcc2 internal prototype to avoid an error. */ 9004 /* Override any gcc2 internal prototype to avoid an error. */
9009 ; 9025 ;
9010 return 0; 9026 return 0;
9011 } 9027 }
9012 _ACEOF 9028 _ACEOF
9013 rm -f conftest.$ac_objext conftest$ac_exeext 9029 rm -f conftest.$ac_objext conftest$ac_exeext
9014 if { (eval echo "$as_me:9014: \"$ac_link\"") >&5 9030 if { (eval echo "$as_me:9030: \"$ac_link\"") >&5
9015 (eval $ac_link) 2>&5 9031 (eval $ac_link) 2>&5
9016 ac_status=$? 9032 ac_status=$?
9017 echo "$as_me:9017: \$? = $ac_status" >&5 9033 echo "$as_me:9033: \$? = $ac_status" >&5
9018 (exit $ac_status); } && 9034 (exit $ac_status); } &&
9019 { ac_try='test -s conftest$ac_exeext' 9035 { ac_try='test -s conftest$ac_exeext'
9020 { (eval echo "$as_me:9020: \"$ac_try\"") >&5 9036 { (eval echo "$as_me:9036: \"$ac_try\"") >&5
9021 (eval $ac_try) 2>&5 9037 (eval $ac_try) 2>&5
9022 ac_status=$? 9038 ac_status=$?
9023 echo "$as_me:9023: \$? = $ac_status" >&5 9039 echo "$as_me:9039: \$? = $ac_status" >&5
9024 (exit $ac_status); }; }; then 9040 (exit $ac_status); }; }; then
9025 ac_cv_func_getloadavg=yes 9041 ac_cv_func_getloadavg=yes
9026 else 9042 else
9027 echo "$as_me: failed program was:" >&5 9043 echo "$as_me: failed program was:" >&5
9028 cat conftest.$ac_ext >&5 9044 cat conftest.$ac_ext >&5
9029 ac_cv_func_getloadavg=no 9045 ac_cv_func_getloadavg=no
9030 fi 9046 fi
9031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9032 fi 9048 fi
9033 echo "$as_me:9033: result: $ac_cv_func_getloadavg" >&5 9049 echo "$as_me:9049: result: $ac_cv_func_getloadavg" >&5
9034 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 9050 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
9035 if test $ac_cv_func_getloadavg = yes; then 9051 if test $ac_cv_func_getloadavg = yes; then
9036 exit 0 9052 exit 0
9037 else 9053 else
9038 exit 1 9054 exit 1
9042 # On HPUX9, an unprivileged user can get load averages through this function. 9058 # On HPUX9, an unprivileged user can get load averages through this function.
9043 9059
9044 for ac_func in pstat_getdynamic 9060 for ac_func in pstat_getdynamic
9045 do 9061 do
9046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9047 echo "$as_me:9047: checking for $ac_func" >&5 9063 echo "$as_me:9063: checking for $ac_func" >&5
9048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9049 if eval "test \"\${$as_ac_var+set}\" = set"; then 9065 if eval "test \"\${$as_ac_var+set}\" = set"; then
9050 echo $ECHO_N "(cached) $ECHO_C" >&6 9066 echo $ECHO_N "(cached) $ECHO_C" >&6
9051 else 9067 else
9052 cat >conftest.$ac_ext <<_ACEOF 9068 cat >conftest.$ac_ext <<_ACEOF
9053 #line 9053 "configure" 9069 #line 9069 "configure"
9054 #include "confdefs.h" 9070 #include "confdefs.h"
9055 /* System header to define __stub macros and hopefully few prototypes, 9071 /* System header to define __stub macros and hopefully few prototypes,
9056 which can conflict with char $ac_func (); below. */ 9072 which can conflict with char $ac_func (); below. */
9057 #include <assert.h> 9073 #include <assert.h>
9058 /* Override any gcc2 internal prototype to avoid an error. */ 9074 /* Override any gcc2 internal prototype to avoid an error. */
9079 ; 9095 ;
9080 return 0; 9096 return 0;
9081 } 9097 }
9082 _ACEOF 9098 _ACEOF
9083 rm -f conftest.$ac_objext conftest$ac_exeext 9099 rm -f conftest.$ac_objext conftest$ac_exeext
9084 if { (eval echo "$as_me:9084: \"$ac_link\"") >&5 9100 if { (eval echo "$as_me:9100: \"$ac_link\"") >&5
9085 (eval $ac_link) 2>&5 9101 (eval $ac_link) 2>&5
9086 ac_status=$? 9102 ac_status=$?
9087 echo "$as_me:9087: \$? = $ac_status" >&5 9103 echo "$as_me:9103: \$? = $ac_status" >&5
9088 (exit $ac_status); } && 9104 (exit $ac_status); } &&
9089 { ac_try='test -s conftest$ac_exeext' 9105 { ac_try='test -s conftest$ac_exeext'
9090 { (eval echo "$as_me:9090: \"$ac_try\"") >&5 9106 { (eval echo "$as_me:9106: \"$ac_try\"") >&5
9091 (eval $ac_try) 2>&5 9107 (eval $ac_try) 2>&5
9092 ac_status=$? 9108 ac_status=$?
9093 echo "$as_me:9093: \$? = $ac_status" >&5 9109 echo "$as_me:9109: \$? = $ac_status" >&5
9094 (exit $ac_status); }; }; then 9110 (exit $ac_status); }; }; then
9095 eval "$as_ac_var=yes" 9111 eval "$as_ac_var=yes"
9096 else 9112 else
9097 echo "$as_me: failed program was:" >&5 9113 echo "$as_me: failed program was:" >&5
9098 cat conftest.$ac_ext >&5 9114 cat conftest.$ac_ext >&5
9099 eval "$as_ac_var=no" 9115 eval "$as_ac_var=no"
9100 fi 9116 fi
9101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9102 fi 9118 fi
9103 echo "$as_me:9103: result: `eval echo '${'$as_ac_var'}'`" >&5 9119 echo "$as_me:9119: result: `eval echo '${'$as_ac_var'}'`" >&5
9104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9105 if test `eval echo '${'$as_ac_var'}'` = yes; then 9121 if test `eval echo '${'$as_ac_var'}'` = yes; then
9106 cat >>confdefs.h <<EOF 9122 cat >>confdefs.h <<EOF
9107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9108 EOF 9124 EOF
9110 fi 9126 fi
9111 done 9127 done
9112 9128
9113 # Solaris has libkstat which does not require root. 9129 # Solaris has libkstat which does not require root.
9114 9130
9115 echo "$as_me:9115: checking for kstat_open in -lkstat" >&5 9131 echo "$as_me:9131: checking for kstat_open in -lkstat" >&5
9116 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 9132 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
9117 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then 9133 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
9118 echo $ECHO_N "(cached) $ECHO_C" >&6 9134 echo $ECHO_N "(cached) $ECHO_C" >&6
9119 else 9135 else
9120 ac_check_lib_save_LIBS=$LIBS 9136 ac_check_lib_save_LIBS=$LIBS
9121 LIBS="-lkstat $LIBS" 9137 LIBS="-lkstat $LIBS"
9122 cat >conftest.$ac_ext <<_ACEOF 9138 cat >conftest.$ac_ext <<_ACEOF
9123 #line 9123 "configure" 9139 #line 9139 "configure"
9124 #include "confdefs.h" 9140 #include "confdefs.h"
9125 9141
9126 /* Override any gcc2 internal prototype to avoid an error. */ 9142 /* Override any gcc2 internal prototype to avoid an error. */
9127 #ifdef __cplusplus 9143 #ifdef __cplusplus
9128 extern "C" 9144 extern "C"
9137 ; 9153 ;
9138 return 0; 9154 return 0;
9139 } 9155 }
9140 _ACEOF 9156 _ACEOF
9141 rm -f conftest.$ac_objext conftest$ac_exeext 9157 rm -f conftest.$ac_objext conftest$ac_exeext
9142 if { (eval echo "$as_me:9142: \"$ac_link\"") >&5 9158 if { (eval echo "$as_me:9158: \"$ac_link\"") >&5
9143 (eval $ac_link) 2>&5 9159 (eval $ac_link) 2>&5
9144 ac_status=$? 9160 ac_status=$?
9145 echo "$as_me:9145: \$? = $ac_status" >&5 9161 echo "$as_me:9161: \$? = $ac_status" >&5
9146 (exit $ac_status); } && 9162 (exit $ac_status); } &&
9147 { ac_try='test -s conftest$ac_exeext' 9163 { ac_try='test -s conftest$ac_exeext'
9148 { (eval echo "$as_me:9148: \"$ac_try\"") >&5 9164 { (eval echo "$as_me:9164: \"$ac_try\"") >&5
9149 (eval $ac_try) 2>&5 9165 (eval $ac_try) 2>&5
9150 ac_status=$? 9166 ac_status=$?
9151 echo "$as_me:9151: \$? = $ac_status" >&5 9167 echo "$as_me:9167: \$? = $ac_status" >&5
9152 (exit $ac_status); }; }; then 9168 (exit $ac_status); }; }; then
9153 ac_cv_lib_kstat_kstat_open=yes 9169 ac_cv_lib_kstat_kstat_open=yes
9154 else 9170 else
9155 echo "$as_me: failed program was:" >&5 9171 echo "$as_me: failed program was:" >&5
9156 cat conftest.$ac_ext >&5 9172 cat conftest.$ac_ext >&5
9157 ac_cv_lib_kstat_kstat_open=no 9173 ac_cv_lib_kstat_kstat_open=no
9158 fi 9174 fi
9159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9160 LIBS=$ac_check_lib_save_LIBS 9176 LIBS=$ac_check_lib_save_LIBS
9161 fi 9177 fi
9162 echo "$as_me:9162: result: $ac_cv_lib_kstat_kstat_open" >&5 9178 echo "$as_me:9178: result: $ac_cv_lib_kstat_kstat_open" >&5
9163 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 9179 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
9164 if test $ac_cv_lib_kstat_kstat_open = yes; then 9180 if test $ac_cv_lib_kstat_kstat_open = yes; then
9165 cat >>confdefs.h <<EOF 9181 cat >>confdefs.h <<EOF
9166 #define HAVE_LIBKSTAT 1 9182 #define HAVE_LIBKSTAT 1
9167 EOF 9183 EOF
9175 # Some systems with -lutil have (and need) -lkvm as well, some do not. 9191 # Some systems with -lutil have (and need) -lkvm as well, some do not.
9176 # On Solaris, -lkvm requires nlist from -lelf, so check that first 9192 # On Solaris, -lkvm requires nlist from -lelf, so check that first
9177 # to get the right answer into the cache. 9193 # to get the right answer into the cache.
9178 # For kstat on solaris, we need libelf to force the definition of SVR4 below. 9194 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
9179 if test $ac_have_func = no; then 9195 if test $ac_have_func = no; then
9180 echo "$as_me:9180: checking for elf_begin in -lelf" >&5 9196 echo "$as_me:9196: checking for elf_begin in -lelf" >&5
9181 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 9197 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
9182 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then 9198 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9183 echo $ECHO_N "(cached) $ECHO_C" >&6 9199 echo $ECHO_N "(cached) $ECHO_C" >&6
9184 else 9200 else
9185 ac_check_lib_save_LIBS=$LIBS 9201 ac_check_lib_save_LIBS=$LIBS
9186 LIBS="-lelf $LIBS" 9202 LIBS="-lelf $LIBS"
9187 cat >conftest.$ac_ext <<_ACEOF 9203 cat >conftest.$ac_ext <<_ACEOF
9188 #line 9188 "configure" 9204 #line 9204 "configure"
9189 #include "confdefs.h" 9205 #include "confdefs.h"
9190 9206
9191 /* Override any gcc2 internal prototype to avoid an error. */ 9207 /* Override any gcc2 internal prototype to avoid an error. */
9192 #ifdef __cplusplus 9208 #ifdef __cplusplus
9193 extern "C" 9209 extern "C"
9202 ; 9218 ;
9203 return 0; 9219 return 0;
9204 } 9220 }
9205 _ACEOF 9221 _ACEOF
9206 rm -f conftest.$ac_objext conftest$ac_exeext 9222 rm -f conftest.$ac_objext conftest$ac_exeext
9207 if { (eval echo "$as_me:9207: \"$ac_link\"") >&5 9223 if { (eval echo "$as_me:9223: \"$ac_link\"") >&5
9208 (eval $ac_link) 2>&5 9224 (eval $ac_link) 2>&5
9209 ac_status=$? 9225 ac_status=$?
9210 echo "$as_me:9210: \$? = $ac_status" >&5 9226 echo "$as_me:9226: \$? = $ac_status" >&5
9211 (exit $ac_status); } && 9227 (exit $ac_status); } &&
9212 { ac_try='test -s conftest$ac_exeext' 9228 { ac_try='test -s conftest$ac_exeext'
9213 { (eval echo "$as_me:9213: \"$ac_try\"") >&5 9229 { (eval echo "$as_me:9229: \"$ac_try\"") >&5
9214 (eval $ac_try) 2>&5 9230 (eval $ac_try) 2>&5
9215 ac_status=$? 9231 ac_status=$?
9216 echo "$as_me:9216: \$? = $ac_status" >&5 9232 echo "$as_me:9232: \$? = $ac_status" >&5
9217 (exit $ac_status); }; }; then 9233 (exit $ac_status); }; }; then
9218 ac_cv_lib_elf_elf_begin=yes 9234 ac_cv_lib_elf_elf_begin=yes
9219 else 9235 else
9220 echo "$as_me: failed program was:" >&5 9236 echo "$as_me: failed program was:" >&5
9221 cat conftest.$ac_ext >&5 9237 cat conftest.$ac_ext >&5
9222 ac_cv_lib_elf_elf_begin=no 9238 ac_cv_lib_elf_elf_begin=no
9223 fi 9239 fi
9224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9240 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9225 LIBS=$ac_check_lib_save_LIBS 9241 LIBS=$ac_check_lib_save_LIBS
9226 fi 9242 fi
9227 echo "$as_me:9227: result: $ac_cv_lib_elf_elf_begin" >&5 9243 echo "$as_me:9243: result: $ac_cv_lib_elf_elf_begin" >&5
9228 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 9244 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9229 if test $ac_cv_lib_elf_elf_begin = yes; then 9245 if test $ac_cv_lib_elf_elf_begin = yes; then
9230 LIBS="-lelf $LIBS" 9246 LIBS="-lelf $LIBS"
9231 fi 9247 fi
9232 9248
9233 fi 9249 fi
9234 if test $ac_have_func = no; then 9250 if test $ac_have_func = no; then
9235 echo "$as_me:9235: checking for kvm_open in -lkvm" >&5 9251 echo "$as_me:9251: checking for kvm_open in -lkvm" >&5
9236 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 9252 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9237 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then 9253 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9238 echo $ECHO_N "(cached) $ECHO_C" >&6 9254 echo $ECHO_N "(cached) $ECHO_C" >&6
9239 else 9255 else
9240 ac_check_lib_save_LIBS=$LIBS 9256 ac_check_lib_save_LIBS=$LIBS
9241 LIBS="-lkvm $LIBS" 9257 LIBS="-lkvm $LIBS"
9242 cat >conftest.$ac_ext <<_ACEOF 9258 cat >conftest.$ac_ext <<_ACEOF
9243 #line 9243 "configure" 9259 #line 9259 "configure"
9244 #include "confdefs.h" 9260 #include "confdefs.h"
9245 9261
9246 /* Override any gcc2 internal prototype to avoid an error. */ 9262 /* Override any gcc2 internal prototype to avoid an error. */
9247 #ifdef __cplusplus 9263 #ifdef __cplusplus
9248 extern "C" 9264 extern "C"
9257 ; 9273 ;
9258 return 0; 9274 return 0;
9259 } 9275 }
9260 _ACEOF 9276 _ACEOF
9261 rm -f conftest.$ac_objext conftest$ac_exeext 9277 rm -f conftest.$ac_objext conftest$ac_exeext
9262 if { (eval echo "$as_me:9262: \"$ac_link\"") >&5 9278 if { (eval echo "$as_me:9278: \"$ac_link\"") >&5
9263 (eval $ac_link) 2>&5 9279 (eval $ac_link) 2>&5
9264 ac_status=$? 9280 ac_status=$?
9265 echo "$as_me:9265: \$? = $ac_status" >&5 9281 echo "$as_me:9281: \$? = $ac_status" >&5
9266 (exit $ac_status); } && 9282 (exit $ac_status); } &&
9267 { ac_try='test -s conftest$ac_exeext' 9283 { ac_try='test -s conftest$ac_exeext'
9268 { (eval echo "$as_me:9268: \"$ac_try\"") >&5 9284 { (eval echo "$as_me:9284: \"$ac_try\"") >&5
9269 (eval $ac_try) 2>&5 9285 (eval $ac_try) 2>&5
9270 ac_status=$? 9286 ac_status=$?
9271 echo "$as_me:9271: \$? = $ac_status" >&5 9287 echo "$as_me:9287: \$? = $ac_status" >&5
9272 (exit $ac_status); }; }; then 9288 (exit $ac_status); }; }; then
9273 ac_cv_lib_kvm_kvm_open=yes 9289 ac_cv_lib_kvm_kvm_open=yes
9274 else 9290 else
9275 echo "$as_me: failed program was:" >&5 9291 echo "$as_me: failed program was:" >&5
9276 cat conftest.$ac_ext >&5 9292 cat conftest.$ac_ext >&5
9277 ac_cv_lib_kvm_kvm_open=no 9293 ac_cv_lib_kvm_kvm_open=no
9278 fi 9294 fi
9279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9280 LIBS=$ac_check_lib_save_LIBS 9296 LIBS=$ac_check_lib_save_LIBS
9281 fi 9297 fi
9282 echo "$as_me:9282: result: $ac_cv_lib_kvm_kvm_open" >&5 9298 echo "$as_me:9298: result: $ac_cv_lib_kvm_kvm_open" >&5
9283 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 9299 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9284 if test $ac_cv_lib_kvm_kvm_open = yes; then 9300 if test $ac_cv_lib_kvm_kvm_open = yes; then
9285 LIBS="-lkvm $LIBS" 9301 LIBS="-lkvm $LIBS"
9286 fi 9302 fi
9287 9303
9288 # Check for the 4.4BSD definition of getloadavg. 9304 # Check for the 4.4BSD definition of getloadavg.
9289 echo "$as_me:9289: checking for getloadavg in -lutil" >&5 9305 echo "$as_me:9305: checking for getloadavg in -lutil" >&5
9290 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 9306 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9291 if test "${ac_cv_lib_util_getloadavg+set}" = set; then 9307 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9292 echo $ECHO_N "(cached) $ECHO_C" >&6 9308 echo $ECHO_N "(cached) $ECHO_C" >&6
9293 else 9309 else
9294 ac_check_lib_save_LIBS=$LIBS 9310 ac_check_lib_save_LIBS=$LIBS
9295 LIBS="-lutil $LIBS" 9311 LIBS="-lutil $LIBS"
9296 cat >conftest.$ac_ext <<_ACEOF 9312 cat >conftest.$ac_ext <<_ACEOF
9297 #line 9297 "configure" 9313 #line 9313 "configure"
9298 #include "confdefs.h" 9314 #include "confdefs.h"
9299 9315
9300 /* Override any gcc2 internal prototype to avoid an error. */ 9316 /* Override any gcc2 internal prototype to avoid an error. */
9301 #ifdef __cplusplus 9317 #ifdef __cplusplus
9302 extern "C" 9318 extern "C"
9311 ; 9327 ;
9312 return 0; 9328 return 0;
9313 } 9329 }
9314 _ACEOF 9330 _ACEOF
9315 rm -f conftest.$ac_objext conftest$ac_exeext 9331 rm -f conftest.$ac_objext conftest$ac_exeext
9316 if { (eval echo "$as_me:9316: \"$ac_link\"") >&5 9332 if { (eval echo "$as_me:9332: \"$ac_link\"") >&5
9317 (eval $ac_link) 2>&5 9333 (eval $ac_link) 2>&5
9318 ac_status=$? 9334 ac_status=$?
9319 echo "$as_me:9319: \$? = $ac_status" >&5 9335 echo "$as_me:9335: \$? = $ac_status" >&5
9320 (exit $ac_status); } && 9336 (exit $ac_status); } &&
9321 { ac_try='test -s conftest$ac_exeext' 9337 { ac_try='test -s conftest$ac_exeext'
9322 { (eval echo "$as_me:9322: \"$ac_try\"") >&5 9338 { (eval echo "$as_me:9338: \"$ac_try\"") >&5
9323 (eval $ac_try) 2>&5 9339 (eval $ac_try) 2>&5
9324 ac_status=$? 9340 ac_status=$?
9325 echo "$as_me:9325: \$? = $ac_status" >&5 9341 echo "$as_me:9341: \$? = $ac_status" >&5
9326 (exit $ac_status); }; }; then 9342 (exit $ac_status); }; }; then
9327 ac_cv_lib_util_getloadavg=yes 9343 ac_cv_lib_util_getloadavg=yes
9328 else 9344 else
9329 echo "$as_me: failed program was:" >&5 9345 echo "$as_me: failed program was:" >&5
9330 cat conftest.$ac_ext >&5 9346 cat conftest.$ac_ext >&5
9331 ac_cv_lib_util_getloadavg=no 9347 ac_cv_lib_util_getloadavg=no
9332 fi 9348 fi
9333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9334 LIBS=$ac_check_lib_save_LIBS 9350 LIBS=$ac_check_lib_save_LIBS
9335 fi 9351 fi
9336 echo "$as_me:9336: result: $ac_cv_lib_util_getloadavg" >&5 9352 echo "$as_me:9352: result: $ac_cv_lib_util_getloadavg" >&5
9337 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 9353 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9338 if test $ac_cv_lib_util_getloadavg = yes; then 9354 if test $ac_cv_lib_util_getloadavg = yes; then
9339 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes 9355 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
9340 fi 9356 fi
9341 9357
9344 if test $ac_have_func = no; then 9360 if test $ac_have_func = no; then
9345 # There is a commonly available library for RS/6000 AIX. 9361 # There is a commonly available library for RS/6000 AIX.
9346 # Since it is not a standard part of AIX, it might be installed locally. 9362 # Since it is not a standard part of AIX, it might be installed locally.
9347 ac_getloadavg_LIBS=$LIBS 9363 ac_getloadavg_LIBS=$LIBS
9348 LIBS="-L/usr/local/lib $LIBS" 9364 LIBS="-L/usr/local/lib $LIBS"
9349 echo "$as_me:9349: checking for getloadavg in -lgetloadavg" >&5 9365 echo "$as_me:9365: checking for getloadavg in -lgetloadavg" >&5
9350 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 9366 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9351 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then 9367 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9352 echo $ECHO_N "(cached) $ECHO_C" >&6 9368 echo $ECHO_N "(cached) $ECHO_C" >&6
9353 else 9369 else
9354 ac_check_lib_save_LIBS=$LIBS 9370 ac_check_lib_save_LIBS=$LIBS
9355 LIBS="-lgetloadavg $LIBS" 9371 LIBS="-lgetloadavg $LIBS"
9356 cat >conftest.$ac_ext <<_ACEOF 9372 cat >conftest.$ac_ext <<_ACEOF
9357 #line 9357 "configure" 9373 #line 9373 "configure"
9358 #include "confdefs.h" 9374 #include "confdefs.h"
9359 9375
9360 /* Override any gcc2 internal prototype to avoid an error. */ 9376 /* Override any gcc2 internal prototype to avoid an error. */
9361 #ifdef __cplusplus 9377 #ifdef __cplusplus
9362 extern "C" 9378 extern "C"
9371 ; 9387 ;
9372 return 0; 9388 return 0;
9373 } 9389 }
9374 _ACEOF 9390 _ACEOF
9375 rm -f conftest.$ac_objext conftest$ac_exeext 9391 rm -f conftest.$ac_objext conftest$ac_exeext
9376 if { (eval echo "$as_me:9376: \"$ac_link\"") >&5 9392 if { (eval echo "$as_me:9392: \"$ac_link\"") >&5
9377 (eval $ac_link) 2>&5 9393 (eval $ac_link) 2>&5
9378 ac_status=$? 9394 ac_status=$?
9379 echo "$as_me:9379: \$? = $ac_status" >&5 9395 echo "$as_me:9395: \$? = $ac_status" >&5
9380 (exit $ac_status); } && 9396 (exit $ac_status); } &&
9381 { ac_try='test -s conftest$ac_exeext' 9397 { ac_try='test -s conftest$ac_exeext'
9382 { (eval echo "$as_me:9382: \"$ac_try\"") >&5 9398 { (eval echo "$as_me:9398: \"$ac_try\"") >&5
9383 (eval $ac_try) 2>&5 9399 (eval $ac_try) 2>&5
9384 ac_status=$? 9400 ac_status=$?
9385 echo "$as_me:9385: \$? = $ac_status" >&5 9401 echo "$as_me:9401: \$? = $ac_status" >&5
9386 (exit $ac_status); }; }; then 9402 (exit $ac_status); }; }; then
9387 ac_cv_lib_getloadavg_getloadavg=yes 9403 ac_cv_lib_getloadavg_getloadavg=yes
9388 else 9404 else
9389 echo "$as_me: failed program was:" >&5 9405 echo "$as_me: failed program was:" >&5
9390 cat conftest.$ac_ext >&5 9406 cat conftest.$ac_ext >&5
9391 ac_cv_lib_getloadavg_getloadavg=no 9407 ac_cv_lib_getloadavg_getloadavg=no
9392 fi 9408 fi
9393 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9394 LIBS=$ac_check_lib_save_LIBS 9410 LIBS=$ac_check_lib_save_LIBS
9395 fi 9411 fi
9396 echo "$as_me:9396: result: $ac_cv_lib_getloadavg_getloadavg" >&5 9412 echo "$as_me:9412: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9397 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 9413 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9398 if test $ac_cv_lib_getloadavg_getloadavg = yes; then 9414 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9399 LIBS="-lgetloadavg $LIBS" 9415 LIBS="-lgetloadavg $LIBS"
9400 else 9416 else
9401 LIBS=$ac_getloadavg_LIBS 9417 LIBS=$ac_getloadavg_LIBS
9407 # otherwise set up the replacement function. 9423 # otherwise set up the replacement function.
9408 9424
9409 for ac_func in getloadavg 9425 for ac_func in getloadavg
9410 do 9426 do
9411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9412 echo "$as_me:9412: checking for $ac_func" >&5 9428 echo "$as_me:9428: checking for $ac_func" >&5
9413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9414 if eval "test \"\${$as_ac_var+set}\" = set"; then 9430 if eval "test \"\${$as_ac_var+set}\" = set"; then
9415 echo $ECHO_N "(cached) $ECHO_C" >&6 9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9416 else 9432 else
9417 cat >conftest.$ac_ext <<_ACEOF 9433 cat >conftest.$ac_ext <<_ACEOF
9418 #line 9418 "configure" 9434 #line 9434 "configure"
9419 #include "confdefs.h" 9435 #include "confdefs.h"
9420 /* System header to define __stub macros and hopefully few prototypes, 9436 /* System header to define __stub macros and hopefully few prototypes,
9421 which can conflict with char $ac_func (); below. */ 9437 which can conflict with char $ac_func (); below. */
9422 #include <assert.h> 9438 #include <assert.h>
9423 /* Override any gcc2 internal prototype to avoid an error. */ 9439 /* Override any gcc2 internal prototype to avoid an error. */
9444 ; 9460 ;
9445 return 0; 9461 return 0;
9446 } 9462 }
9447 _ACEOF 9463 _ACEOF
9448 rm -f conftest.$ac_objext conftest$ac_exeext 9464 rm -f conftest.$ac_objext conftest$ac_exeext
9449 if { (eval echo "$as_me:9449: \"$ac_link\"") >&5 9465 if { (eval echo "$as_me:9465: \"$ac_link\"") >&5
9450 (eval $ac_link) 2>&5 9466 (eval $ac_link) 2>&5
9451 ac_status=$? 9467 ac_status=$?
9452 echo "$as_me:9452: \$? = $ac_status" >&5 9468 echo "$as_me:9468: \$? = $ac_status" >&5
9453 (exit $ac_status); } && 9469 (exit $ac_status); } &&
9454 { ac_try='test -s conftest$ac_exeext' 9470 { ac_try='test -s conftest$ac_exeext'
9455 { (eval echo "$as_me:9455: \"$ac_try\"") >&5 9471 { (eval echo "$as_me:9471: \"$ac_try\"") >&5
9456 (eval $ac_try) 2>&5 9472 (eval $ac_try) 2>&5
9457 ac_status=$? 9473 ac_status=$?
9458 echo "$as_me:9458: \$? = $ac_status" >&5 9474 echo "$as_me:9474: \$? = $ac_status" >&5
9459 (exit $ac_status); }; }; then 9475 (exit $ac_status); }; }; then
9460 eval "$as_ac_var=yes" 9476 eval "$as_ac_var=yes"
9461 else 9477 else
9462 echo "$as_me: failed program was:" >&5 9478 echo "$as_me: failed program was:" >&5
9463 cat conftest.$ac_ext >&5 9479 cat conftest.$ac_ext >&5
9464 eval "$as_ac_var=no" 9480 eval "$as_ac_var=no"
9465 fi 9481 fi
9466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9467 fi 9483 fi
9468 echo "$as_me:9468: result: `eval echo '${'$as_ac_var'}'`" >&5 9484 echo "$as_me:9484: result: `eval echo '${'$as_ac_var'}'`" >&5
9469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9470 if test `eval echo '${'$as_ac_var'}'` = yes; then 9486 if test `eval echo '${'$as_ac_var'}'` = yes; then
9471 cat >>confdefs.h <<EOF 9487 cat >>confdefs.h <<EOF
9472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9473 EOF 9489 EOF
9479 #define C_GETLOADAVG 1 9495 #define C_GETLOADAVG 1
9480 EOF 9496 EOF
9481 9497
9482 # Figure out what our getloadavg.c needs. 9498 # Figure out what our getloadavg.c needs.
9483 ac_have_func=no 9499 ac_have_func=no
9484 echo "$as_me:9484: checking for sys/dg_sys_info.h" >&5 9500 echo "$as_me:9500: checking for sys/dg_sys_info.h" >&5
9485 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 9501 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9486 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then 9502 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6 9503 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 else 9504 else
9489 cat >conftest.$ac_ext <<_ACEOF 9505 cat >conftest.$ac_ext <<_ACEOF
9490 #line 9490 "configure" 9506 #line 9506 "configure"
9491 #include "confdefs.h" 9507 #include "confdefs.h"
9492 #include <sys/dg_sys_info.h> 9508 #include <sys/dg_sys_info.h>
9493 _ACEOF 9509 _ACEOF
9494 if { (eval echo "$as_me:9494: \"$ac_cpp conftest.$ac_ext\"") >&5 9510 if { (eval echo "$as_me:9510: \"$ac_cpp conftest.$ac_ext\"") >&5
9495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9496 ac_status=$? 9512 ac_status=$?
9497 egrep -v '^ *\+' conftest.er1 >conftest.err 9513 egrep -v '^ *\+' conftest.er1 >conftest.err
9498 rm -f conftest.er1 9514 rm -f conftest.er1
9499 cat conftest.err >&5 9515 cat conftest.err >&5
9500 echo "$as_me:9500: \$? = $ac_status" >&5 9516 echo "$as_me:9516: \$? = $ac_status" >&5
9501 (exit $ac_status); } >/dev/null; then 9517 (exit $ac_status); } >/dev/null; then
9502 if test -s conftest.err; then 9518 if test -s conftest.err; then
9503 ac_cpp_err=$ac_c_preproc_warn_flag 9519 ac_cpp_err=$ac_c_preproc_warn_flag
9504 else 9520 else
9505 ac_cpp_err= 9521 ac_cpp_err=
9514 cat conftest.$ac_ext >&5 9530 cat conftest.$ac_ext >&5
9515 ac_cv_header_sys_dg_sys_info_h=no 9531 ac_cv_header_sys_dg_sys_info_h=no
9516 fi 9532 fi
9517 rm -f conftest.err conftest.$ac_ext 9533 rm -f conftest.err conftest.$ac_ext
9518 fi 9534 fi
9519 echo "$as_me:9519: result: $ac_cv_header_sys_dg_sys_info_h" >&5 9535 echo "$as_me:9535: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9520 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 9536 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9521 if test $ac_cv_header_sys_dg_sys_info_h = yes; then 9537 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9522 ac_have_func=yes 9538 ac_have_func=yes
9523 9539
9524 cat >>confdefs.h <<\EOF 9540 cat >>confdefs.h <<\EOF
9525 #define DGUX 1 9541 #define DGUX 1
9526 EOF 9542 EOF
9527 9543
9528 echo "$as_me:9528: checking for dg_sys_info in -ldgc" >&5 9544 echo "$as_me:9544: checking for dg_sys_info in -ldgc" >&5
9529 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 9545 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9530 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then 9546 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9531 echo $ECHO_N "(cached) $ECHO_C" >&6 9547 echo $ECHO_N "(cached) $ECHO_C" >&6
9532 else 9548 else
9533 ac_check_lib_save_LIBS=$LIBS 9549 ac_check_lib_save_LIBS=$LIBS
9534 LIBS="-ldgc $LIBS" 9550 LIBS="-ldgc $LIBS"
9535 cat >conftest.$ac_ext <<_ACEOF 9551 cat >conftest.$ac_ext <<_ACEOF
9536 #line 9536 "configure" 9552 #line 9552 "configure"
9537 #include "confdefs.h" 9553 #include "confdefs.h"
9538 9554
9539 /* Override any gcc2 internal prototype to avoid an error. */ 9555 /* Override any gcc2 internal prototype to avoid an error. */
9540 #ifdef __cplusplus 9556 #ifdef __cplusplus
9541 extern "C" 9557 extern "C"
9550 ; 9566 ;
9551 return 0; 9567 return 0;
9552 } 9568 }
9553 _ACEOF 9569 _ACEOF
9554 rm -f conftest.$ac_objext conftest$ac_exeext 9570 rm -f conftest.$ac_objext conftest$ac_exeext
9555 if { (eval echo "$as_me:9555: \"$ac_link\"") >&5 9571 if { (eval echo "$as_me:9571: \"$ac_link\"") >&5
9556 (eval $ac_link) 2>&5 9572 (eval $ac_link) 2>&5
9557 ac_status=$? 9573 ac_status=$?
9558 echo "$as_me:9558: \$? = $ac_status" >&5 9574 echo "$as_me:9574: \$? = $ac_status" >&5
9559 (exit $ac_status); } && 9575 (exit $ac_status); } &&
9560 { ac_try='test -s conftest$ac_exeext' 9576 { ac_try='test -s conftest$ac_exeext'
9561 { (eval echo "$as_me:9561: \"$ac_try\"") >&5 9577 { (eval echo "$as_me:9577: \"$ac_try\"") >&5
9562 (eval $ac_try) 2>&5 9578 (eval $ac_try) 2>&5
9563 ac_status=$? 9579 ac_status=$?
9564 echo "$as_me:9564: \$? = $ac_status" >&5 9580 echo "$as_me:9580: \$? = $ac_status" >&5
9565 (exit $ac_status); }; }; then 9581 (exit $ac_status); }; }; then
9566 ac_cv_lib_dgc_dg_sys_info=yes 9582 ac_cv_lib_dgc_dg_sys_info=yes
9567 else 9583 else
9568 echo "$as_me: failed program was:" >&5 9584 echo "$as_me: failed program was:" >&5
9569 cat conftest.$ac_ext >&5 9585 cat conftest.$ac_ext >&5
9570 ac_cv_lib_dgc_dg_sys_info=no 9586 ac_cv_lib_dgc_dg_sys_info=no
9571 fi 9587 fi
9572 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9588 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9573 LIBS=$ac_check_lib_save_LIBS 9589 LIBS=$ac_check_lib_save_LIBS
9574 fi 9590 fi
9575 echo "$as_me:9575: result: $ac_cv_lib_dgc_dg_sys_info" >&5 9591 echo "$as_me:9591: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9576 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 9592 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9577 if test $ac_cv_lib_dgc_dg_sys_info = yes; then 9593 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9578 cat >>confdefs.h <<EOF 9594 cat >>confdefs.h <<EOF
9579 #define HAVE_LIBDGC 1 9595 #define HAVE_LIBDGC 1
9580 EOF 9596 EOF
9583 9599
9584 fi 9600 fi
9585 9601
9586 fi 9602 fi
9587 9603
9588 echo "$as_me:9588: checking for locale.h" >&5 9604 echo "$as_me:9604: checking for locale.h" >&5
9589 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 9605 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9590 if test "${ac_cv_header_locale_h+set}" = set; then 9606 if test "${ac_cv_header_locale_h+set}" = set; then
9591 echo $ECHO_N "(cached) $ECHO_C" >&6 9607 echo $ECHO_N "(cached) $ECHO_C" >&6
9592 else 9608 else
9593 cat >conftest.$ac_ext <<_ACEOF 9609 cat >conftest.$ac_ext <<_ACEOF
9594 #line 9594 "configure" 9610 #line 9610 "configure"
9595 #include "confdefs.h" 9611 #include "confdefs.h"
9596 #include <locale.h> 9612 #include <locale.h>
9597 _ACEOF 9613 _ACEOF
9598 if { (eval echo "$as_me:9598: \"$ac_cpp conftest.$ac_ext\"") >&5 9614 if { (eval echo "$as_me:9614: \"$ac_cpp conftest.$ac_ext\"") >&5
9599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9615 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9600 ac_status=$? 9616 ac_status=$?
9601 egrep -v '^ *\+' conftest.er1 >conftest.err 9617 egrep -v '^ *\+' conftest.er1 >conftest.err
9602 rm -f conftest.er1 9618 rm -f conftest.er1
9603 cat conftest.err >&5 9619 cat conftest.err >&5
9604 echo "$as_me:9604: \$? = $ac_status" >&5 9620 echo "$as_me:9620: \$? = $ac_status" >&5
9605 (exit $ac_status); } >/dev/null; then 9621 (exit $ac_status); } >/dev/null; then
9606 if test -s conftest.err; then 9622 if test -s conftest.err; then
9607 ac_cpp_err=$ac_c_preproc_warn_flag 9623 ac_cpp_err=$ac_c_preproc_warn_flag
9608 else 9624 else
9609 ac_cpp_err= 9625 ac_cpp_err=
9618 cat conftest.$ac_ext >&5 9634 cat conftest.$ac_ext >&5
9619 ac_cv_header_locale_h=no 9635 ac_cv_header_locale_h=no
9620 fi 9636 fi
9621 rm -f conftest.err conftest.$ac_ext 9637 rm -f conftest.err conftest.$ac_ext
9622 fi 9638 fi
9623 echo "$as_me:9623: result: $ac_cv_header_locale_h" >&5 9639 echo "$as_me:9639: result: $ac_cv_header_locale_h" >&5
9624 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 9640 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9625 9641
9626 for ac_func in setlocale 9642 for ac_func in setlocale
9627 do 9643 do
9628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9629 echo "$as_me:9629: checking for $ac_func" >&5 9645 echo "$as_me:9645: checking for $ac_func" >&5
9630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9631 if eval "test \"\${$as_ac_var+set}\" = set"; then 9647 if eval "test \"\${$as_ac_var+set}\" = set"; then
9632 echo $ECHO_N "(cached) $ECHO_C" >&6 9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9633 else 9649 else
9634 cat >conftest.$ac_ext <<_ACEOF 9650 cat >conftest.$ac_ext <<_ACEOF
9635 #line 9635 "configure" 9651 #line 9651 "configure"
9636 #include "confdefs.h" 9652 #include "confdefs.h"
9637 /* System header to define __stub macros and hopefully few prototypes, 9653 /* System header to define __stub macros and hopefully few prototypes,
9638 which can conflict with char $ac_func (); below. */ 9654 which can conflict with char $ac_func (); below. */
9639 #include <assert.h> 9655 #include <assert.h>
9640 /* Override any gcc2 internal prototype to avoid an error. */ 9656 /* Override any gcc2 internal prototype to avoid an error. */
9661 ; 9677 ;
9662 return 0; 9678 return 0;
9663 } 9679 }
9664 _ACEOF 9680 _ACEOF
9665 rm -f conftest.$ac_objext conftest$ac_exeext 9681 rm -f conftest.$ac_objext conftest$ac_exeext
9666 if { (eval echo "$as_me:9666: \"$ac_link\"") >&5 9682 if { (eval echo "$as_me:9682: \"$ac_link\"") >&5
9667 (eval $ac_link) 2>&5 9683 (eval $ac_link) 2>&5
9668 ac_status=$? 9684 ac_status=$?
9669 echo "$as_me:9669: \$? = $ac_status" >&5 9685 echo "$as_me:9685: \$? = $ac_status" >&5
9670 (exit $ac_status); } && 9686 (exit $ac_status); } &&
9671 { ac_try='test -s conftest$ac_exeext' 9687 { ac_try='test -s conftest$ac_exeext'
9672 { (eval echo "$as_me:9672: \"$ac_try\"") >&5 9688 { (eval echo "$as_me:9688: \"$ac_try\"") >&5
9673 (eval $ac_try) 2>&5 9689 (eval $ac_try) 2>&5
9674 ac_status=$? 9690 ac_status=$?
9675 echo "$as_me:9675: \$? = $ac_status" >&5 9691 echo "$as_me:9691: \$? = $ac_status" >&5
9676 (exit $ac_status); }; }; then 9692 (exit $ac_status); }; }; then
9677 eval "$as_ac_var=yes" 9693 eval "$as_ac_var=yes"
9678 else 9694 else
9679 echo "$as_me: failed program was:" >&5 9695 echo "$as_me: failed program was:" >&5
9680 cat conftest.$ac_ext >&5 9696 cat conftest.$ac_ext >&5
9681 eval "$as_ac_var=no" 9697 eval "$as_ac_var=no"
9682 fi 9698 fi
9683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9684 fi 9700 fi
9685 echo "$as_me:9685: result: `eval echo '${'$as_ac_var'}'`" >&5 9701 echo "$as_me:9701: result: `eval echo '${'$as_ac_var'}'`" >&5
9686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9687 if test `eval echo '${'$as_ac_var'}'` = yes; then 9703 if test `eval echo '${'$as_ac_var'}'` = yes; then
9688 cat >>confdefs.h <<EOF 9704 cat >>confdefs.h <<EOF
9689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9690 EOF 9706 EOF
9703 EOF 9719 EOF
9704 9720
9705 fi 9721 fi
9706 9722
9707 if test $ac_have_func = no; then 9723 if test $ac_have_func = no; then
9708 echo "$as_me:9708: checking for inq_stats/cpustats.h" >&5 9724 echo "$as_me:9724: checking for inq_stats/cpustats.h" >&5
9709 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 9725 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9710 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then 9726 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9711 echo $ECHO_N "(cached) $ECHO_C" >&6 9727 echo $ECHO_N "(cached) $ECHO_C" >&6
9712 else 9728 else
9713 cat >conftest.$ac_ext <<_ACEOF 9729 cat >conftest.$ac_ext <<_ACEOF
9714 #line 9714 "configure" 9730 #line 9730 "configure"
9715 #include "confdefs.h" 9731 #include "confdefs.h"
9716 #include <inq_stats/cpustats.h> 9732 #include <inq_stats/cpustats.h>
9717 _ACEOF 9733 _ACEOF
9718 if { (eval echo "$as_me:9718: \"$ac_cpp conftest.$ac_ext\"") >&5 9734 if { (eval echo "$as_me:9734: \"$ac_cpp conftest.$ac_ext\"") >&5
9719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9735 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9720 ac_status=$? 9736 ac_status=$?
9721 egrep -v '^ *\+' conftest.er1 >conftest.err 9737 egrep -v '^ *\+' conftest.er1 >conftest.err
9722 rm -f conftest.er1 9738 rm -f conftest.er1
9723 cat conftest.err >&5 9739 cat conftest.err >&5
9724 echo "$as_me:9724: \$? = $ac_status" >&5 9740 echo "$as_me:9740: \$? = $ac_status" >&5
9725 (exit $ac_status); } >/dev/null; then 9741 (exit $ac_status); } >/dev/null; then
9726 if test -s conftest.err; then 9742 if test -s conftest.err; then
9727 ac_cpp_err=$ac_c_preproc_warn_flag 9743 ac_cpp_err=$ac_c_preproc_warn_flag
9728 else 9744 else
9729 ac_cpp_err= 9745 ac_cpp_err=
9738 cat conftest.$ac_ext >&5 9754 cat conftest.$ac_ext >&5
9739 ac_cv_header_inq_stats_cpustats_h=no 9755 ac_cv_header_inq_stats_cpustats_h=no
9740 fi 9756 fi
9741 rm -f conftest.err conftest.$ac_ext 9757 rm -f conftest.err conftest.$ac_ext
9742 fi 9758 fi
9743 echo "$as_me:9743: result: $ac_cv_header_inq_stats_cpustats_h" >&5 9759 echo "$as_me:9759: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9744 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 9760 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9745 if test $ac_cv_header_inq_stats_cpustats_h = yes; then 9761 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9746 ac_have_func=yes 9762 ac_have_func=yes
9747 9763
9748 cat >>confdefs.h <<\EOF 9764 cat >>confdefs.h <<\EOF
9756 fi 9772 fi
9757 9773
9758 fi 9774 fi
9759 9775
9760 if test $ac_have_func = no; then 9776 if test $ac_have_func = no; then
9761 echo "$as_me:9761: checking for sys/cpustats.h" >&5 9777 echo "$as_me:9777: checking for sys/cpustats.h" >&5
9762 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 9778 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9763 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then 9779 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9764 echo $ECHO_N "(cached) $ECHO_C" >&6 9780 echo $ECHO_N "(cached) $ECHO_C" >&6
9765 else 9781 else
9766 cat >conftest.$ac_ext <<_ACEOF 9782 cat >conftest.$ac_ext <<_ACEOF
9767 #line 9767 "configure" 9783 #line 9783 "configure"
9768 #include "confdefs.h" 9784 #include "confdefs.h"
9769 #include <sys/cpustats.h> 9785 #include <sys/cpustats.h>
9770 _ACEOF 9786 _ACEOF
9771 if { (eval echo "$as_me:9771: \"$ac_cpp conftest.$ac_ext\"") >&5 9787 if { (eval echo "$as_me:9787: \"$ac_cpp conftest.$ac_ext\"") >&5
9772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9773 ac_status=$? 9789 ac_status=$?
9774 egrep -v '^ *\+' conftest.er1 >conftest.err 9790 egrep -v '^ *\+' conftest.er1 >conftest.err
9775 rm -f conftest.er1 9791 rm -f conftest.er1
9776 cat conftest.err >&5 9792 cat conftest.err >&5
9777 echo "$as_me:9777: \$? = $ac_status" >&5 9793 echo "$as_me:9793: \$? = $ac_status" >&5
9778 (exit $ac_status); } >/dev/null; then 9794 (exit $ac_status); } >/dev/null; then
9779 if test -s conftest.err; then 9795 if test -s conftest.err; then
9780 ac_cpp_err=$ac_c_preproc_warn_flag 9796 ac_cpp_err=$ac_c_preproc_warn_flag
9781 else 9797 else
9782 ac_cpp_err= 9798 ac_cpp_err=
9791 cat conftest.$ac_ext >&5 9807 cat conftest.$ac_ext >&5
9792 ac_cv_header_sys_cpustats_h=no 9808 ac_cv_header_sys_cpustats_h=no
9793 fi 9809 fi
9794 rm -f conftest.err conftest.$ac_ext 9810 rm -f conftest.err conftest.$ac_ext
9795 fi 9811 fi
9796 echo "$as_me:9796: result: $ac_cv_header_sys_cpustats_h" >&5 9812 echo "$as_me:9812: result: $ac_cv_header_sys_cpustats_h" >&5
9797 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 9813 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9798 if test $ac_cv_header_sys_cpustats_h = yes; then 9814 if test $ac_cv_header_sys_cpustats_h = yes; then
9799 ac_have_func=yes; cat >>confdefs.h <<\EOF 9815 ac_have_func=yes; cat >>confdefs.h <<\EOF
9800 #define UMAX 1 9816 #define UMAX 1
9801 EOF 9817 EOF
9807 if test $ac_have_func = no; then 9823 if test $ac_have_func = no; then
9808 9824
9809 for ac_header in mach/mach.h 9825 for ac_header in mach/mach.h
9810 do 9826 do
9811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9812 echo "$as_me:9812: checking for $ac_header" >&5 9828 echo "$as_me:9828: checking for $ac_header" >&5
9813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9814 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6 9831 echo $ECHO_N "(cached) $ECHO_C" >&6
9816 else 9832 else
9817 cat >conftest.$ac_ext <<_ACEOF 9833 cat >conftest.$ac_ext <<_ACEOF
9818 #line 9818 "configure" 9834 #line 9834 "configure"
9819 #include "confdefs.h" 9835 #include "confdefs.h"
9820 #include <$ac_header> 9836 #include <$ac_header>
9821 _ACEOF 9837 _ACEOF
9822 if { (eval echo "$as_me:9822: \"$ac_cpp conftest.$ac_ext\"") >&5 9838 if { (eval echo "$as_me:9838: \"$ac_cpp conftest.$ac_ext\"") >&5
9823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9824 ac_status=$? 9840 ac_status=$?
9825 egrep -v '^ *\+' conftest.er1 >conftest.err 9841 egrep -v '^ *\+' conftest.er1 >conftest.err
9826 rm -f conftest.er1 9842 rm -f conftest.er1
9827 cat conftest.err >&5 9843 cat conftest.err >&5
9828 echo "$as_me:9828: \$? = $ac_status" >&5 9844 echo "$as_me:9844: \$? = $ac_status" >&5
9829 (exit $ac_status); } >/dev/null; then 9845 (exit $ac_status); } >/dev/null; then
9830 if test -s conftest.err; then 9846 if test -s conftest.err; then
9831 ac_cpp_err=$ac_c_preproc_warn_flag 9847 ac_cpp_err=$ac_c_preproc_warn_flag
9832 else 9848 else
9833 ac_cpp_err= 9849 ac_cpp_err=
9842 cat conftest.$ac_ext >&5 9858 cat conftest.$ac_ext >&5
9843 eval "$as_ac_Header=no" 9859 eval "$as_ac_Header=no"
9844 fi 9860 fi
9845 rm -f conftest.err conftest.$ac_ext 9861 rm -f conftest.err conftest.$ac_ext
9846 fi 9862 fi
9847 echo "$as_me:9847: result: `eval echo '${'$as_ac_Header'}'`" >&5 9863 echo "$as_me:9863: result: `eval echo '${'$as_ac_Header'}'`" >&5
9848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9849 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9850 cat >>confdefs.h <<EOF 9866 cat >>confdefs.h <<EOF
9851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9852 EOF 9868 EOF
9857 fi 9873 fi
9858 9874
9859 for ac_header in nlist.h 9875 for ac_header in nlist.h
9860 do 9876 do
9861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 9877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9862 echo "$as_me:9862: checking for $ac_header" >&5 9878 echo "$as_me:9878: checking for $ac_header" >&5
9863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 9879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9864 if eval "test \"\${$as_ac_Header+set}\" = set"; then 9880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6 9881 echo $ECHO_N "(cached) $ECHO_C" >&6
9866 else 9882 else
9867 cat >conftest.$ac_ext <<_ACEOF 9883 cat >conftest.$ac_ext <<_ACEOF
9868 #line 9868 "configure" 9884 #line 9884 "configure"
9869 #include "confdefs.h" 9885 #include "confdefs.h"
9870 #include <$ac_header> 9886 #include <$ac_header>
9871 _ACEOF 9887 _ACEOF
9872 if { (eval echo "$as_me:9872: \"$ac_cpp conftest.$ac_ext\"") >&5 9888 if { (eval echo "$as_me:9888: \"$ac_cpp conftest.$ac_ext\"") >&5
9873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9889 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9874 ac_status=$? 9890 ac_status=$?
9875 egrep -v '^ *\+' conftest.er1 >conftest.err 9891 egrep -v '^ *\+' conftest.er1 >conftest.err
9876 rm -f conftest.er1 9892 rm -f conftest.er1
9877 cat conftest.err >&5 9893 cat conftest.err >&5
9878 echo "$as_me:9878: \$? = $ac_status" >&5 9894 echo "$as_me:9894: \$? = $ac_status" >&5
9879 (exit $ac_status); } >/dev/null; then 9895 (exit $ac_status); } >/dev/null; then
9880 if test -s conftest.err; then 9896 if test -s conftest.err; then
9881 ac_cpp_err=$ac_c_preproc_warn_flag 9897 ac_cpp_err=$ac_c_preproc_warn_flag
9882 else 9898 else
9883 ac_cpp_err= 9899 ac_cpp_err=
9892 cat conftest.$ac_ext >&5 9908 cat conftest.$ac_ext >&5
9893 eval "$as_ac_Header=no" 9909 eval "$as_ac_Header=no"
9894 fi 9910 fi
9895 rm -f conftest.err conftest.$ac_ext 9911 rm -f conftest.err conftest.$ac_ext
9896 fi 9912 fi
9897 echo "$as_me:9897: result: `eval echo '${'$as_ac_Header'}'`" >&5 9913 echo "$as_me:9913: result: `eval echo '${'$as_ac_Header'}'`" >&5
9898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 9914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9899 if test `eval echo '${'$as_ac_Header'}'` = yes; then 9915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9900 cat >>confdefs.h <<EOF 9916 cat >>confdefs.h <<EOF
9901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 9917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9902 EOF 9918 EOF
9903 echo "$as_me:9903: checking for struct nlist.n_un.n_name" >&5 9919 echo "$as_me:9919: checking for struct nlist.n_un.n_name" >&5
9904 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 9920 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9905 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then 9921 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9906 echo $ECHO_N "(cached) $ECHO_C" >&6 9922 echo $ECHO_N "(cached) $ECHO_C" >&6
9907 else 9923 else
9908 cat >conftest.$ac_ext <<_ACEOF 9924 cat >conftest.$ac_ext <<_ACEOF
9909 #line 9909 "configure" 9925 #line 9925 "configure"
9910 #include "confdefs.h" 9926 #include "confdefs.h"
9911 #include <nlist.h> 9927 #include <nlist.h>
9912 9928
9913 int 9929 int
9914 main () 9930 main ()
9919 ; 9935 ;
9920 return 0; 9936 return 0;
9921 } 9937 }
9922 _ACEOF 9938 _ACEOF
9923 rm -f conftest.$ac_objext 9939 rm -f conftest.$ac_objext
9924 if { (eval echo "$as_me:9924: \"$ac_compile\"") >&5 9940 if { (eval echo "$as_me:9940: \"$ac_compile\"") >&5
9925 (eval $ac_compile) 2>&5 9941 (eval $ac_compile) 2>&5
9926 ac_status=$? 9942 ac_status=$?
9927 echo "$as_me:9927: \$? = $ac_status" >&5 9943 echo "$as_me:9943: \$? = $ac_status" >&5
9928 (exit $ac_status); } && 9944 (exit $ac_status); } &&
9929 { ac_try='test -s conftest.$ac_objext' 9945 { ac_try='test -s conftest.$ac_objext'
9930 { (eval echo "$as_me:9930: \"$ac_try\"") >&5 9946 { (eval echo "$as_me:9946: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5 9947 (eval $ac_try) 2>&5
9932 ac_status=$? 9948 ac_status=$?
9933 echo "$as_me:9933: \$? = $ac_status" >&5 9949 echo "$as_me:9949: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then 9950 (exit $ac_status); }; }; then
9935 ac_cv_member_struct_nlist_n_un_n_name=yes 9951 ac_cv_member_struct_nlist_n_un_n_name=yes
9936 else 9952 else
9937 echo "$as_me: failed program was:" >&5 9953 echo "$as_me: failed program was:" >&5
9938 cat conftest.$ac_ext >&5 9954 cat conftest.$ac_ext >&5
9939 ac_cv_member_struct_nlist_n_un_n_name=no 9955 ac_cv_member_struct_nlist_n_un_n_name=no
9940 fi 9956 fi
9941 rm -f conftest.$ac_objext conftest.$ac_ext 9957 rm -f conftest.$ac_objext conftest.$ac_ext
9942 fi 9958 fi
9943 echo "$as_me:9943: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 9959 echo "$as_me:9959: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9944 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 9960 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9945 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then 9961 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9946 9962
9947 cat >>confdefs.h <<EOF 9963 cat >>confdefs.h <<EOF
9948 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 9964 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
9959 9975
9960 fi 9976 fi
9961 done 9977 done
9962 9978
9963 # Some definitions of getloadavg require that the program be installed setgid. 9979 # Some definitions of getloadavg require that the program be installed setgid.
9964 echo "$as_me:9964: checking whether getloadavg requires setgid" >&5 9980 echo "$as_me:9980: checking whether getloadavg requires setgid" >&5
9965 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 9981 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9966 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then 9982 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9967 echo $ECHO_N "(cached) $ECHO_C" >&6 9983 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 else 9984 else
9969 cat >conftest.$ac_ext <<_ACEOF 9985 cat >conftest.$ac_ext <<_ACEOF
9970 #line 9970 "configure" 9986 #line 9986 "configure"
9971 #include "confdefs.h" 9987 #include "confdefs.h"
9972 #include "$srcdir/getloadavg.c" 9988 #include "$srcdir/getloadavg.c"
9973 #ifdef LDAV_PRIVILEGED 9989 #ifdef LDAV_PRIVILEGED
9974 Yowza Am I SETGID yet 9990 Yowza Am I SETGID yet
9975 #endif 9991 #endif
9981 ac_cv_func_getloadavg_setgid=no 9997 ac_cv_func_getloadavg_setgid=no
9982 fi 9998 fi
9983 rm -f conftest* 9999 rm -f conftest*
9984 10000
9985 fi 10001 fi
9986 echo "$as_me:9986: result: $ac_cv_func_getloadavg_setgid" >&5 10002 echo "$as_me:10002: result: $ac_cv_func_getloadavg_setgid" >&5
9987 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 10003 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
9988 if test $ac_cv_func_getloadavg_setgid = yes; then 10004 if test $ac_cv_func_getloadavg_setgid = yes; then
9989 NEED_SETGID=true 10005 NEED_SETGID=true
9990 10006
9991 cat >>confdefs.h <<\EOF 10007 cat >>confdefs.h <<\EOF
9995 else 10011 else
9996 NEED_SETGID=false 10012 NEED_SETGID=false
9997 fi 10013 fi
9998 10014
9999 if test $ac_cv_func_getloadavg_setgid = yes; then 10015 if test $ac_cv_func_getloadavg_setgid = yes; then
10000 echo "$as_me:10000: checking group of /dev/kmem" >&5 10016 echo "$as_me:10016: checking group of /dev/kmem" >&5
10001 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 10017 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
10002 if test "${ac_cv_group_kmem+set}" = set; then 10018 if test "${ac_cv_group_kmem+set}" = set; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6 10019 echo $ECHO_N "(cached) $ECHO_C" >&6
10004 else 10020 else
10005 # On Solaris, /dev/kmem is a symlink. Get info on the real file. 10021 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
10010 | sed -ne 's/[ ][ ]*/ /g; 10026 | sed -ne 's/[ ][ ]*/ /g;
10011 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; 10027 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
10012 / /s/.* //;p;'` 10028 / /s/.* //;p;'`
10013 10029
10014 fi 10030 fi
10015 echo "$as_me:10015: result: $ac_cv_group_kmem" >&5 10031 echo "$as_me:10031: result: $ac_cv_group_kmem" >&5
10016 echo "${ECHO_T}$ac_cv_group_kmem" >&6 10032 echo "${ECHO_T}$ac_cv_group_kmem" >&6
10017 KMEM_GROUP=$ac_cv_group_kmem 10033 KMEM_GROUP=$ac_cv_group_kmem
10018 fi 10034 fi
10019 if test "x$ac_save_LIBS" = x; then 10035 if test "x$ac_save_LIBS" = x; then
10020 GETLOADAVG_LIBS=$LIBS 10036 GETLOADAVG_LIBS=$LIBS
10021 else 10037 else
10022 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` 10038 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
10023 fi 10039 fi
10024 LIBS=$ac_save_LIBS 10040 LIBS=$ac_save_LIBS
10025 10041
10026 echo "$as_me:10026: checking for _LARGEFILE_SOURCE value needed for large files" >&5 10042 echo "$as_me:10042: checking for _LARGEFILE_SOURCE value needed for large files" >&5
10027 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 10043 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
10028 if test "${ac_cv_sys_largefile_source+set}" = set; then 10044 if test "${ac_cv_sys_largefile_source+set}" = set; then
10029 echo $ECHO_N "(cached) $ECHO_C" >&6 10045 echo $ECHO_N "(cached) $ECHO_C" >&6
10030 else 10046 else
10031 while :; do 10047 while :; do
10032 ac_cv_sys_largefile_source=no 10048 ac_cv_sys_largefile_source=no
10033 cat >conftest.$ac_ext <<_ACEOF 10049 cat >conftest.$ac_ext <<_ACEOF
10034 #line 10034 "configure" 10050 #line 10050 "configure"
10035 #include "confdefs.h" 10051 #include "confdefs.h"
10036 #include <stdio.h> 10052 #include <stdio.h>
10037 int 10053 int
10038 main () 10054 main ()
10039 { 10055 {
10041 ; 10057 ;
10042 return 0; 10058 return 0;
10043 } 10059 }
10044 _ACEOF 10060 _ACEOF
10045 rm -f conftest.$ac_objext 10061 rm -f conftest.$ac_objext
10046 if { (eval echo "$as_me:10046: \"$ac_compile\"") >&5 10062 if { (eval echo "$as_me:10062: \"$ac_compile\"") >&5
10047 (eval $ac_compile) 2>&5 10063 (eval $ac_compile) 2>&5
10048 ac_status=$? 10064 ac_status=$?
10049 echo "$as_me:10049: \$? = $ac_status" >&5 10065 echo "$as_me:10065: \$? = $ac_status" >&5
10050 (exit $ac_status); } && 10066 (exit $ac_status); } &&
10051 { ac_try='test -s conftest.$ac_objext' 10067 { ac_try='test -s conftest.$ac_objext'
10052 { (eval echo "$as_me:10052: \"$ac_try\"") >&5 10068 { (eval echo "$as_me:10068: \"$ac_try\"") >&5
10053 (eval $ac_try) 2>&5 10069 (eval $ac_try) 2>&5
10054 ac_status=$? 10070 ac_status=$?
10055 echo "$as_me:10055: \$? = $ac_status" >&5 10071 echo "$as_me:10071: \$? = $ac_status" >&5
10056 (exit $ac_status); }; }; then 10072 (exit $ac_status); }; }; then
10057 break 10073 break
10058 else 10074 else
10059 echo "$as_me: failed program was:" >&5 10075 echo "$as_me: failed program was:" >&5
10060 cat conftest.$ac_ext >&5 10076 cat conftest.$ac_ext >&5
10061 fi 10077 fi
10062 rm -f conftest.$ac_objext conftest.$ac_ext 10078 rm -f conftest.$ac_objext conftest.$ac_ext
10063 cat >conftest.$ac_ext <<_ACEOF 10079 cat >conftest.$ac_ext <<_ACEOF
10064 #line 10064 "configure" 10080 #line 10080 "configure"
10065 #include "confdefs.h" 10081 #include "confdefs.h"
10066 #define _LARGEFILE_SOURCE 1 10082 #define _LARGEFILE_SOURCE 1
10067 #include <stdio.h> 10083 #include <stdio.h>
10068 int 10084 int
10069 main () 10085 main ()
10072 ; 10088 ;
10073 return 0; 10089 return 0;
10074 } 10090 }
10075 _ACEOF 10091 _ACEOF
10076 rm -f conftest.$ac_objext 10092 rm -f conftest.$ac_objext
10077 if { (eval echo "$as_me:10077: \"$ac_compile\"") >&5 10093 if { (eval echo "$as_me:10093: \"$ac_compile\"") >&5
10078 (eval $ac_compile) 2>&5 10094 (eval $ac_compile) 2>&5
10079 ac_status=$? 10095 ac_status=$?
10080 echo "$as_me:10080: \$? = $ac_status" >&5 10096 echo "$as_me:10096: \$? = $ac_status" >&5
10081 (exit $ac_status); } && 10097 (exit $ac_status); } &&
10082 { ac_try='test -s conftest.$ac_objext' 10098 { ac_try='test -s conftest.$ac_objext'
10083 { (eval echo "$as_me:10083: \"$ac_try\"") >&5 10099 { (eval echo "$as_me:10099: \"$ac_try\"") >&5
10084 (eval $ac_try) 2>&5 10100 (eval $ac_try) 2>&5
10085 ac_status=$? 10101 ac_status=$?
10086 echo "$as_me:10086: \$? = $ac_status" >&5 10102 echo "$as_me:10102: \$? = $ac_status" >&5
10087 (exit $ac_status); }; }; then 10103 (exit $ac_status); }; }; then
10088 ac_cv_sys_largefile_source=1; break 10104 ac_cv_sys_largefile_source=1; break
10089 else 10105 else
10090 echo "$as_me: failed program was:" >&5 10106 echo "$as_me: failed program was:" >&5
10091 cat conftest.$ac_ext >&5 10107 cat conftest.$ac_ext >&5
10092 fi 10108 fi
10093 rm -f conftest.$ac_objext conftest.$ac_ext 10109 rm -f conftest.$ac_objext conftest.$ac_ext
10094 break 10110 break
10095 done 10111 done
10096 fi 10112 fi
10097 echo "$as_me:10097: result: $ac_cv_sys_largefile_source" >&5 10113 echo "$as_me:10113: result: $ac_cv_sys_largefile_source" >&5
10098 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 10114 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
10099 if test "$ac_cv_sys_largefile_source" != no; then 10115 if test "$ac_cv_sys_largefile_source" != no; then
10100 10116
10101 cat >>confdefs.h <<EOF 10117 cat >>confdefs.h <<EOF
10102 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 10118 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
10106 rm -f conftest* 10122 rm -f conftest*
10107 10123
10108 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 10124 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
10109 # in glibc 2.1.3, but that breaks too many other things. 10125 # in glibc 2.1.3, but that breaks too many other things.
10110 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 10126 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
10111 echo "$as_me:10111: checking for fseeko" >&5 10127 echo "$as_me:10127: checking for fseeko" >&5
10112 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 10128 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
10113 if test "${ac_cv_func_fseeko+set}" = set; then 10129 if test "${ac_cv_func_fseeko+set}" = set; then
10114 echo $ECHO_N "(cached) $ECHO_C" >&6 10130 echo $ECHO_N "(cached) $ECHO_C" >&6
10115 else 10131 else
10116 cat >conftest.$ac_ext <<_ACEOF 10132 cat >conftest.$ac_ext <<_ACEOF
10117 #line 10117 "configure" 10133 #line 10133 "configure"
10118 #include "confdefs.h" 10134 #include "confdefs.h"
10119 #include <stdio.h> 10135 #include <stdio.h>
10120 int 10136 int
10121 main () 10137 main ()
10122 { 10138 {
10124 ; 10140 ;
10125 return 0; 10141 return 0;
10126 } 10142 }
10127 _ACEOF 10143 _ACEOF
10128 rm -f conftest.$ac_objext conftest$ac_exeext 10144 rm -f conftest.$ac_objext conftest$ac_exeext
10129 if { (eval echo "$as_me:10129: \"$ac_link\"") >&5 10145 if { (eval echo "$as_me:10145: \"$ac_link\"") >&5
10130 (eval $ac_link) 2>&5 10146 (eval $ac_link) 2>&5
10131 ac_status=$? 10147 ac_status=$?
10132 echo "$as_me:10132: \$? = $ac_status" >&5 10148 echo "$as_me:10148: \$? = $ac_status" >&5
10133 (exit $ac_status); } && 10149 (exit $ac_status); } &&
10134 { ac_try='test -s conftest$ac_exeext' 10150 { ac_try='test -s conftest$ac_exeext'
10135 { (eval echo "$as_me:10135: \"$ac_try\"") >&5 10151 { (eval echo "$as_me:10151: \"$ac_try\"") >&5
10136 (eval $ac_try) 2>&5 10152 (eval $ac_try) 2>&5
10137 ac_status=$? 10153 ac_status=$?
10138 echo "$as_me:10138: \$? = $ac_status" >&5 10154 echo "$as_me:10154: \$? = $ac_status" >&5
10139 (exit $ac_status); }; }; then 10155 (exit $ac_status); }; }; then
10140 ac_cv_func_fseeko=yes 10156 ac_cv_func_fseeko=yes
10141 else 10157 else
10142 echo "$as_me: failed program was:" >&5 10158 echo "$as_me: failed program was:" >&5
10143 cat conftest.$ac_ext >&5 10159 cat conftest.$ac_ext >&5
10144 ac_cv_func_fseeko=no 10160 ac_cv_func_fseeko=no
10145 fi 10161 fi
10146 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10162 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10147 fi 10163 fi
10148 echo "$as_me:10148: result: $ac_cv_func_fseeko" >&5 10164 echo "$as_me:10164: result: $ac_cv_func_fseeko" >&5
10149 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 10165 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
10150 if test $ac_cv_func_fseeko = yes; then 10166 if test $ac_cv_func_fseeko = yes; then
10151 10167
10152 cat >>confdefs.h <<\EOF 10168 cat >>confdefs.h <<\EOF
10153 #define HAVE_FSEEKO 1 10169 #define HAVE_FSEEKO 1
10158 # UNIX98 PTYs. 10174 # UNIX98 PTYs.
10159 10175
10160 for ac_func in grantpt 10176 for ac_func in grantpt
10161 do 10177 do
10162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10163 echo "$as_me:10163: checking for $ac_func" >&5 10179 echo "$as_me:10179: checking for $ac_func" >&5
10164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10165 if eval "test \"\${$as_ac_var+set}\" = set"; then 10181 if eval "test \"\${$as_ac_var+set}\" = set"; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6 10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10167 else 10183 else
10168 cat >conftest.$ac_ext <<_ACEOF 10184 cat >conftest.$ac_ext <<_ACEOF
10169 #line 10169 "configure" 10185 #line 10185 "configure"
10170 #include "confdefs.h" 10186 #include "confdefs.h"
10171 /* System header to define __stub macros and hopefully few prototypes, 10187 /* System header to define __stub macros and hopefully few prototypes,
10172 which can conflict with char $ac_func (); below. */ 10188 which can conflict with char $ac_func (); below. */
10173 #include <assert.h> 10189 #include <assert.h>
10174 /* Override any gcc2 internal prototype to avoid an error. */ 10190 /* Override any gcc2 internal prototype to avoid an error. */
10195 ; 10211 ;
10196 return 0; 10212 return 0;
10197 } 10213 }
10198 _ACEOF 10214 _ACEOF
10199 rm -f conftest.$ac_objext conftest$ac_exeext 10215 rm -f conftest.$ac_objext conftest$ac_exeext
10200 if { (eval echo "$as_me:10200: \"$ac_link\"") >&5 10216 if { (eval echo "$as_me:10216: \"$ac_link\"") >&5
10201 (eval $ac_link) 2>&5 10217 (eval $ac_link) 2>&5
10202 ac_status=$? 10218 ac_status=$?
10203 echo "$as_me:10203: \$? = $ac_status" >&5 10219 echo "$as_me:10219: \$? = $ac_status" >&5
10204 (exit $ac_status); } && 10220 (exit $ac_status); } &&
10205 { ac_try='test -s conftest$ac_exeext' 10221 { ac_try='test -s conftest$ac_exeext'
10206 { (eval echo "$as_me:10206: \"$ac_try\"") >&5 10222 { (eval echo "$as_me:10222: \"$ac_try\"") >&5
10207 (eval $ac_try) 2>&5 10223 (eval $ac_try) 2>&5
10208 ac_status=$? 10224 ac_status=$?
10209 echo "$as_me:10209: \$? = $ac_status" >&5 10225 echo "$as_me:10225: \$? = $ac_status" >&5
10210 (exit $ac_status); }; }; then 10226 (exit $ac_status); }; }; then
10211 eval "$as_ac_var=yes" 10227 eval "$as_ac_var=yes"
10212 else 10228 else
10213 echo "$as_me: failed program was:" >&5 10229 echo "$as_me: failed program was:" >&5
10214 cat conftest.$ac_ext >&5 10230 cat conftest.$ac_ext >&5
10215 eval "$as_ac_var=no" 10231 eval "$as_ac_var=no"
10216 fi 10232 fi
10217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10218 fi 10234 fi
10219 echo "$as_me:10219: result: `eval echo '${'$as_ac_var'}'`" >&5 10235 echo "$as_me:10235: result: `eval echo '${'$as_ac_var'}'`" >&5
10220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10221 if test `eval echo '${'$as_ac_var'}'` = yes; then 10237 if test `eval echo '${'$as_ac_var'}'` = yes; then
10222 cat >>confdefs.h <<EOF 10238 cat >>confdefs.h <<EOF
10223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10224 EOF 10240 EOF
10229 # PTY-related GNU extensions. 10245 # PTY-related GNU extensions.
10230 10246
10231 for ac_func in getpt 10247 for ac_func in getpt
10232 do 10248 do
10233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10234 echo "$as_me:10234: checking for $ac_func" >&5 10250 echo "$as_me:10250: checking for $ac_func" >&5
10235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10236 if eval "test \"\${$as_ac_var+set}\" = set"; then 10252 if eval "test \"\${$as_ac_var+set}\" = set"; then
10237 echo $ECHO_N "(cached) $ECHO_C" >&6 10253 echo $ECHO_N "(cached) $ECHO_C" >&6
10238 else 10254 else
10239 cat >conftest.$ac_ext <<_ACEOF 10255 cat >conftest.$ac_ext <<_ACEOF
10240 #line 10240 "configure" 10256 #line 10256 "configure"
10241 #include "confdefs.h" 10257 #include "confdefs.h"
10242 /* System header to define __stub macros and hopefully few prototypes, 10258 /* System header to define __stub macros and hopefully few prototypes,
10243 which can conflict with char $ac_func (); below. */ 10259 which can conflict with char $ac_func (); below. */
10244 #include <assert.h> 10260 #include <assert.h>
10245 /* Override any gcc2 internal prototype to avoid an error. */ 10261 /* Override any gcc2 internal prototype to avoid an error. */
10266 ; 10282 ;
10267 return 0; 10283 return 0;
10268 } 10284 }
10269 _ACEOF 10285 _ACEOF
10270 rm -f conftest.$ac_objext conftest$ac_exeext 10286 rm -f conftest.$ac_objext conftest$ac_exeext
10271 if { (eval echo "$as_me:10271: \"$ac_link\"") >&5 10287 if { (eval echo "$as_me:10287: \"$ac_link\"") >&5
10272 (eval $ac_link) 2>&5 10288 (eval $ac_link) 2>&5
10273 ac_status=$? 10289 ac_status=$?
10274 echo "$as_me:10274: \$? = $ac_status" >&5 10290 echo "$as_me:10290: \$? = $ac_status" >&5
10275 (exit $ac_status); } && 10291 (exit $ac_status); } &&
10276 { ac_try='test -s conftest$ac_exeext' 10292 { ac_try='test -s conftest$ac_exeext'
10277 { (eval echo "$as_me:10277: \"$ac_try\"") >&5 10293 { (eval echo "$as_me:10293: \"$ac_try\"") >&5
10278 (eval $ac_try) 2>&5 10294 (eval $ac_try) 2>&5
10279 ac_status=$? 10295 ac_status=$?
10280 echo "$as_me:10280: \$? = $ac_status" >&5 10296 echo "$as_me:10296: \$? = $ac_status" >&5
10281 (exit $ac_status); }; }; then 10297 (exit $ac_status); }; }; then
10282 eval "$as_ac_var=yes" 10298 eval "$as_ac_var=yes"
10283 else 10299 else
10284 echo "$as_me: failed program was:" >&5 10300 echo "$as_me: failed program was:" >&5
10285 cat conftest.$ac_ext >&5 10301 cat conftest.$ac_ext >&5
10286 eval "$as_ac_var=no" 10302 eval "$as_ac_var=no"
10287 fi 10303 fi
10288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10289 fi 10305 fi
10290 echo "$as_me:10290: result: `eval echo '${'$as_ac_var'}'`" >&5 10306 echo "$as_me:10306: result: `eval echo '${'$as_ac_var'}'`" >&5
10291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10292 if test `eval echo '${'$as_ac_var'}'` = yes; then 10308 if test `eval echo '${'$as_ac_var'}'` = yes; then
10293 cat >>confdefs.h <<EOF 10309 cat >>confdefs.h <<EOF
10294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10295 EOF 10311 EOF
10300 # Check this now, so that we will NOT find the above functions in ncurses. 10316 # Check this now, so that we will NOT find the above functions in ncurses.
10301 # That is because we have not set up to link ncurses in lib-src. 10317 # That is because we have not set up to link ncurses in lib-src.
10302 # It's better to believe a function is not available 10318 # It's better to believe a function is not available
10303 # than to expect to find it in ncurses. 10319 # than to expect to find it in ncurses.
10304 10320
10305 echo "$as_me:10305: checking for tparm in -lncurses" >&5 10321 echo "$as_me:10321: checking for tparm in -lncurses" >&5
10306 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 10322 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
10307 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then 10323 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6 10324 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 else 10325 else
10310 ac_check_lib_save_LIBS=$LIBS 10326 ac_check_lib_save_LIBS=$LIBS
10311 LIBS="-lncurses $LIBS" 10327 LIBS="-lncurses $LIBS"
10312 cat >conftest.$ac_ext <<_ACEOF 10328 cat >conftest.$ac_ext <<_ACEOF
10313 #line 10313 "configure" 10329 #line 10329 "configure"
10314 #include "confdefs.h" 10330 #include "confdefs.h"
10315 10331
10316 /* Override any gcc2 internal prototype to avoid an error. */ 10332 /* Override any gcc2 internal prototype to avoid an error. */
10317 #ifdef __cplusplus 10333 #ifdef __cplusplus
10318 extern "C" 10334 extern "C"
10327 ; 10343 ;
10328 return 0; 10344 return 0;
10329 } 10345 }
10330 _ACEOF 10346 _ACEOF
10331 rm -f conftest.$ac_objext conftest$ac_exeext 10347 rm -f conftest.$ac_objext conftest$ac_exeext
10332 if { (eval echo "$as_me:10332: \"$ac_link\"") >&5 10348 if { (eval echo "$as_me:10348: \"$ac_link\"") >&5
10333 (eval $ac_link) 2>&5 10349 (eval $ac_link) 2>&5
10334 ac_status=$? 10350 ac_status=$?
10335 echo "$as_me:10335: \$? = $ac_status" >&5 10351 echo "$as_me:10351: \$? = $ac_status" >&5
10336 (exit $ac_status); } && 10352 (exit $ac_status); } &&
10337 { ac_try='test -s conftest$ac_exeext' 10353 { ac_try='test -s conftest$ac_exeext'
10338 { (eval echo "$as_me:10338: \"$ac_try\"") >&5 10354 { (eval echo "$as_me:10354: \"$ac_try\"") >&5
10339 (eval $ac_try) 2>&5 10355 (eval $ac_try) 2>&5
10340 ac_status=$? 10356 ac_status=$?
10341 echo "$as_me:10341: \$? = $ac_status" >&5 10357 echo "$as_me:10357: \$? = $ac_status" >&5
10342 (exit $ac_status); }; }; then 10358 (exit $ac_status); }; }; then
10343 ac_cv_lib_ncurses_tparm=yes 10359 ac_cv_lib_ncurses_tparm=yes
10344 else 10360 else
10345 echo "$as_me: failed program was:" >&5 10361 echo "$as_me: failed program was:" >&5
10346 cat conftest.$ac_ext >&5 10362 cat conftest.$ac_ext >&5
10347 ac_cv_lib_ncurses_tparm=no 10363 ac_cv_lib_ncurses_tparm=no
10348 fi 10364 fi
10349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10350 LIBS=$ac_check_lib_save_LIBS 10366 LIBS=$ac_check_lib_save_LIBS
10351 fi 10367 fi
10352 echo "$as_me:10352: result: $ac_cv_lib_ncurses_tparm" >&5 10368 echo "$as_me:10368: result: $ac_cv_lib_ncurses_tparm" >&5
10353 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 10369 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
10354 if test $ac_cv_lib_ncurses_tparm = yes; then 10370 if test $ac_cv_lib_ncurses_tparm = yes; then
10355 cat >>confdefs.h <<EOF 10371 cat >>confdefs.h <<EOF
10356 #define HAVE_LIBNCURSES 1 10372 #define HAVE_LIBNCURSES 1
10357 EOF 10373 EOF
10362 10378
10363 # Do we need the Hesiod library to provide the support routines? 10379 # Do we need the Hesiod library to provide the support routines?
10364 if test "$with_hesiod" = yes ; then 10380 if test "$with_hesiod" = yes ; then
10365 # Don't set $LIBS here -- see comments above. 10381 # Don't set $LIBS here -- see comments above.
10366 resolv=no 10382 resolv=no
10367 echo "$as_me:10367: checking for res_send" >&5 10383 echo "$as_me:10383: checking for res_send" >&5
10368 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 10384 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10369 if test "${ac_cv_func_res_send+set}" = set; then 10385 if test "${ac_cv_func_res_send+set}" = set; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6 10386 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 else 10387 else
10372 cat >conftest.$ac_ext <<_ACEOF 10388 cat >conftest.$ac_ext <<_ACEOF
10373 #line 10373 "configure" 10389 #line 10389 "configure"
10374 #include "confdefs.h" 10390 #include "confdefs.h"
10375 /* System header to define __stub macros and hopefully few prototypes, 10391 /* System header to define __stub macros and hopefully few prototypes,
10376 which can conflict with char res_send (); below. */ 10392 which can conflict with char res_send (); below. */
10377 #include <assert.h> 10393 #include <assert.h>
10378 /* Override any gcc2 internal prototype to avoid an error. */ 10394 /* Override any gcc2 internal prototype to avoid an error. */
10399 ; 10415 ;
10400 return 0; 10416 return 0;
10401 } 10417 }
10402 _ACEOF 10418 _ACEOF
10403 rm -f conftest.$ac_objext conftest$ac_exeext 10419 rm -f conftest.$ac_objext conftest$ac_exeext
10404 if { (eval echo "$as_me:10404: \"$ac_link\"") >&5 10420 if { (eval echo "$as_me:10420: \"$ac_link\"") >&5
10405 (eval $ac_link) 2>&5 10421 (eval $ac_link) 2>&5
10406 ac_status=$? 10422 ac_status=$?
10407 echo "$as_me:10407: \$? = $ac_status" >&5 10423 echo "$as_me:10423: \$? = $ac_status" >&5
10408 (exit $ac_status); } && 10424 (exit $ac_status); } &&
10409 { ac_try='test -s conftest$ac_exeext' 10425 { ac_try='test -s conftest$ac_exeext'
10410 { (eval echo "$as_me:10410: \"$ac_try\"") >&5 10426 { (eval echo "$as_me:10426: \"$ac_try\"") >&5
10411 (eval $ac_try) 2>&5 10427 (eval $ac_try) 2>&5
10412 ac_status=$? 10428 ac_status=$?
10413 echo "$as_me:10413: \$? = $ac_status" >&5 10429 echo "$as_me:10429: \$? = $ac_status" >&5
10414 (exit $ac_status); }; }; then 10430 (exit $ac_status); }; }; then
10415 ac_cv_func_res_send=yes 10431 ac_cv_func_res_send=yes
10416 else 10432 else
10417 echo "$as_me: failed program was:" >&5 10433 echo "$as_me: failed program was:" >&5
10418 cat conftest.$ac_ext >&5 10434 cat conftest.$ac_ext >&5
10419 ac_cv_func_res_send=no 10435 ac_cv_func_res_send=no
10420 fi 10436 fi
10421 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10437 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10422 fi 10438 fi
10423 echo "$as_me:10423: result: $ac_cv_func_res_send" >&5 10439 echo "$as_me:10439: result: $ac_cv_func_res_send" >&5
10424 echo "${ECHO_T}$ac_cv_func_res_send" >&6 10440 echo "${ECHO_T}$ac_cv_func_res_send" >&6
10425 if test $ac_cv_func_res_send = yes; then 10441 if test $ac_cv_func_res_send = yes; then
10426 : 10442 :
10427 else 10443 else
10428 echo "$as_me:10428: checking for __res_send" >&5 10444 echo "$as_me:10444: checking for __res_send" >&5
10429 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 10445 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10430 if test "${ac_cv_func___res_send+set}" = set; then 10446 if test "${ac_cv_func___res_send+set}" = set; then
10431 echo $ECHO_N "(cached) $ECHO_C" >&6 10447 echo $ECHO_N "(cached) $ECHO_C" >&6
10432 else 10448 else
10433 cat >conftest.$ac_ext <<_ACEOF 10449 cat >conftest.$ac_ext <<_ACEOF
10434 #line 10434 "configure" 10450 #line 10450 "configure"
10435 #include "confdefs.h" 10451 #include "confdefs.h"
10436 /* System header to define __stub macros and hopefully few prototypes, 10452 /* System header to define __stub macros and hopefully few prototypes,
10437 which can conflict with char __res_send (); below. */ 10453 which can conflict with char __res_send (); below. */
10438 #include <assert.h> 10454 #include <assert.h>
10439 /* Override any gcc2 internal prototype to avoid an error. */ 10455 /* Override any gcc2 internal prototype to avoid an error. */
10460 ; 10476 ;
10461 return 0; 10477 return 0;
10462 } 10478 }
10463 _ACEOF 10479 _ACEOF
10464 rm -f conftest.$ac_objext conftest$ac_exeext 10480 rm -f conftest.$ac_objext conftest$ac_exeext
10465 if { (eval echo "$as_me:10465: \"$ac_link\"") >&5 10481 if { (eval echo "$as_me:10481: \"$ac_link\"") >&5
10466 (eval $ac_link) 2>&5 10482 (eval $ac_link) 2>&5
10467 ac_status=$? 10483 ac_status=$?
10468 echo "$as_me:10468: \$? = $ac_status" >&5 10484 echo "$as_me:10484: \$? = $ac_status" >&5
10469 (exit $ac_status); } && 10485 (exit $ac_status); } &&
10470 { ac_try='test -s conftest$ac_exeext' 10486 { ac_try='test -s conftest$ac_exeext'
10471 { (eval echo "$as_me:10471: \"$ac_try\"") >&5 10487 { (eval echo "$as_me:10487: \"$ac_try\"") >&5
10472 (eval $ac_try) 2>&5 10488 (eval $ac_try) 2>&5
10473 ac_status=$? 10489 ac_status=$?
10474 echo "$as_me:10474: \$? = $ac_status" >&5 10490 echo "$as_me:10490: \$? = $ac_status" >&5
10475 (exit $ac_status); }; }; then 10491 (exit $ac_status); }; }; then
10476 ac_cv_func___res_send=yes 10492 ac_cv_func___res_send=yes
10477 else 10493 else
10478 echo "$as_me: failed program was:" >&5 10494 echo "$as_me: failed program was:" >&5
10479 cat conftest.$ac_ext >&5 10495 cat conftest.$ac_ext >&5
10480 ac_cv_func___res_send=no 10496 ac_cv_func___res_send=no
10481 fi 10497 fi
10482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10483 fi 10499 fi
10484 echo "$as_me:10484: result: $ac_cv_func___res_send" >&5 10500 echo "$as_me:10500: result: $ac_cv_func___res_send" >&5
10485 echo "${ECHO_T}$ac_cv_func___res_send" >&6 10501 echo "${ECHO_T}$ac_cv_func___res_send" >&6
10486 if test $ac_cv_func___res_send = yes; then 10502 if test $ac_cv_func___res_send = yes; then
10487 : 10503 :
10488 else 10504 else
10489 echo "$as_me:10489: checking for res_send in -lresolv" >&5 10505 echo "$as_me:10505: checking for res_send in -lresolv" >&5
10490 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 10506 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10491 if test "${ac_cv_lib_resolv_res_send+set}" = set; then 10507 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10492 echo $ECHO_N "(cached) $ECHO_C" >&6 10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10493 else 10509 else
10494 ac_check_lib_save_LIBS=$LIBS 10510 ac_check_lib_save_LIBS=$LIBS
10495 LIBS="-lresolv $LIBS" 10511 LIBS="-lresolv $LIBS"
10496 cat >conftest.$ac_ext <<_ACEOF 10512 cat >conftest.$ac_ext <<_ACEOF
10497 #line 10497 "configure" 10513 #line 10513 "configure"
10498 #include "confdefs.h" 10514 #include "confdefs.h"
10499 10515
10500 /* Override any gcc2 internal prototype to avoid an error. */ 10516 /* Override any gcc2 internal prototype to avoid an error. */
10501 #ifdef __cplusplus 10517 #ifdef __cplusplus
10502 extern "C" 10518 extern "C"
10511 ; 10527 ;
10512 return 0; 10528 return 0;
10513 } 10529 }
10514 _ACEOF 10530 _ACEOF
10515 rm -f conftest.$ac_objext conftest$ac_exeext 10531 rm -f conftest.$ac_objext conftest$ac_exeext
10516 if { (eval echo "$as_me:10516: \"$ac_link\"") >&5 10532 if { (eval echo "$as_me:10532: \"$ac_link\"") >&5
10517 (eval $ac_link) 2>&5 10533 (eval $ac_link) 2>&5
10518 ac_status=$? 10534 ac_status=$?
10519 echo "$as_me:10519: \$? = $ac_status" >&5 10535 echo "$as_me:10535: \$? = $ac_status" >&5
10520 (exit $ac_status); } && 10536 (exit $ac_status); } &&
10521 { ac_try='test -s conftest$ac_exeext' 10537 { ac_try='test -s conftest$ac_exeext'
10522 { (eval echo "$as_me:10522: \"$ac_try\"") >&5 10538 { (eval echo "$as_me:10538: \"$ac_try\"") >&5
10523 (eval $ac_try) 2>&5 10539 (eval $ac_try) 2>&5
10524 ac_status=$? 10540 ac_status=$?
10525 echo "$as_me:10525: \$? = $ac_status" >&5 10541 echo "$as_me:10541: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then 10542 (exit $ac_status); }; }; then
10527 ac_cv_lib_resolv_res_send=yes 10543 ac_cv_lib_resolv_res_send=yes
10528 else 10544 else
10529 echo "$as_me: failed program was:" >&5 10545 echo "$as_me: failed program was:" >&5
10530 cat conftest.$ac_ext >&5 10546 cat conftest.$ac_ext >&5
10531 ac_cv_lib_resolv_res_send=no 10547 ac_cv_lib_resolv_res_send=no
10532 fi 10548 fi
10533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10534 LIBS=$ac_check_lib_save_LIBS 10550 LIBS=$ac_check_lib_save_LIBS
10535 fi 10551 fi
10536 echo "$as_me:10536: result: $ac_cv_lib_resolv_res_send" >&5 10552 echo "$as_me:10552: result: $ac_cv_lib_resolv_res_send" >&5
10537 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 10553 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10538 if test $ac_cv_lib_resolv_res_send = yes; then 10554 if test $ac_cv_lib_resolv_res_send = yes; then
10539 resolv=yes 10555 resolv=yes
10540 else 10556 else
10541 echo "$as_me:10541: checking for __res_send in -lresolv" >&5 10557 echo "$as_me:10557: checking for __res_send in -lresolv" >&5
10542 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 10558 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10543 if test "${ac_cv_lib_resolv___res_send+set}" = set; then 10559 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10544 echo $ECHO_N "(cached) $ECHO_C" >&6 10560 echo $ECHO_N "(cached) $ECHO_C" >&6
10545 else 10561 else
10546 ac_check_lib_save_LIBS=$LIBS 10562 ac_check_lib_save_LIBS=$LIBS
10547 LIBS="-lresolv $LIBS" 10563 LIBS="-lresolv $LIBS"
10548 cat >conftest.$ac_ext <<_ACEOF 10564 cat >conftest.$ac_ext <<_ACEOF
10549 #line 10549 "configure" 10565 #line 10565 "configure"
10550 #include "confdefs.h" 10566 #include "confdefs.h"
10551 10567
10552 /* Override any gcc2 internal prototype to avoid an error. */ 10568 /* Override any gcc2 internal prototype to avoid an error. */
10553 #ifdef __cplusplus 10569 #ifdef __cplusplus
10554 extern "C" 10570 extern "C"
10563 ; 10579 ;
10564 return 0; 10580 return 0;
10565 } 10581 }
10566 _ACEOF 10582 _ACEOF
10567 rm -f conftest.$ac_objext conftest$ac_exeext 10583 rm -f conftest.$ac_objext conftest$ac_exeext
10568 if { (eval echo "$as_me:10568: \"$ac_link\"") >&5 10584 if { (eval echo "$as_me:10584: \"$ac_link\"") >&5
10569 (eval $ac_link) 2>&5 10585 (eval $ac_link) 2>&5
10570 ac_status=$? 10586 ac_status=$?
10571 echo "$as_me:10571: \$? = $ac_status" >&5 10587 echo "$as_me:10587: \$? = $ac_status" >&5
10572 (exit $ac_status); } && 10588 (exit $ac_status); } &&
10573 { ac_try='test -s conftest$ac_exeext' 10589 { ac_try='test -s conftest$ac_exeext'
10574 { (eval echo "$as_me:10574: \"$ac_try\"") >&5 10590 { (eval echo "$as_me:10590: \"$ac_try\"") >&5
10575 (eval $ac_try) 2>&5 10591 (eval $ac_try) 2>&5
10576 ac_status=$? 10592 ac_status=$?
10577 echo "$as_me:10577: \$? = $ac_status" >&5 10593 echo "$as_me:10593: \$? = $ac_status" >&5
10578 (exit $ac_status); }; }; then 10594 (exit $ac_status); }; }; then
10579 ac_cv_lib_resolv___res_send=yes 10595 ac_cv_lib_resolv___res_send=yes
10580 else 10596 else
10581 echo "$as_me: failed program was:" >&5 10597 echo "$as_me: failed program was:" >&5
10582 cat conftest.$ac_ext >&5 10598 cat conftest.$ac_ext >&5
10583 ac_cv_lib_resolv___res_send=no 10599 ac_cv_lib_resolv___res_send=no
10584 fi 10600 fi
10585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10601 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10586 LIBS=$ac_check_lib_save_LIBS 10602 LIBS=$ac_check_lib_save_LIBS
10587 fi 10603 fi
10588 echo "$as_me:10588: result: $ac_cv_lib_resolv___res_send" >&5 10604 echo "$as_me:10604: result: $ac_cv_lib_resolv___res_send" >&5
10589 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 10605 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10590 if test $ac_cv_lib_resolv___res_send = yes; then 10606 if test $ac_cv_lib_resolv___res_send = yes; then
10591 resolv=yes 10607 resolv=yes
10592 fi 10608 fi
10593 10609
10605 EOF 10621 EOF
10606 10622
10607 else 10623 else
10608 RESOLVLIB= 10624 RESOLVLIB=
10609 fi 10625 fi
10610 echo "$as_me:10610: checking for hes_getmailhost" >&5 10626 echo "$as_me:10626: checking for hes_getmailhost" >&5
10611 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 10627 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10612 if test "${ac_cv_func_hes_getmailhost+set}" = set; then 10628 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10613 echo $ECHO_N "(cached) $ECHO_C" >&6 10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10614 else 10630 else
10615 cat >conftest.$ac_ext <<_ACEOF 10631 cat >conftest.$ac_ext <<_ACEOF
10616 #line 10616 "configure" 10632 #line 10632 "configure"
10617 #include "confdefs.h" 10633 #include "confdefs.h"
10618 /* System header to define __stub macros and hopefully few prototypes, 10634 /* System header to define __stub macros and hopefully few prototypes,
10619 which can conflict with char hes_getmailhost (); below. */ 10635 which can conflict with char hes_getmailhost (); below. */
10620 #include <assert.h> 10636 #include <assert.h>
10621 /* Override any gcc2 internal prototype to avoid an error. */ 10637 /* Override any gcc2 internal prototype to avoid an error. */
10642 ; 10658 ;
10643 return 0; 10659 return 0;
10644 } 10660 }
10645 _ACEOF 10661 _ACEOF
10646 rm -f conftest.$ac_objext conftest$ac_exeext 10662 rm -f conftest.$ac_objext conftest$ac_exeext
10647 if { (eval echo "$as_me:10647: \"$ac_link\"") >&5 10663 if { (eval echo "$as_me:10663: \"$ac_link\"") >&5
10648 (eval $ac_link) 2>&5 10664 (eval $ac_link) 2>&5
10649 ac_status=$? 10665 ac_status=$?
10650 echo "$as_me:10650: \$? = $ac_status" >&5 10666 echo "$as_me:10666: \$? = $ac_status" >&5
10651 (exit $ac_status); } && 10667 (exit $ac_status); } &&
10652 { ac_try='test -s conftest$ac_exeext' 10668 { ac_try='test -s conftest$ac_exeext'
10653 { (eval echo "$as_me:10653: \"$ac_try\"") >&5 10669 { (eval echo "$as_me:10669: \"$ac_try\"") >&5
10654 (eval $ac_try) 2>&5 10670 (eval $ac_try) 2>&5
10655 ac_status=$? 10671 ac_status=$?
10656 echo "$as_me:10656: \$? = $ac_status" >&5 10672 echo "$as_me:10672: \$? = $ac_status" >&5
10657 (exit $ac_status); }; }; then 10673 (exit $ac_status); }; }; then
10658 ac_cv_func_hes_getmailhost=yes 10674 ac_cv_func_hes_getmailhost=yes
10659 else 10675 else
10660 echo "$as_me: failed program was:" >&5 10676 echo "$as_me: failed program was:" >&5
10661 cat conftest.$ac_ext >&5 10677 cat conftest.$ac_ext >&5
10662 ac_cv_func_hes_getmailhost=no 10678 ac_cv_func_hes_getmailhost=no
10663 fi 10679 fi
10664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10665 fi 10681 fi
10666 echo "$as_me:10666: result: $ac_cv_func_hes_getmailhost" >&5 10682 echo "$as_me:10682: result: $ac_cv_func_hes_getmailhost" >&5
10667 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 10683 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10668 if test $ac_cv_func_hes_getmailhost = yes; then 10684 if test $ac_cv_func_hes_getmailhost = yes; then
10669 : 10685 :
10670 else 10686 else
10671 echo "$as_me:10671: checking for hes_getmailhost in -lhesiod" >&5 10687 echo "$as_me:10687: checking for hes_getmailhost in -lhesiod" >&5
10672 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 10688 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10673 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then 10689 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10674 echo $ECHO_N "(cached) $ECHO_C" >&6 10690 echo $ECHO_N "(cached) $ECHO_C" >&6
10675 else 10691 else
10676 ac_check_lib_save_LIBS=$LIBS 10692 ac_check_lib_save_LIBS=$LIBS
10677 LIBS="-lhesiod $RESOLVLIB $LIBS" 10693 LIBS="-lhesiod $RESOLVLIB $LIBS"
10678 cat >conftest.$ac_ext <<_ACEOF 10694 cat >conftest.$ac_ext <<_ACEOF
10679 #line 10679 "configure" 10695 #line 10695 "configure"
10680 #include "confdefs.h" 10696 #include "confdefs.h"
10681 10697
10682 /* Override any gcc2 internal prototype to avoid an error. */ 10698 /* Override any gcc2 internal prototype to avoid an error. */
10683 #ifdef __cplusplus 10699 #ifdef __cplusplus
10684 extern "C" 10700 extern "C"
10693 ; 10709 ;
10694 return 0; 10710 return 0;
10695 } 10711 }
10696 _ACEOF 10712 _ACEOF
10697 rm -f conftest.$ac_objext conftest$ac_exeext 10713 rm -f conftest.$ac_objext conftest$ac_exeext
10698 if { (eval echo "$as_me:10698: \"$ac_link\"") >&5 10714 if { (eval echo "$as_me:10714: \"$ac_link\"") >&5
10699 (eval $ac_link) 2>&5 10715 (eval $ac_link) 2>&5
10700 ac_status=$? 10716 ac_status=$?
10701 echo "$as_me:10701: \$? = $ac_status" >&5 10717 echo "$as_me:10717: \$? = $ac_status" >&5
10702 (exit $ac_status); } && 10718 (exit $ac_status); } &&
10703 { ac_try='test -s conftest$ac_exeext' 10719 { ac_try='test -s conftest$ac_exeext'
10704 { (eval echo "$as_me:10704: \"$ac_try\"") >&5 10720 { (eval echo "$as_me:10720: \"$ac_try\"") >&5
10705 (eval $ac_try) 2>&5 10721 (eval $ac_try) 2>&5
10706 ac_status=$? 10722 ac_status=$?
10707 echo "$as_me:10707: \$? = $ac_status" >&5 10723 echo "$as_me:10723: \$? = $ac_status" >&5
10708 (exit $ac_status); }; }; then 10724 (exit $ac_status); }; }; then
10709 ac_cv_lib_hesiod_hes_getmailhost=yes 10725 ac_cv_lib_hesiod_hes_getmailhost=yes
10710 else 10726 else
10711 echo "$as_me: failed program was:" >&5 10727 echo "$as_me: failed program was:" >&5
10712 cat conftest.$ac_ext >&5 10728 cat conftest.$ac_ext >&5
10713 ac_cv_lib_hesiod_hes_getmailhost=no 10729 ac_cv_lib_hesiod_hes_getmailhost=no
10714 fi 10730 fi
10715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10716 LIBS=$ac_check_lib_save_LIBS 10732 LIBS=$ac_check_lib_save_LIBS
10717 fi 10733 fi
10718 echo "$as_me:10718: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 10734 echo "$as_me:10734: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10719 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 10735 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10720 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 10736 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10721 10737
10722 cat >>confdefs.h <<\EOF 10738 cat >>confdefs.h <<\EOF
10723 #define HAVE_LIBHESIOD 1 10739 #define HAVE_LIBHESIOD 1
10732 fi 10748 fi
10733 10749
10734 # These tell us which Kerberos-related libraries to use. 10750 # These tell us which Kerberos-related libraries to use.
10735 if test "${with_kerberos+set}" = set; then 10751 if test "${with_kerberos+set}" = set; then
10736 10752
10737 echo "$as_me:10737: checking for com_err in -lcom_err" >&5 10753 echo "$as_me:10753: checking for com_err in -lcom_err" >&5
10738 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 10754 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10739 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 10755 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6 10756 echo $ECHO_N "(cached) $ECHO_C" >&6
10741 else 10757 else
10742 ac_check_lib_save_LIBS=$LIBS 10758 ac_check_lib_save_LIBS=$LIBS
10743 LIBS="-lcom_err $LIBS" 10759 LIBS="-lcom_err $LIBS"
10744 cat >conftest.$ac_ext <<_ACEOF 10760 cat >conftest.$ac_ext <<_ACEOF
10745 #line 10745 "configure" 10761 #line 10761 "configure"
10746 #include "confdefs.h" 10762 #include "confdefs.h"
10747 10763
10748 /* Override any gcc2 internal prototype to avoid an error. */ 10764 /* Override any gcc2 internal prototype to avoid an error. */
10749 #ifdef __cplusplus 10765 #ifdef __cplusplus
10750 extern "C" 10766 extern "C"
10759 ; 10775 ;
10760 return 0; 10776 return 0;
10761 } 10777 }
10762 _ACEOF 10778 _ACEOF
10763 rm -f conftest.$ac_objext conftest$ac_exeext 10779 rm -f conftest.$ac_objext conftest$ac_exeext
10764 if { (eval echo "$as_me:10764: \"$ac_link\"") >&5 10780 if { (eval echo "$as_me:10780: \"$ac_link\"") >&5
10765 (eval $ac_link) 2>&5 10781 (eval $ac_link) 2>&5
10766 ac_status=$? 10782 ac_status=$?
10767 echo "$as_me:10767: \$? = $ac_status" >&5 10783 echo "$as_me:10783: \$? = $ac_status" >&5
10768 (exit $ac_status); } && 10784 (exit $ac_status); } &&
10769 { ac_try='test -s conftest$ac_exeext' 10785 { ac_try='test -s conftest$ac_exeext'
10770 { (eval echo "$as_me:10770: \"$ac_try\"") >&5 10786 { (eval echo "$as_me:10786: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5 10787 (eval $ac_try) 2>&5
10772 ac_status=$? 10788 ac_status=$?
10773 echo "$as_me:10773: \$? = $ac_status" >&5 10789 echo "$as_me:10789: \$? = $ac_status" >&5
10774 (exit $ac_status); }; }; then 10790 (exit $ac_status); }; }; then
10775 ac_cv_lib_com_err_com_err=yes 10791 ac_cv_lib_com_err_com_err=yes
10776 else 10792 else
10777 echo "$as_me: failed program was:" >&5 10793 echo "$as_me: failed program was:" >&5
10778 cat conftest.$ac_ext >&5 10794 cat conftest.$ac_ext >&5
10779 ac_cv_lib_com_err_com_err=no 10795 ac_cv_lib_com_err_com_err=no
10780 fi 10796 fi
10781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10782 LIBS=$ac_check_lib_save_LIBS 10798 LIBS=$ac_check_lib_save_LIBS
10783 fi 10799 fi
10784 echo "$as_me:10784: result: $ac_cv_lib_com_err_com_err" >&5 10800 echo "$as_me:10800: result: $ac_cv_lib_com_err_com_err" >&5
10785 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 10801 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10786 if test $ac_cv_lib_com_err_com_err = yes; then 10802 if test $ac_cv_lib_com_err_com_err = yes; then
10787 cat >>confdefs.h <<EOF 10803 cat >>confdefs.h <<EOF
10788 #define HAVE_LIBCOM_ERR 1 10804 #define HAVE_LIBCOM_ERR 1
10789 EOF 10805 EOF
10790 10806
10791 LIBS="-lcom_err $LIBS" 10807 LIBS="-lcom_err $LIBS"
10792 10808
10793 fi 10809 fi
10794 10810
10795 echo "$as_me:10795: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 10811 echo "$as_me:10811: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10796 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 10812 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10797 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then 10813 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10798 echo $ECHO_N "(cached) $ECHO_C" >&6 10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10799 else 10815 else
10800 ac_check_lib_save_LIBS=$LIBS 10816 ac_check_lib_save_LIBS=$LIBS
10801 LIBS="-lk5crypto $LIBS" 10817 LIBS="-lk5crypto $LIBS"
10802 cat >conftest.$ac_ext <<_ACEOF 10818 cat >conftest.$ac_ext <<_ACEOF
10803 #line 10803 "configure" 10819 #line 10819 "configure"
10804 #include "confdefs.h" 10820 #include "confdefs.h"
10805 10821
10806 /* Override any gcc2 internal prototype to avoid an error. */ 10822 /* Override any gcc2 internal prototype to avoid an error. */
10807 #ifdef __cplusplus 10823 #ifdef __cplusplus
10808 extern "C" 10824 extern "C"
10817 ; 10833 ;
10818 return 0; 10834 return 0;
10819 } 10835 }
10820 _ACEOF 10836 _ACEOF
10821 rm -f conftest.$ac_objext conftest$ac_exeext 10837 rm -f conftest.$ac_objext conftest$ac_exeext
10822 if { (eval echo "$as_me:10822: \"$ac_link\"") >&5 10838 if { (eval echo "$as_me:10838: \"$ac_link\"") >&5
10823 (eval $ac_link) 2>&5 10839 (eval $ac_link) 2>&5
10824 ac_status=$? 10840 ac_status=$?
10825 echo "$as_me:10825: \$? = $ac_status" >&5 10841 echo "$as_me:10841: \$? = $ac_status" >&5
10826 (exit $ac_status); } && 10842 (exit $ac_status); } &&
10827 { ac_try='test -s conftest$ac_exeext' 10843 { ac_try='test -s conftest$ac_exeext'
10828 { (eval echo "$as_me:10828: \"$ac_try\"") >&5 10844 { (eval echo "$as_me:10844: \"$ac_try\"") >&5
10829 (eval $ac_try) 2>&5 10845 (eval $ac_try) 2>&5
10830 ac_status=$? 10846 ac_status=$?
10831 echo "$as_me:10831: \$? = $ac_status" >&5 10847 echo "$as_me:10847: \$? = $ac_status" >&5
10832 (exit $ac_status); }; }; then 10848 (exit $ac_status); }; }; then
10833 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes 10849 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10834 else 10850 else
10835 echo "$as_me: failed program was:" >&5 10851 echo "$as_me: failed program was:" >&5
10836 cat conftest.$ac_ext >&5 10852 cat conftest.$ac_ext >&5
10837 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no 10853 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
10838 fi 10854 fi
10839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10855 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10840 LIBS=$ac_check_lib_save_LIBS 10856 LIBS=$ac_check_lib_save_LIBS
10841 fi 10857 fi
10842 echo "$as_me:10842: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 10858 echo "$as_me:10858: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10843 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 10859 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10844 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then 10860 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10845 cat >>confdefs.h <<EOF 10861 cat >>confdefs.h <<EOF
10846 #define HAVE_LIBK5CRYPTO 1 10862 #define HAVE_LIBK5CRYPTO 1
10847 EOF 10863 EOF
10848 10864
10849 LIBS="-lk5crypto $LIBS" 10865 LIBS="-lk5crypto $LIBS"
10850 10866
10851 fi 10867 fi
10852 10868
10853 echo "$as_me:10853: checking for mit_des_cbc_encrypt in -lcrypto" >&5 10869 echo "$as_me:10869: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10854 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 10870 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10855 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then 10871 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10856 echo $ECHO_N "(cached) $ECHO_C" >&6 10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10857 else 10873 else
10858 ac_check_lib_save_LIBS=$LIBS 10874 ac_check_lib_save_LIBS=$LIBS
10859 LIBS="-lcrypto $LIBS" 10875 LIBS="-lcrypto $LIBS"
10860 cat >conftest.$ac_ext <<_ACEOF 10876 cat >conftest.$ac_ext <<_ACEOF
10861 #line 10861 "configure" 10877 #line 10877 "configure"
10862 #include "confdefs.h" 10878 #include "confdefs.h"
10863 10879
10864 /* Override any gcc2 internal prototype to avoid an error. */ 10880 /* Override any gcc2 internal prototype to avoid an error. */
10865 #ifdef __cplusplus 10881 #ifdef __cplusplus
10866 extern "C" 10882 extern "C"
10875 ; 10891 ;
10876 return 0; 10892 return 0;
10877 } 10893 }
10878 _ACEOF 10894 _ACEOF
10879 rm -f conftest.$ac_objext conftest$ac_exeext 10895 rm -f conftest.$ac_objext conftest$ac_exeext
10880 if { (eval echo "$as_me:10880: \"$ac_link\"") >&5 10896 if { (eval echo "$as_me:10896: \"$ac_link\"") >&5
10881 (eval $ac_link) 2>&5 10897 (eval $ac_link) 2>&5
10882 ac_status=$? 10898 ac_status=$?
10883 echo "$as_me:10883: \$? = $ac_status" >&5 10899 echo "$as_me:10899: \$? = $ac_status" >&5
10884 (exit $ac_status); } && 10900 (exit $ac_status); } &&
10885 { ac_try='test -s conftest$ac_exeext' 10901 { ac_try='test -s conftest$ac_exeext'
10886 { (eval echo "$as_me:10886: \"$ac_try\"") >&5 10902 { (eval echo "$as_me:10902: \"$ac_try\"") >&5
10887 (eval $ac_try) 2>&5 10903 (eval $ac_try) 2>&5
10888 ac_status=$? 10904 ac_status=$?
10889 echo "$as_me:10889: \$? = $ac_status" >&5 10905 echo "$as_me:10905: \$? = $ac_status" >&5
10890 (exit $ac_status); }; }; then 10906 (exit $ac_status); }; }; then
10891 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes 10907 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10892 else 10908 else
10893 echo "$as_me: failed program was:" >&5 10909 echo "$as_me: failed program was:" >&5
10894 cat conftest.$ac_ext >&5 10910 cat conftest.$ac_ext >&5
10895 ac_cv_lib_crypto_mit_des_cbc_encrypt=no 10911 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
10896 fi 10912 fi
10897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10898 LIBS=$ac_check_lib_save_LIBS 10914 LIBS=$ac_check_lib_save_LIBS
10899 fi 10915 fi
10900 echo "$as_me:10900: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 10916 echo "$as_me:10916: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10901 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 10917 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10902 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then 10918 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10903 cat >>confdefs.h <<EOF 10919 cat >>confdefs.h <<EOF
10904 #define HAVE_LIBCRYPTO 1 10920 #define HAVE_LIBCRYPTO 1
10905 EOF 10921 EOF
10906 10922
10907 LIBS="-lcrypto $LIBS" 10923 LIBS="-lcrypto $LIBS"
10908 10924
10909 fi 10925 fi
10910 10926
10911 echo "$as_me:10911: checking for krb5_init_context in -lkrb5" >&5 10927 echo "$as_me:10927: checking for krb5_init_context in -lkrb5" >&5
10912 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 10928 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10913 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then 10929 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10914 echo $ECHO_N "(cached) $ECHO_C" >&6 10930 echo $ECHO_N "(cached) $ECHO_C" >&6
10915 else 10931 else
10916 ac_check_lib_save_LIBS=$LIBS 10932 ac_check_lib_save_LIBS=$LIBS
10917 LIBS="-lkrb5 $LIBS" 10933 LIBS="-lkrb5 $LIBS"
10918 cat >conftest.$ac_ext <<_ACEOF 10934 cat >conftest.$ac_ext <<_ACEOF
10919 #line 10919 "configure" 10935 #line 10935 "configure"
10920 #include "confdefs.h" 10936 #include "confdefs.h"
10921 10937
10922 /* Override any gcc2 internal prototype to avoid an error. */ 10938 /* Override any gcc2 internal prototype to avoid an error. */
10923 #ifdef __cplusplus 10939 #ifdef __cplusplus
10924 extern "C" 10940 extern "C"
10933 ; 10949 ;
10934 return 0; 10950 return 0;
10935 } 10951 }
10936 _ACEOF 10952 _ACEOF
10937 rm -f conftest.$ac_objext conftest$ac_exeext 10953 rm -f conftest.$ac_objext conftest$ac_exeext
10938 if { (eval echo "$as_me:10938: \"$ac_link\"") >&5 10954 if { (eval echo "$as_me:10954: \"$ac_link\"") >&5
10939 (eval $ac_link) 2>&5 10955 (eval $ac_link) 2>&5
10940 ac_status=$? 10956 ac_status=$?
10941 echo "$as_me:10941: \$? = $ac_status" >&5 10957 echo "$as_me:10957: \$? = $ac_status" >&5
10942 (exit $ac_status); } && 10958 (exit $ac_status); } &&
10943 { ac_try='test -s conftest$ac_exeext' 10959 { ac_try='test -s conftest$ac_exeext'
10944 { (eval echo "$as_me:10944: \"$ac_try\"") >&5 10960 { (eval echo "$as_me:10960: \"$ac_try\"") >&5
10945 (eval $ac_try) 2>&5 10961 (eval $ac_try) 2>&5
10946 ac_status=$? 10962 ac_status=$?
10947 echo "$as_me:10947: \$? = $ac_status" >&5 10963 echo "$as_me:10963: \$? = $ac_status" >&5
10948 (exit $ac_status); }; }; then 10964 (exit $ac_status); }; }; then
10949 ac_cv_lib_krb5_krb5_init_context=yes 10965 ac_cv_lib_krb5_krb5_init_context=yes
10950 else 10966 else
10951 echo "$as_me: failed program was:" >&5 10967 echo "$as_me: failed program was:" >&5
10952 cat conftest.$ac_ext >&5 10968 cat conftest.$ac_ext >&5
10953 ac_cv_lib_krb5_krb5_init_context=no 10969 ac_cv_lib_krb5_krb5_init_context=no
10954 fi 10970 fi
10955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10971 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10956 LIBS=$ac_check_lib_save_LIBS 10972 LIBS=$ac_check_lib_save_LIBS
10957 fi 10973 fi
10958 echo "$as_me:10958: result: $ac_cv_lib_krb5_krb5_init_context" >&5 10974 echo "$as_me:10974: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10959 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 10975 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10960 if test $ac_cv_lib_krb5_krb5_init_context = yes; then 10976 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10961 cat >>confdefs.h <<EOF 10977 cat >>confdefs.h <<EOF
10962 #define HAVE_LIBKRB5 1 10978 #define HAVE_LIBKRB5 1
10963 EOF 10979 EOF
10966 10982
10967 fi 10983 fi
10968 10984
10969 if test "${with_kerberos5+set}" != set; then 10985 if test "${with_kerberos5+set}" != set; then
10970 10986
10971 echo "$as_me:10971: checking for des_cbc_encrypt in -ldes425" >&5 10987 echo "$as_me:10987: checking for des_cbc_encrypt in -ldes425" >&5
10972 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 10988 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10973 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 10989 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10974 echo $ECHO_N "(cached) $ECHO_C" >&6 10990 echo $ECHO_N "(cached) $ECHO_C" >&6
10975 else 10991 else
10976 ac_check_lib_save_LIBS=$LIBS 10992 ac_check_lib_save_LIBS=$LIBS
10977 LIBS="-ldes425 $LIBS" 10993 LIBS="-ldes425 $LIBS"
10978 cat >conftest.$ac_ext <<_ACEOF 10994 cat >conftest.$ac_ext <<_ACEOF
10979 #line 10979 "configure" 10995 #line 10995 "configure"
10980 #include "confdefs.h" 10996 #include "confdefs.h"
10981 10997
10982 /* Override any gcc2 internal prototype to avoid an error. */ 10998 /* Override any gcc2 internal prototype to avoid an error. */
10983 #ifdef __cplusplus 10999 #ifdef __cplusplus
10984 extern "C" 11000 extern "C"
10993 ; 11009 ;
10994 return 0; 11010 return 0;
10995 } 11011 }
10996 _ACEOF 11012 _ACEOF
10997 rm -f conftest.$ac_objext conftest$ac_exeext 11013 rm -f conftest.$ac_objext conftest$ac_exeext
10998 if { (eval echo "$as_me:10998: \"$ac_link\"") >&5 11014 if { (eval echo "$as_me:11014: \"$ac_link\"") >&5
10999 (eval $ac_link) 2>&5 11015 (eval $ac_link) 2>&5
11000 ac_status=$? 11016 ac_status=$?
11001 echo "$as_me:11001: \$? = $ac_status" >&5 11017 echo "$as_me:11017: \$? = $ac_status" >&5
11002 (exit $ac_status); } && 11018 (exit $ac_status); } &&
11003 { ac_try='test -s conftest$ac_exeext' 11019 { ac_try='test -s conftest$ac_exeext'
11004 { (eval echo "$as_me:11004: \"$ac_try\"") >&5 11020 { (eval echo "$as_me:11020: \"$ac_try\"") >&5
11005 (eval $ac_try) 2>&5 11021 (eval $ac_try) 2>&5
11006 ac_status=$? 11022 ac_status=$?
11007 echo "$as_me:11007: \$? = $ac_status" >&5 11023 echo "$as_me:11023: \$? = $ac_status" >&5
11008 (exit $ac_status); }; }; then 11024 (exit $ac_status); }; }; then
11009 ac_cv_lib_des425_des_cbc_encrypt=yes 11025 ac_cv_lib_des425_des_cbc_encrypt=yes
11010 else 11026 else
11011 echo "$as_me: failed program was:" >&5 11027 echo "$as_me: failed program was:" >&5
11012 cat conftest.$ac_ext >&5 11028 cat conftest.$ac_ext >&5
11013 ac_cv_lib_des425_des_cbc_encrypt=no 11029 ac_cv_lib_des425_des_cbc_encrypt=no
11014 fi 11030 fi
11015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11016 LIBS=$ac_check_lib_save_LIBS 11032 LIBS=$ac_check_lib_save_LIBS
11017 fi 11033 fi
11018 echo "$as_me:11018: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 11034 echo "$as_me:11034: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
11019 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 11035 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
11020 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 11036 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
11021 cat >>confdefs.h <<EOF 11037 cat >>confdefs.h <<EOF
11022 #define HAVE_LIBDES425 1 11038 #define HAVE_LIBDES425 1
11023 EOF 11039 EOF
11024 11040
11025 LIBS="-ldes425 $LIBS" 11041 LIBS="-ldes425 $LIBS"
11026 11042
11027 else 11043 else
11028 11044
11029 echo "$as_me:11029: checking for des_cbc_encrypt in -ldes" >&5 11045 echo "$as_me:11045: checking for des_cbc_encrypt in -ldes" >&5
11030 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 11046 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
11031 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then 11047 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
11032 echo $ECHO_N "(cached) $ECHO_C" >&6 11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 else 11049 else
11034 ac_check_lib_save_LIBS=$LIBS 11050 ac_check_lib_save_LIBS=$LIBS
11035 LIBS="-ldes $LIBS" 11051 LIBS="-ldes $LIBS"
11036 cat >conftest.$ac_ext <<_ACEOF 11052 cat >conftest.$ac_ext <<_ACEOF
11037 #line 11037 "configure" 11053 #line 11053 "configure"
11038 #include "confdefs.h" 11054 #include "confdefs.h"
11039 11055
11040 /* Override any gcc2 internal prototype to avoid an error. */ 11056 /* Override any gcc2 internal prototype to avoid an error. */
11041 #ifdef __cplusplus 11057 #ifdef __cplusplus
11042 extern "C" 11058 extern "C"
11051 ; 11067 ;
11052 return 0; 11068 return 0;
11053 } 11069 }
11054 _ACEOF 11070 _ACEOF
11055 rm -f conftest.$ac_objext conftest$ac_exeext 11071 rm -f conftest.$ac_objext conftest$ac_exeext
11056 if { (eval echo "$as_me:11056: \"$ac_link\"") >&5 11072 if { (eval echo "$as_me:11072: \"$ac_link\"") >&5
11057 (eval $ac_link) 2>&5 11073 (eval $ac_link) 2>&5
11058 ac_status=$? 11074 ac_status=$?
11059 echo "$as_me:11059: \$? = $ac_status" >&5 11075 echo "$as_me:11075: \$? = $ac_status" >&5
11060 (exit $ac_status); } && 11076 (exit $ac_status); } &&
11061 { ac_try='test -s conftest$ac_exeext' 11077 { ac_try='test -s conftest$ac_exeext'
11062 { (eval echo "$as_me:11062: \"$ac_try\"") >&5 11078 { (eval echo "$as_me:11078: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5 11079 (eval $ac_try) 2>&5
11064 ac_status=$? 11080 ac_status=$?
11065 echo "$as_me:11065: \$? = $ac_status" >&5 11081 echo "$as_me:11081: \$? = $ac_status" >&5
11066 (exit $ac_status); }; }; then 11082 (exit $ac_status); }; }; then
11067 ac_cv_lib_des_des_cbc_encrypt=yes 11083 ac_cv_lib_des_des_cbc_encrypt=yes
11068 else 11084 else
11069 echo "$as_me: failed program was:" >&5 11085 echo "$as_me: failed program was:" >&5
11070 cat conftest.$ac_ext >&5 11086 cat conftest.$ac_ext >&5
11071 ac_cv_lib_des_des_cbc_encrypt=no 11087 ac_cv_lib_des_des_cbc_encrypt=no
11072 fi 11088 fi
11073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11074 LIBS=$ac_check_lib_save_LIBS 11090 LIBS=$ac_check_lib_save_LIBS
11075 fi 11091 fi
11076 echo "$as_me:11076: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 11092 echo "$as_me:11092: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
11077 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 11093 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
11078 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then 11094 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
11079 cat >>confdefs.h <<EOF 11095 cat >>confdefs.h <<EOF
11080 #define HAVE_LIBDES 1 11096 #define HAVE_LIBDES 1
11081 EOF 11097 EOF
11084 11100
11085 fi 11101 fi
11086 11102
11087 fi 11103 fi
11088 11104
11089 echo "$as_me:11089: checking for krb_get_cred in -lkrb4" >&5 11105 echo "$as_me:11105: checking for krb_get_cred in -lkrb4" >&5
11090 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 11106 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
11091 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then 11107 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
11092 echo $ECHO_N "(cached) $ECHO_C" >&6 11108 echo $ECHO_N "(cached) $ECHO_C" >&6
11093 else 11109 else
11094 ac_check_lib_save_LIBS=$LIBS 11110 ac_check_lib_save_LIBS=$LIBS
11095 LIBS="-lkrb4 $LIBS" 11111 LIBS="-lkrb4 $LIBS"
11096 cat >conftest.$ac_ext <<_ACEOF 11112 cat >conftest.$ac_ext <<_ACEOF
11097 #line 11097 "configure" 11113 #line 11113 "configure"
11098 #include "confdefs.h" 11114 #include "confdefs.h"
11099 11115
11100 /* Override any gcc2 internal prototype to avoid an error. */ 11116 /* Override any gcc2 internal prototype to avoid an error. */
11101 #ifdef __cplusplus 11117 #ifdef __cplusplus
11102 extern "C" 11118 extern "C"
11111 ; 11127 ;
11112 return 0; 11128 return 0;
11113 } 11129 }
11114 _ACEOF 11130 _ACEOF
11115 rm -f conftest.$ac_objext conftest$ac_exeext 11131 rm -f conftest.$ac_objext conftest$ac_exeext
11116 if { (eval echo "$as_me:11116: \"$ac_link\"") >&5 11132 if { (eval echo "$as_me:11132: \"$ac_link\"") >&5
11117 (eval $ac_link) 2>&5 11133 (eval $ac_link) 2>&5
11118 ac_status=$? 11134 ac_status=$?
11119 echo "$as_me:11119: \$? = $ac_status" >&5 11135 echo "$as_me:11135: \$? = $ac_status" >&5
11120 (exit $ac_status); } && 11136 (exit $ac_status); } &&
11121 { ac_try='test -s conftest$ac_exeext' 11137 { ac_try='test -s conftest$ac_exeext'
11122 { (eval echo "$as_me:11122: \"$ac_try\"") >&5 11138 { (eval echo "$as_me:11138: \"$ac_try\"") >&5
11123 (eval $ac_try) 2>&5 11139 (eval $ac_try) 2>&5
11124 ac_status=$? 11140 ac_status=$?
11125 echo "$as_me:11125: \$? = $ac_status" >&5 11141 echo "$as_me:11141: \$? = $ac_status" >&5
11126 (exit $ac_status); }; }; then 11142 (exit $ac_status); }; }; then
11127 ac_cv_lib_krb4_krb_get_cred=yes 11143 ac_cv_lib_krb4_krb_get_cred=yes
11128 else 11144 else
11129 echo "$as_me: failed program was:" >&5 11145 echo "$as_me: failed program was:" >&5
11130 cat conftest.$ac_ext >&5 11146 cat conftest.$ac_ext >&5
11131 ac_cv_lib_krb4_krb_get_cred=no 11147 ac_cv_lib_krb4_krb_get_cred=no
11132 fi 11148 fi
11133 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11149 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11134 LIBS=$ac_check_lib_save_LIBS 11150 LIBS=$ac_check_lib_save_LIBS
11135 fi 11151 fi
11136 echo "$as_me:11136: result: $ac_cv_lib_krb4_krb_get_cred" >&5 11152 echo "$as_me:11152: result: $ac_cv_lib_krb4_krb_get_cred" >&5
11137 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 11153 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
11138 if test $ac_cv_lib_krb4_krb_get_cred = yes; then 11154 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
11139 cat >>confdefs.h <<EOF 11155 cat >>confdefs.h <<EOF
11140 #define HAVE_LIBKRB4 1 11156 #define HAVE_LIBKRB4 1
11141 EOF 11157 EOF
11142 11158
11143 LIBS="-lkrb4 $LIBS" 11159 LIBS="-lkrb4 $LIBS"
11144 11160
11145 else 11161 else
11146 11162
11147 echo "$as_me:11147: checking for krb_get_cred in -lkrb" >&5 11163 echo "$as_me:11163: checking for krb_get_cred in -lkrb" >&5
11148 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 11164 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
11149 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then 11165 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
11150 echo $ECHO_N "(cached) $ECHO_C" >&6 11166 echo $ECHO_N "(cached) $ECHO_C" >&6
11151 else 11167 else
11152 ac_check_lib_save_LIBS=$LIBS 11168 ac_check_lib_save_LIBS=$LIBS
11153 LIBS="-lkrb $LIBS" 11169 LIBS="-lkrb $LIBS"
11154 cat >conftest.$ac_ext <<_ACEOF 11170 cat >conftest.$ac_ext <<_ACEOF
11155 #line 11155 "configure" 11171 #line 11171 "configure"
11156 #include "confdefs.h" 11172 #include "confdefs.h"
11157 11173
11158 /* Override any gcc2 internal prototype to avoid an error. */ 11174 /* Override any gcc2 internal prototype to avoid an error. */
11159 #ifdef __cplusplus 11175 #ifdef __cplusplus
11160 extern "C" 11176 extern "C"
11169 ; 11185 ;
11170 return 0; 11186 return 0;
11171 } 11187 }
11172 _ACEOF 11188 _ACEOF
11173 rm -f conftest.$ac_objext conftest$ac_exeext 11189 rm -f conftest.$ac_objext conftest$ac_exeext
11174 if { (eval echo "$as_me:11174: \"$ac_link\"") >&5 11190 if { (eval echo "$as_me:11190: \"$ac_link\"") >&5
11175 (eval $ac_link) 2>&5 11191 (eval $ac_link) 2>&5
11176 ac_status=$? 11192 ac_status=$?
11177 echo "$as_me:11177: \$? = $ac_status" >&5 11193 echo "$as_me:11193: \$? = $ac_status" >&5
11178 (exit $ac_status); } && 11194 (exit $ac_status); } &&
11179 { ac_try='test -s conftest$ac_exeext' 11195 { ac_try='test -s conftest$ac_exeext'
11180 { (eval echo "$as_me:11180: \"$ac_try\"") >&5 11196 { (eval echo "$as_me:11196: \"$ac_try\"") >&5
11181 (eval $ac_try) 2>&5 11197 (eval $ac_try) 2>&5
11182 ac_status=$? 11198 ac_status=$?
11183 echo "$as_me:11183: \$? = $ac_status" >&5 11199 echo "$as_me:11199: \$? = $ac_status" >&5
11184 (exit $ac_status); }; }; then 11200 (exit $ac_status); }; }; then
11185 ac_cv_lib_krb_krb_get_cred=yes 11201 ac_cv_lib_krb_krb_get_cred=yes
11186 else 11202 else
11187 echo "$as_me: failed program was:" >&5 11203 echo "$as_me: failed program was:" >&5
11188 cat conftest.$ac_ext >&5 11204 cat conftest.$ac_ext >&5
11189 ac_cv_lib_krb_krb_get_cred=no 11205 ac_cv_lib_krb_krb_get_cred=no
11190 fi 11206 fi
11191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11192 LIBS=$ac_check_lib_save_LIBS 11208 LIBS=$ac_check_lib_save_LIBS
11193 fi 11209 fi
11194 echo "$as_me:11194: result: $ac_cv_lib_krb_krb_get_cred" >&5 11210 echo "$as_me:11210: result: $ac_cv_lib_krb_krb_get_cred" >&5
11195 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 11211 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
11196 if test $ac_cv_lib_krb_krb_get_cred = yes; then 11212 if test $ac_cv_lib_krb_krb_get_cred = yes; then
11197 cat >>confdefs.h <<EOF 11213 cat >>confdefs.h <<EOF
11198 #define HAVE_LIBKRB 1 11214 #define HAVE_LIBKRB 1
11199 EOF 11215 EOF
11209 if test "${with_kerberos5+set}" = set; then 11225 if test "${with_kerberos5+set}" = set; then
11210 11226
11211 for ac_header in krb5.h 11227 for ac_header in krb5.h
11212 do 11228 do
11213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11229 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11214 echo "$as_me:11214: checking for $ac_header" >&5 11230 echo "$as_me:11230: checking for $ac_header" >&5
11215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11216 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11217 echo $ECHO_N "(cached) $ECHO_C" >&6 11233 echo $ECHO_N "(cached) $ECHO_C" >&6
11218 else 11234 else
11219 cat >conftest.$ac_ext <<_ACEOF 11235 cat >conftest.$ac_ext <<_ACEOF
11220 #line 11220 "configure" 11236 #line 11236 "configure"
11221 #include "confdefs.h" 11237 #include "confdefs.h"
11222 #include <$ac_header> 11238 #include <$ac_header>
11223 _ACEOF 11239 _ACEOF
11224 if { (eval echo "$as_me:11224: \"$ac_cpp conftest.$ac_ext\"") >&5 11240 if { (eval echo "$as_me:11240: \"$ac_cpp conftest.$ac_ext\"") >&5
11225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11226 ac_status=$? 11242 ac_status=$?
11227 egrep -v '^ *\+' conftest.er1 >conftest.err 11243 egrep -v '^ *\+' conftest.er1 >conftest.err
11228 rm -f conftest.er1 11244 rm -f conftest.er1
11229 cat conftest.err >&5 11245 cat conftest.err >&5
11230 echo "$as_me:11230: \$? = $ac_status" >&5 11246 echo "$as_me:11246: \$? = $ac_status" >&5
11231 (exit $ac_status); } >/dev/null; then 11247 (exit $ac_status); } >/dev/null; then
11232 if test -s conftest.err; then 11248 if test -s conftest.err; then
11233 ac_cpp_err=$ac_c_preproc_warn_flag 11249 ac_cpp_err=$ac_c_preproc_warn_flag
11234 else 11250 else
11235 ac_cpp_err= 11251 ac_cpp_err=
11244 cat conftest.$ac_ext >&5 11260 cat conftest.$ac_ext >&5
11245 eval "$as_ac_Header=no" 11261 eval "$as_ac_Header=no"
11246 fi 11262 fi
11247 rm -f conftest.err conftest.$ac_ext 11263 rm -f conftest.err conftest.$ac_ext
11248 fi 11264 fi
11249 echo "$as_me:11249: result: `eval echo '${'$as_ac_Header'}'`" >&5 11265 echo "$as_me:11265: result: `eval echo '${'$as_ac_Header'}'`" >&5
11250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11251 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11252 cat >>confdefs.h <<EOF 11268 cat >>confdefs.h <<EOF
11253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11254 EOF 11270 EOF
11259 else 11275 else
11260 11276
11261 for ac_header in des.h 11277 for ac_header in des.h
11262 do 11278 do
11263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11279 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11264 echo "$as_me:11264: checking for $ac_header" >&5 11280 echo "$as_me:11280: checking for $ac_header" >&5
11265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11266 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11267 echo $ECHO_N "(cached) $ECHO_C" >&6 11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11268 else 11284 else
11269 cat >conftest.$ac_ext <<_ACEOF 11285 cat >conftest.$ac_ext <<_ACEOF
11270 #line 11270 "configure" 11286 #line 11286 "configure"
11271 #include "confdefs.h" 11287 #include "confdefs.h"
11272 #include <$ac_header> 11288 #include <$ac_header>
11273 _ACEOF 11289 _ACEOF
11274 if { (eval echo "$as_me:11274: \"$ac_cpp conftest.$ac_ext\"") >&5 11290 if { (eval echo "$as_me:11290: \"$ac_cpp conftest.$ac_ext\"") >&5
11275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11276 ac_status=$? 11292 ac_status=$?
11277 egrep -v '^ *\+' conftest.er1 >conftest.err 11293 egrep -v '^ *\+' conftest.er1 >conftest.err
11278 rm -f conftest.er1 11294 rm -f conftest.er1
11279 cat conftest.err >&5 11295 cat conftest.err >&5
11280 echo "$as_me:11280: \$? = $ac_status" >&5 11296 echo "$as_me:11296: \$? = $ac_status" >&5
11281 (exit $ac_status); } >/dev/null; then 11297 (exit $ac_status); } >/dev/null; then
11282 if test -s conftest.err; then 11298 if test -s conftest.err; then
11283 ac_cpp_err=$ac_c_preproc_warn_flag 11299 ac_cpp_err=$ac_c_preproc_warn_flag
11284 else 11300 else
11285 ac_cpp_err= 11301 ac_cpp_err=
11294 cat conftest.$ac_ext >&5 11310 cat conftest.$ac_ext >&5
11295 eval "$as_ac_Header=no" 11311 eval "$as_ac_Header=no"
11296 fi 11312 fi
11297 rm -f conftest.err conftest.$ac_ext 11313 rm -f conftest.err conftest.$ac_ext
11298 fi 11314 fi
11299 echo "$as_me:11299: result: `eval echo '${'$as_ac_Header'}'`" >&5 11315 echo "$as_me:11315: result: `eval echo '${'$as_ac_Header'}'`" >&5
11300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11301 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11302 cat >>confdefs.h <<EOF 11318 cat >>confdefs.h <<EOF
11303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11304 EOF 11320 EOF
11306 else 11322 else
11307 11323
11308 for ac_header in kerberosIV/des.h 11324 for ac_header in kerberosIV/des.h
11309 do 11325 do
11310 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11311 echo "$as_me:11311: checking for $ac_header" >&5 11327 echo "$as_me:11327: checking for $ac_header" >&5
11312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11313 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6 11330 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 else 11331 else
11316 cat >conftest.$ac_ext <<_ACEOF 11332 cat >conftest.$ac_ext <<_ACEOF
11317 #line 11317 "configure" 11333 #line 11333 "configure"
11318 #include "confdefs.h" 11334 #include "confdefs.h"
11319 #include <$ac_header> 11335 #include <$ac_header>
11320 _ACEOF 11336 _ACEOF
11321 if { (eval echo "$as_me:11321: \"$ac_cpp conftest.$ac_ext\"") >&5 11337 if { (eval echo "$as_me:11337: \"$ac_cpp conftest.$ac_ext\"") >&5
11322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11323 ac_status=$? 11339 ac_status=$?
11324 egrep -v '^ *\+' conftest.er1 >conftest.err 11340 egrep -v '^ *\+' conftest.er1 >conftest.err
11325 rm -f conftest.er1 11341 rm -f conftest.er1
11326 cat conftest.err >&5 11342 cat conftest.err >&5
11327 echo "$as_me:11327: \$? = $ac_status" >&5 11343 echo "$as_me:11343: \$? = $ac_status" >&5
11328 (exit $ac_status); } >/dev/null; then 11344 (exit $ac_status); } >/dev/null; then
11329 if test -s conftest.err; then 11345 if test -s conftest.err; then
11330 ac_cpp_err=$ac_c_preproc_warn_flag 11346 ac_cpp_err=$ac_c_preproc_warn_flag
11331 else 11347 else
11332 ac_cpp_err= 11348 ac_cpp_err=
11341 cat conftest.$ac_ext >&5 11357 cat conftest.$ac_ext >&5
11342 eval "$as_ac_Header=no" 11358 eval "$as_ac_Header=no"
11343 fi 11359 fi
11344 rm -f conftest.err conftest.$ac_ext 11360 rm -f conftest.err conftest.$ac_ext
11345 fi 11361 fi
11346 echo "$as_me:11346: result: `eval echo '${'$as_ac_Header'}'`" >&5 11362 echo "$as_me:11362: result: `eval echo '${'$as_ac_Header'}'`" >&5
11347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11348 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11364 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11349 cat >>confdefs.h <<EOF 11365 cat >>confdefs.h <<EOF
11350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11366 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11351 EOF 11367 EOF
11353 else 11369 else
11354 11370
11355 for ac_header in kerberos/des.h 11371 for ac_header in kerberos/des.h
11356 do 11372 do
11357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11373 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11358 echo "$as_me:11358: checking for $ac_header" >&5 11374 echo "$as_me:11374: checking for $ac_header" >&5
11359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11360 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11361 echo $ECHO_N "(cached) $ECHO_C" >&6 11377 echo $ECHO_N "(cached) $ECHO_C" >&6
11362 else 11378 else
11363 cat >conftest.$ac_ext <<_ACEOF 11379 cat >conftest.$ac_ext <<_ACEOF
11364 #line 11364 "configure" 11380 #line 11380 "configure"
11365 #include "confdefs.h" 11381 #include "confdefs.h"
11366 #include <$ac_header> 11382 #include <$ac_header>
11367 _ACEOF 11383 _ACEOF
11368 if { (eval echo "$as_me:11368: \"$ac_cpp conftest.$ac_ext\"") >&5 11384 if { (eval echo "$as_me:11384: \"$ac_cpp conftest.$ac_ext\"") >&5
11369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11370 ac_status=$? 11386 ac_status=$?
11371 egrep -v '^ *\+' conftest.er1 >conftest.err 11387 egrep -v '^ *\+' conftest.er1 >conftest.err
11372 rm -f conftest.er1 11388 rm -f conftest.er1
11373 cat conftest.err >&5 11389 cat conftest.err >&5
11374 echo "$as_me:11374: \$? = $ac_status" >&5 11390 echo "$as_me:11390: \$? = $ac_status" >&5
11375 (exit $ac_status); } >/dev/null; then 11391 (exit $ac_status); } >/dev/null; then
11376 if test -s conftest.err; then 11392 if test -s conftest.err; then
11377 ac_cpp_err=$ac_c_preproc_warn_flag 11393 ac_cpp_err=$ac_c_preproc_warn_flag
11378 else 11394 else
11379 ac_cpp_err= 11395 ac_cpp_err=
11388 cat conftest.$ac_ext >&5 11404 cat conftest.$ac_ext >&5
11389 eval "$as_ac_Header=no" 11405 eval "$as_ac_Header=no"
11390 fi 11406 fi
11391 rm -f conftest.err conftest.$ac_ext 11407 rm -f conftest.err conftest.$ac_ext
11392 fi 11408 fi
11393 echo "$as_me:11393: result: `eval echo '${'$as_ac_Header'}'`" >&5 11409 echo "$as_me:11409: result: `eval echo '${'$as_ac_Header'}'`" >&5
11394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11395 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11396 cat >>confdefs.h <<EOF 11412 cat >>confdefs.h <<EOF
11397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11398 EOF 11414 EOF
11407 done 11423 done
11408 11424
11409 for ac_header in krb.h 11425 for ac_header in krb.h
11410 do 11426 do
11411 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11412 echo "$as_me:11412: checking for $ac_header" >&5 11428 echo "$as_me:11428: checking for $ac_header" >&5
11413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11414 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11415 echo $ECHO_N "(cached) $ECHO_C" >&6 11431 echo $ECHO_N "(cached) $ECHO_C" >&6
11416 else 11432 else
11417 cat >conftest.$ac_ext <<_ACEOF 11433 cat >conftest.$ac_ext <<_ACEOF
11418 #line 11418 "configure" 11434 #line 11434 "configure"
11419 #include "confdefs.h" 11435 #include "confdefs.h"
11420 #include <$ac_header> 11436 #include <$ac_header>
11421 _ACEOF 11437 _ACEOF
11422 if { (eval echo "$as_me:11422: \"$ac_cpp conftest.$ac_ext\"") >&5 11438 if { (eval echo "$as_me:11438: \"$ac_cpp conftest.$ac_ext\"") >&5
11423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11424 ac_status=$? 11440 ac_status=$?
11425 egrep -v '^ *\+' conftest.er1 >conftest.err 11441 egrep -v '^ *\+' conftest.er1 >conftest.err
11426 rm -f conftest.er1 11442 rm -f conftest.er1
11427 cat conftest.err >&5 11443 cat conftest.err >&5
11428 echo "$as_me:11428: \$? = $ac_status" >&5 11444 echo "$as_me:11444: \$? = $ac_status" >&5
11429 (exit $ac_status); } >/dev/null; then 11445 (exit $ac_status); } >/dev/null; then
11430 if test -s conftest.err; then 11446 if test -s conftest.err; then
11431 ac_cpp_err=$ac_c_preproc_warn_flag 11447 ac_cpp_err=$ac_c_preproc_warn_flag
11432 else 11448 else
11433 ac_cpp_err= 11449 ac_cpp_err=
11442 cat conftest.$ac_ext >&5 11458 cat conftest.$ac_ext >&5
11443 eval "$as_ac_Header=no" 11459 eval "$as_ac_Header=no"
11444 fi 11460 fi
11445 rm -f conftest.err conftest.$ac_ext 11461 rm -f conftest.err conftest.$ac_ext
11446 fi 11462 fi
11447 echo "$as_me:11447: result: `eval echo '${'$as_ac_Header'}'`" >&5 11463 echo "$as_me:11463: result: `eval echo '${'$as_ac_Header'}'`" >&5
11448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11449 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11450 cat >>confdefs.h <<EOF 11466 cat >>confdefs.h <<EOF
11451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11452 EOF 11468 EOF
11454 else 11470 else
11455 11471
11456 for ac_header in kerberosIV/krb.h 11472 for ac_header in kerberosIV/krb.h
11457 do 11473 do
11458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11459 echo "$as_me:11459: checking for $ac_header" >&5 11475 echo "$as_me:11475: checking for $ac_header" >&5
11460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11461 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11462 echo $ECHO_N "(cached) $ECHO_C" >&6 11478 echo $ECHO_N "(cached) $ECHO_C" >&6
11463 else 11479 else
11464 cat >conftest.$ac_ext <<_ACEOF 11480 cat >conftest.$ac_ext <<_ACEOF
11465 #line 11465 "configure" 11481 #line 11481 "configure"
11466 #include "confdefs.h" 11482 #include "confdefs.h"
11467 #include <$ac_header> 11483 #include <$ac_header>
11468 _ACEOF 11484 _ACEOF
11469 if { (eval echo "$as_me:11469: \"$ac_cpp conftest.$ac_ext\"") >&5 11485 if { (eval echo "$as_me:11485: \"$ac_cpp conftest.$ac_ext\"") >&5
11470 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11486 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11471 ac_status=$? 11487 ac_status=$?
11472 egrep -v '^ *\+' conftest.er1 >conftest.err 11488 egrep -v '^ *\+' conftest.er1 >conftest.err
11473 rm -f conftest.er1 11489 rm -f conftest.er1
11474 cat conftest.err >&5 11490 cat conftest.err >&5
11475 echo "$as_me:11475: \$? = $ac_status" >&5 11491 echo "$as_me:11491: \$? = $ac_status" >&5
11476 (exit $ac_status); } >/dev/null; then 11492 (exit $ac_status); } >/dev/null; then
11477 if test -s conftest.err; then 11493 if test -s conftest.err; then
11478 ac_cpp_err=$ac_c_preproc_warn_flag 11494 ac_cpp_err=$ac_c_preproc_warn_flag
11479 else 11495 else
11480 ac_cpp_err= 11496 ac_cpp_err=
11489 cat conftest.$ac_ext >&5 11505 cat conftest.$ac_ext >&5
11490 eval "$as_ac_Header=no" 11506 eval "$as_ac_Header=no"
11491 fi 11507 fi
11492 rm -f conftest.err conftest.$ac_ext 11508 rm -f conftest.err conftest.$ac_ext
11493 fi 11509 fi
11494 echo "$as_me:11494: result: `eval echo '${'$as_ac_Header'}'`" >&5 11510 echo "$as_me:11510: result: `eval echo '${'$as_ac_Header'}'`" >&5
11495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11496 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11497 cat >>confdefs.h <<EOF 11513 cat >>confdefs.h <<EOF
11498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11499 EOF 11515 EOF
11501 else 11517 else
11502 11518
11503 for ac_header in kerberos/krb.h 11519 for ac_header in kerberos/krb.h
11504 do 11520 do
11505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11506 echo "$as_me:11506: checking for $ac_header" >&5 11522 echo "$as_me:11522: checking for $ac_header" >&5
11507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11508 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11509 echo $ECHO_N "(cached) $ECHO_C" >&6 11525 echo $ECHO_N "(cached) $ECHO_C" >&6
11510 else 11526 else
11511 cat >conftest.$ac_ext <<_ACEOF 11527 cat >conftest.$ac_ext <<_ACEOF
11512 #line 11512 "configure" 11528 #line 11528 "configure"
11513 #include "confdefs.h" 11529 #include "confdefs.h"
11514 #include <$ac_header> 11530 #include <$ac_header>
11515 _ACEOF 11531 _ACEOF
11516 if { (eval echo "$as_me:11516: \"$ac_cpp conftest.$ac_ext\"") >&5 11532 if { (eval echo "$as_me:11532: \"$ac_cpp conftest.$ac_ext\"") >&5
11517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11533 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11518 ac_status=$? 11534 ac_status=$?
11519 egrep -v '^ *\+' conftest.er1 >conftest.err 11535 egrep -v '^ *\+' conftest.er1 >conftest.err
11520 rm -f conftest.er1 11536 rm -f conftest.er1
11521 cat conftest.err >&5 11537 cat conftest.err >&5
11522 echo "$as_me:11522: \$? = $ac_status" >&5 11538 echo "$as_me:11538: \$? = $ac_status" >&5
11523 (exit $ac_status); } >/dev/null; then 11539 (exit $ac_status); } >/dev/null; then
11524 if test -s conftest.err; then 11540 if test -s conftest.err; then
11525 ac_cpp_err=$ac_c_preproc_warn_flag 11541 ac_cpp_err=$ac_c_preproc_warn_flag
11526 else 11542 else
11527 ac_cpp_err= 11543 ac_cpp_err=
11536 cat conftest.$ac_ext >&5 11552 cat conftest.$ac_ext >&5
11537 eval "$as_ac_Header=no" 11553 eval "$as_ac_Header=no"
11538 fi 11554 fi
11539 rm -f conftest.err conftest.$ac_ext 11555 rm -f conftest.err conftest.$ac_ext
11540 fi 11556 fi
11541 echo "$as_me:11541: result: `eval echo '${'$as_ac_Header'}'`" >&5 11557 echo "$as_me:11557: result: `eval echo '${'$as_ac_Header'}'`" >&5
11542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11543 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11544 cat >>confdefs.h <<EOF 11560 cat >>confdefs.h <<EOF
11545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11546 EOF 11562 EOF
11557 fi 11573 fi
11558 11574
11559 for ac_header in com_err.h 11575 for ac_header in com_err.h
11560 do 11576 do
11561 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11562 echo "$as_me:11562: checking for $ac_header" >&5 11578 echo "$as_me:11578: checking for $ac_header" >&5
11563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 11579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11564 if eval "test \"\${$as_ac_Header+set}\" = set"; then 11580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11565 echo $ECHO_N "(cached) $ECHO_C" >&6 11581 echo $ECHO_N "(cached) $ECHO_C" >&6
11566 else 11582 else
11567 cat >conftest.$ac_ext <<_ACEOF 11583 cat >conftest.$ac_ext <<_ACEOF
11568 #line 11568 "configure" 11584 #line 11584 "configure"
11569 #include "confdefs.h" 11585 #include "confdefs.h"
11570 #include <$ac_header> 11586 #include <$ac_header>
11571 _ACEOF 11587 _ACEOF
11572 if { (eval echo "$as_me:11572: \"$ac_cpp conftest.$ac_ext\"") >&5 11588 if { (eval echo "$as_me:11588: \"$ac_cpp conftest.$ac_ext\"") >&5
11573 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 11589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11574 ac_status=$? 11590 ac_status=$?
11575 egrep -v '^ *\+' conftest.er1 >conftest.err 11591 egrep -v '^ *\+' conftest.er1 >conftest.err
11576 rm -f conftest.er1 11592 rm -f conftest.er1
11577 cat conftest.err >&5 11593 cat conftest.err >&5
11578 echo "$as_me:11578: \$? = $ac_status" >&5 11594 echo "$as_me:11594: \$? = $ac_status" >&5
11579 (exit $ac_status); } >/dev/null; then 11595 (exit $ac_status); } >/dev/null; then
11580 if test -s conftest.err; then 11596 if test -s conftest.err; then
11581 ac_cpp_err=$ac_c_preproc_warn_flag 11597 ac_cpp_err=$ac_c_preproc_warn_flag
11582 else 11598 else
11583 ac_cpp_err= 11599 ac_cpp_err=
11592 cat conftest.$ac_ext >&5 11608 cat conftest.$ac_ext >&5
11593 eval "$as_ac_Header=no" 11609 eval "$as_ac_Header=no"
11594 fi 11610 fi
11595 rm -f conftest.err conftest.$ac_ext 11611 rm -f conftest.err conftest.$ac_ext
11596 fi 11612 fi
11597 echo "$as_me:11597: result: `eval echo '${'$as_ac_Header'}'`" >&5 11613 echo "$as_me:11613: result: `eval echo '${'$as_ac_Header'}'`" >&5
11598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 11614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11599 if test `eval echo '${'$as_ac_Header'}'` = yes; then 11615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11600 cat >>confdefs.h <<EOF 11616 cat >>confdefs.h <<EOF
11601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11602 EOF 11618 EOF
11607 fi 11623 fi
11608 11624
11609 # Solaris requires -lintl if you want strerror (which calls dgettext) 11625 # Solaris requires -lintl if you want strerror (which calls dgettext)
11610 # to return localized messages. 11626 # to return localized messages.
11611 11627
11612 echo "$as_me:11612: checking for dgettext in -lintl" >&5 11628 echo "$as_me:11628: checking for dgettext in -lintl" >&5
11613 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 11629 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11614 if test "${ac_cv_lib_intl_dgettext+set}" = set; then 11630 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11615 echo $ECHO_N "(cached) $ECHO_C" >&6 11631 echo $ECHO_N "(cached) $ECHO_C" >&6
11616 else 11632 else
11617 ac_check_lib_save_LIBS=$LIBS 11633 ac_check_lib_save_LIBS=$LIBS
11618 LIBS="-lintl $LIBS" 11634 LIBS="-lintl $LIBS"
11619 cat >conftest.$ac_ext <<_ACEOF 11635 cat >conftest.$ac_ext <<_ACEOF
11620 #line 11620 "configure" 11636 #line 11636 "configure"
11621 #include "confdefs.h" 11637 #include "confdefs.h"
11622 11638
11623 /* Override any gcc2 internal prototype to avoid an error. */ 11639 /* Override any gcc2 internal prototype to avoid an error. */
11624 #ifdef __cplusplus 11640 #ifdef __cplusplus
11625 extern "C" 11641 extern "C"
11634 ; 11650 ;
11635 return 0; 11651 return 0;
11636 } 11652 }
11637 _ACEOF 11653 _ACEOF
11638 rm -f conftest.$ac_objext conftest$ac_exeext 11654 rm -f conftest.$ac_objext conftest$ac_exeext
11639 if { (eval echo "$as_me:11639: \"$ac_link\"") >&5 11655 if { (eval echo "$as_me:11655: \"$ac_link\"") >&5
11640 (eval $ac_link) 2>&5 11656 (eval $ac_link) 2>&5
11641 ac_status=$? 11657 ac_status=$?
11642 echo "$as_me:11642: \$? = $ac_status" >&5 11658 echo "$as_me:11658: \$? = $ac_status" >&5
11643 (exit $ac_status); } && 11659 (exit $ac_status); } &&
11644 { ac_try='test -s conftest$ac_exeext' 11660 { ac_try='test -s conftest$ac_exeext'
11645 { (eval echo "$as_me:11645: \"$ac_try\"") >&5 11661 { (eval echo "$as_me:11661: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5 11662 (eval $ac_try) 2>&5
11647 ac_status=$? 11663 ac_status=$?
11648 echo "$as_me:11648: \$? = $ac_status" >&5 11664 echo "$as_me:11664: \$? = $ac_status" >&5
11649 (exit $ac_status); }; }; then 11665 (exit $ac_status); }; }; then
11650 ac_cv_lib_intl_dgettext=yes 11666 ac_cv_lib_intl_dgettext=yes
11651 else 11667 else
11652 echo "$as_me: failed program was:" >&5 11668 echo "$as_me: failed program was:" >&5
11653 cat conftest.$ac_ext >&5 11669 cat conftest.$ac_ext >&5
11654 ac_cv_lib_intl_dgettext=no 11670 ac_cv_lib_intl_dgettext=no
11655 fi 11671 fi
11656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11657 LIBS=$ac_check_lib_save_LIBS 11673 LIBS=$ac_check_lib_save_LIBS
11658 fi 11674 fi
11659 echo "$as_me:11659: result: $ac_cv_lib_intl_dgettext" >&5 11675 echo "$as_me:11675: result: $ac_cv_lib_intl_dgettext" >&5
11660 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 11676 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11661 if test $ac_cv_lib_intl_dgettext = yes; then 11677 if test $ac_cv_lib_intl_dgettext = yes; then
11662 cat >>confdefs.h <<EOF 11678 cat >>confdefs.h <<EOF
11663 #define HAVE_LIBINTL 1 11679 #define HAVE_LIBINTL 1
11664 EOF 11680 EOF
11665 11681
11666 LIBS="-lintl $LIBS" 11682 LIBS="-lintl $LIBS"
11667 11683
11668 fi 11684 fi
11669 11685
11670 echo "$as_me:11670: checking whether localtime caches TZ" >&5 11686 echo "$as_me:11686: checking whether localtime caches TZ" >&5
11671 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 11687 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11672 if test "${emacs_cv_localtime_cache+set}" = set; then 11688 if test "${emacs_cv_localtime_cache+set}" = set; then
11673 echo $ECHO_N "(cached) $ECHO_C" >&6 11689 echo $ECHO_N "(cached) $ECHO_C" >&6
11674 else 11690 else
11675 if test x$ac_cv_func_tzset = xyes; then 11691 if test x$ac_cv_func_tzset = xyes; then
11676 if test "$cross_compiling" = yes; then 11692 if test "$cross_compiling" = yes; then
11677 # If we have tzset, assume the worst when cross-compiling. 11693 # If we have tzset, assume the worst when cross-compiling.
11678 emacs_cv_localtime_cache=yes 11694 emacs_cv_localtime_cache=yes
11679 else 11695 else
11680 cat >conftest.$ac_ext <<_ACEOF 11696 cat >conftest.$ac_ext <<_ACEOF
11681 #line 11681 "configure" 11697 #line 11697 "configure"
11682 #include "confdefs.h" 11698 #include "confdefs.h"
11683 #include <time.h> 11699 #include <time.h>
11684 extern char **environ; 11700 extern char **environ;
11685 unset_TZ () 11701 unset_TZ ()
11686 { 11702 {
11709 exit (1); 11725 exit (1);
11710 exit (0); 11726 exit (0);
11711 } 11727 }
11712 _ACEOF 11728 _ACEOF
11713 rm -f conftest$ac_exeext 11729 rm -f conftest$ac_exeext
11714 if { (eval echo "$as_me:11714: \"$ac_link\"") >&5 11730 if { (eval echo "$as_me:11730: \"$ac_link\"") >&5
11715 (eval $ac_link) 2>&5 11731 (eval $ac_link) 2>&5
11716 ac_status=$? 11732 ac_status=$?
11717 echo "$as_me:11717: \$? = $ac_status" >&5 11733 echo "$as_me:11733: \$? = $ac_status" >&5
11718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11719 { (eval echo "$as_me:11719: \"$ac_try\"") >&5 11735 { (eval echo "$as_me:11735: \"$ac_try\"") >&5
11720 (eval $ac_try) 2>&5 11736 (eval $ac_try) 2>&5
11721 ac_status=$? 11737 ac_status=$?
11722 echo "$as_me:11722: \$? = $ac_status" >&5 11738 echo "$as_me:11738: \$? = $ac_status" >&5
11723 (exit $ac_status); }; }; then 11739 (exit $ac_status); }; }; then
11724 emacs_cv_localtime_cache=no 11740 emacs_cv_localtime_cache=no
11725 else 11741 else
11726 echo "$as_me: program exited with status $ac_status" >&5 11742 echo "$as_me: program exited with status $ac_status" >&5
11727 echo "$as_me: failed program was:" >&5 11743 echo "$as_me: failed program was:" >&5
11734 # If we lack tzset, report that localtime does not cache TZ, 11750 # If we lack tzset, report that localtime does not cache TZ,
11735 # since we can't invalidate the cache if we don't have tzset. 11751 # since we can't invalidate the cache if we don't have tzset.
11736 emacs_cv_localtime_cache=no 11752 emacs_cv_localtime_cache=no
11737 fi 11753 fi
11738 fi 11754 fi
11739 echo "$as_me:11739: result: $emacs_cv_localtime_cache" >&5 11755 echo "$as_me:11755: result: $emacs_cv_localtime_cache" >&5
11740 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 11756 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11741 if test $emacs_cv_localtime_cache = yes; then 11757 if test $emacs_cv_localtime_cache = yes; then
11742 11758
11743 cat >>confdefs.h <<\EOF 11759 cat >>confdefs.h <<\EOF
11744 #define LOCALTIME_CACHE 1 11760 #define LOCALTIME_CACHE 1
11749 if test "x$HAVE_TIMEVAL" = xyes; then 11765 if test "x$HAVE_TIMEVAL" = xyes; then
11750 11766
11751 for ac_func in gettimeofday 11767 for ac_func in gettimeofday
11752 do 11768 do
11753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11754 echo "$as_me:11754: checking for $ac_func" >&5 11770 echo "$as_me:11770: checking for $ac_func" >&5
11755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11756 if eval "test \"\${$as_ac_var+set}\" = set"; then 11772 if eval "test \"\${$as_ac_var+set}\" = set"; then
11757 echo $ECHO_N "(cached) $ECHO_C" >&6 11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11758 else 11774 else
11759 cat >conftest.$ac_ext <<_ACEOF 11775 cat >conftest.$ac_ext <<_ACEOF
11760 #line 11760 "configure" 11776 #line 11776 "configure"
11761 #include "confdefs.h" 11777 #include "confdefs.h"
11762 /* System header to define __stub macros and hopefully few prototypes, 11778 /* System header to define __stub macros and hopefully few prototypes,
11763 which can conflict with char $ac_func (); below. */ 11779 which can conflict with char $ac_func (); below. */
11764 #include <assert.h> 11780 #include <assert.h>
11765 /* Override any gcc2 internal prototype to avoid an error. */ 11781 /* Override any gcc2 internal prototype to avoid an error. */
11786 ; 11802 ;
11787 return 0; 11803 return 0;
11788 } 11804 }
11789 _ACEOF 11805 _ACEOF
11790 rm -f conftest.$ac_objext conftest$ac_exeext 11806 rm -f conftest.$ac_objext conftest$ac_exeext
11791 if { (eval echo "$as_me:11791: \"$ac_link\"") >&5 11807 if { (eval echo "$as_me:11807: \"$ac_link\"") >&5
11792 (eval $ac_link) 2>&5 11808 (eval $ac_link) 2>&5
11793 ac_status=$? 11809 ac_status=$?
11794 echo "$as_me:11794: \$? = $ac_status" >&5 11810 echo "$as_me:11810: \$? = $ac_status" >&5
11795 (exit $ac_status); } && 11811 (exit $ac_status); } &&
11796 { ac_try='test -s conftest$ac_exeext' 11812 { ac_try='test -s conftest$ac_exeext'
11797 { (eval echo "$as_me:11797: \"$ac_try\"") >&5 11813 { (eval echo "$as_me:11813: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5 11814 (eval $ac_try) 2>&5
11799 ac_status=$? 11815 ac_status=$?
11800 echo "$as_me:11800: \$? = $ac_status" >&5 11816 echo "$as_me:11816: \$? = $ac_status" >&5
11801 (exit $ac_status); }; }; then 11817 (exit $ac_status); }; }; then
11802 eval "$as_ac_var=yes" 11818 eval "$as_ac_var=yes"
11803 else 11819 else
11804 echo "$as_me: failed program was:" >&5 11820 echo "$as_me: failed program was:" >&5
11805 cat conftest.$ac_ext >&5 11821 cat conftest.$ac_ext >&5
11806 eval "$as_ac_var=no" 11822 eval "$as_ac_var=no"
11807 fi 11823 fi
11808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11809 fi 11825 fi
11810 echo "$as_me:11810: result: `eval echo '${'$as_ac_var'}'`" >&5 11826 echo "$as_me:11826: result: `eval echo '${'$as_ac_var'}'`" >&5
11811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11812 if test `eval echo '${'$as_ac_var'}'` = yes; then 11828 if test `eval echo '${'$as_ac_var'}'` = yes; then
11813 cat >>confdefs.h <<EOF 11829 cat >>confdefs.h <<EOF
11814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11815 EOF 11831 EOF
11816 11832
11817 fi 11833 fi
11818 done 11834 done
11819 11835
11820 if test $ac_cv_func_gettimeofday = yes; then 11836 if test $ac_cv_func_gettimeofday = yes; then
11821 echo "$as_me:11821: checking whether gettimeofday can accept two arguments" >&5 11837 echo "$as_me:11837: checking whether gettimeofday can accept two arguments" >&5
11822 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 11838 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11823 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 11839 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11824 echo $ECHO_N "(cached) $ECHO_C" >&6 11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11825 else 11841 else
11826 cat >conftest.$ac_ext <<_ACEOF 11842 cat >conftest.$ac_ext <<_ACEOF
11827 #line 11827 "configure" 11843 #line 11843 "configure"
11828 #include "confdefs.h" 11844 #include "confdefs.h"
11829 11845
11830 #ifdef TIME_WITH_SYS_TIME 11846 #ifdef TIME_WITH_SYS_TIME
11831 #include <sys/time.h> 11847 #include <sys/time.h>
11832 #include <time.h> 11848 #include <time.h>
11845 ; 11861 ;
11846 return 0; 11862 return 0;
11847 } 11863 }
11848 _ACEOF 11864 _ACEOF
11849 rm -f conftest.$ac_objext 11865 rm -f conftest.$ac_objext
11850 if { (eval echo "$as_me:11850: \"$ac_compile\"") >&5 11866 if { (eval echo "$as_me:11866: \"$ac_compile\"") >&5
11851 (eval $ac_compile) 2>&5 11867 (eval $ac_compile) 2>&5
11852 ac_status=$? 11868 ac_status=$?
11853 echo "$as_me:11853: \$? = $ac_status" >&5 11869 echo "$as_me:11869: \$? = $ac_status" >&5
11854 (exit $ac_status); } && 11870 (exit $ac_status); } &&
11855 { ac_try='test -s conftest.$ac_objext' 11871 { ac_try='test -s conftest.$ac_objext'
11856 { (eval echo "$as_me:11856: \"$ac_try\"") >&5 11872 { (eval echo "$as_me:11872: \"$ac_try\"") >&5
11857 (eval $ac_try) 2>&5 11873 (eval $ac_try) 2>&5
11858 ac_status=$? 11874 ac_status=$?
11859 echo "$as_me:11859: \$? = $ac_status" >&5 11875 echo "$as_me:11875: \$? = $ac_status" >&5
11860 (exit $ac_status); }; }; then 11876 (exit $ac_status); }; }; then
11861 emacs_cv_gettimeofday_two_arguments=yes 11877 emacs_cv_gettimeofday_two_arguments=yes
11862 else 11878 else
11863 echo "$as_me: failed program was:" >&5 11879 echo "$as_me: failed program was:" >&5
11864 cat conftest.$ac_ext >&5 11880 cat conftest.$ac_ext >&5
11865 emacs_cv_gettimeofday_two_arguments=no 11881 emacs_cv_gettimeofday_two_arguments=no
11866 fi 11882 fi
11867 rm -f conftest.$ac_objext conftest.$ac_ext 11883 rm -f conftest.$ac_objext conftest.$ac_ext
11868 fi 11884 fi
11869 echo "$as_me:11869: result: $emacs_cv_gettimeofday_two_arguments" >&5 11885 echo "$as_me:11885: result: $emacs_cv_gettimeofday_two_arguments" >&5
11870 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 11886 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11871 if test $emacs_cv_gettimeofday_two_arguments = no; then 11887 if test $emacs_cv_gettimeofday_two_arguments = no; then
11872 11888
11873 cat >>confdefs.h <<\EOF 11889 cat >>confdefs.h <<\EOF
11874 #define GETTIMEOFDAY_ONE_ARGUMENT 1 11890 #define GETTIMEOFDAY_ONE_ARGUMENT 1
11877 fi 11893 fi
11878 fi 11894 fi
11879 fi 11895 fi
11880 11896
11881 if test "$ac_cv_func_gettimeofday" = yes; then 11897 if test "$ac_cv_func_gettimeofday" = yes; then
11882 echo "$as_me:11882: checking for struct timezone" >&5 11898 echo "$as_me:11898: checking for struct timezone" >&5
11883 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 11899 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11884 if test "${emacs_cv_struct_timezone+set}" = set; then 11900 if test "${emacs_cv_struct_timezone+set}" = set; then
11885 echo $ECHO_N "(cached) $ECHO_C" >&6 11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11886 else 11902 else
11887 cat >conftest.$ac_ext <<_ACEOF 11903 cat >conftest.$ac_ext <<_ACEOF
11888 #line 11888 "configure" 11904 #line 11904 "configure"
11889 #include "confdefs.h" 11905 #include "confdefs.h"
11890 #include <sys/time.h> 11906 #include <sys/time.h>
11891 int 11907 int
11892 main () 11908 main ()
11893 { 11909 {
11895 ; 11911 ;
11896 return 0; 11912 return 0;
11897 } 11913 }
11898 _ACEOF 11914 _ACEOF
11899 rm -f conftest.$ac_objext 11915 rm -f conftest.$ac_objext
11900 if { (eval echo "$as_me:11900: \"$ac_compile\"") >&5 11916 if { (eval echo "$as_me:11916: \"$ac_compile\"") >&5
11901 (eval $ac_compile) 2>&5 11917 (eval $ac_compile) 2>&5
11902 ac_status=$? 11918 ac_status=$?
11903 echo "$as_me:11903: \$? = $ac_status" >&5 11919 echo "$as_me:11919: \$? = $ac_status" >&5
11904 (exit $ac_status); } && 11920 (exit $ac_status); } &&
11905 { ac_try='test -s conftest.$ac_objext' 11921 { ac_try='test -s conftest.$ac_objext'
11906 { (eval echo "$as_me:11906: \"$ac_try\"") >&5 11922 { (eval echo "$as_me:11922: \"$ac_try\"") >&5
11907 (eval $ac_try) 2>&5 11923 (eval $ac_try) 2>&5
11908 ac_status=$? 11924 ac_status=$?
11909 echo "$as_me:11909: \$? = $ac_status" >&5 11925 echo "$as_me:11925: \$? = $ac_status" >&5
11910 (exit $ac_status); }; }; then 11926 (exit $ac_status); }; }; then
11911 if test "$cross_compiling" = yes; then 11927 if test "$cross_compiling" = yes; then
11912 emacs_cv_struct_timezone=yes 11928 emacs_cv_struct_timezone=yes
11913 else 11929 else
11914 cat >conftest.$ac_ext <<_ACEOF 11930 cat >conftest.$ac_ext <<_ACEOF
11915 #line 11915 "configure" 11931 #line 11931 "configure"
11916 #include "confdefs.h" 11932 #include "confdefs.h"
11917 11933
11918 #ifdef TIME_WITH_SYS_TIME 11934 #ifdef TIME_WITH_SYS_TIME
11919 #include <sys/time.h> 11935 #include <sys/time.h>
11920 #include <time.h> 11936 #include <time.h>
11930 struct timezone dummy; 11946 struct timezone dummy;
11931 exit (gettimeofday (&time, &dummy)); 11947 exit (gettimeofday (&time, &dummy));
11932 } 11948 }
11933 _ACEOF 11949 _ACEOF
11934 rm -f conftest$ac_exeext 11950 rm -f conftest$ac_exeext
11935 if { (eval echo "$as_me:11935: \"$ac_link\"") >&5 11951 if { (eval echo "$as_me:11951: \"$ac_link\"") >&5
11936 (eval $ac_link) 2>&5 11952 (eval $ac_link) 2>&5
11937 ac_status=$? 11953 ac_status=$?
11938 echo "$as_me:11938: \$? = $ac_status" >&5 11954 echo "$as_me:11954: \$? = $ac_status" >&5
11939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11940 { (eval echo "$as_me:11940: \"$ac_try\"") >&5 11956 { (eval echo "$as_me:11956: \"$ac_try\"") >&5
11941 (eval $ac_try) 2>&5 11957 (eval $ac_try) 2>&5
11942 ac_status=$? 11958 ac_status=$?
11943 echo "$as_me:11943: \$? = $ac_status" >&5 11959 echo "$as_me:11959: \$? = $ac_status" >&5
11944 (exit $ac_status); }; }; then 11960 (exit $ac_status); }; }; then
11945 emacs_cv_struct_timezone=yes 11961 emacs_cv_struct_timezone=yes
11946 else 11962 else
11947 echo "$as_me: program exited with status $ac_status" >&5 11963 echo "$as_me: program exited with status $ac_status" >&5
11948 echo "$as_me: failed program was:" >&5 11964 echo "$as_me: failed program was:" >&5
11956 cat conftest.$ac_ext >&5 11972 cat conftest.$ac_ext >&5
11957 emacs_cv_struct_timezone=no 11973 emacs_cv_struct_timezone=no
11958 fi 11974 fi
11959 rm -f conftest.$ac_objext conftest.$ac_ext 11975 rm -f conftest.$ac_objext conftest.$ac_ext
11960 fi 11976 fi
11961 echo "$as_me:11961: result: $emacs_cv_struct_timezone" >&5 11977 echo "$as_me:11977: result: $emacs_cv_struct_timezone" >&5
11962 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 11978 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11963 fi 11979 fi
11964 11980
11965 ok_so_far=yes 11981 ok_so_far=yes
11966 echo "$as_me:11966: checking for socket" >&5 11982 echo "$as_me:11982: checking for socket" >&5
11967 echo $ECHO_N "checking for socket... $ECHO_C" >&6 11983 echo $ECHO_N "checking for socket... $ECHO_C" >&6
11968 if test "${ac_cv_func_socket+set}" = set; then 11984 if test "${ac_cv_func_socket+set}" = set; then
11969 echo $ECHO_N "(cached) $ECHO_C" >&6 11985 echo $ECHO_N "(cached) $ECHO_C" >&6
11970 else 11986 else
11971 cat >conftest.$ac_ext <<_ACEOF 11987 cat >conftest.$ac_ext <<_ACEOF
11972 #line 11972 "configure" 11988 #line 11988 "configure"
11973 #include "confdefs.h" 11989 #include "confdefs.h"
11974 /* System header to define __stub macros and hopefully few prototypes, 11990 /* System header to define __stub macros and hopefully few prototypes,
11975 which can conflict with char socket (); below. */ 11991 which can conflict with char socket (); below. */
11976 #include <assert.h> 11992 #include <assert.h>
11977 /* Override any gcc2 internal prototype to avoid an error. */ 11993 /* Override any gcc2 internal prototype to avoid an error. */
11998 ; 12014 ;
11999 return 0; 12015 return 0;
12000 } 12016 }
12001 _ACEOF 12017 _ACEOF
12002 rm -f conftest.$ac_objext conftest$ac_exeext 12018 rm -f conftest.$ac_objext conftest$ac_exeext
12003 if { (eval echo "$as_me:12003: \"$ac_link\"") >&5 12019 if { (eval echo "$as_me:12019: \"$ac_link\"") >&5
12004 (eval $ac_link) 2>&5 12020 (eval $ac_link) 2>&5
12005 ac_status=$? 12021 ac_status=$?
12006 echo "$as_me:12006: \$? = $ac_status" >&5 12022 echo "$as_me:12022: \$? = $ac_status" >&5
12007 (exit $ac_status); } && 12023 (exit $ac_status); } &&
12008 { ac_try='test -s conftest$ac_exeext' 12024 { ac_try='test -s conftest$ac_exeext'
12009 { (eval echo "$as_me:12009: \"$ac_try\"") >&5 12025 { (eval echo "$as_me:12025: \"$ac_try\"") >&5
12010 (eval $ac_try) 2>&5 12026 (eval $ac_try) 2>&5
12011 ac_status=$? 12027 ac_status=$?
12012 echo "$as_me:12012: \$? = $ac_status" >&5 12028 echo "$as_me:12028: \$? = $ac_status" >&5
12013 (exit $ac_status); }; }; then 12029 (exit $ac_status); }; }; then
12014 ac_cv_func_socket=yes 12030 ac_cv_func_socket=yes
12015 else 12031 else
12016 echo "$as_me: failed program was:" >&5 12032 echo "$as_me: failed program was:" >&5
12017 cat conftest.$ac_ext >&5 12033 cat conftest.$ac_ext >&5
12018 ac_cv_func_socket=no 12034 ac_cv_func_socket=no
12019 fi 12035 fi
12020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12021 fi 12037 fi
12022 echo "$as_me:12022: result: $ac_cv_func_socket" >&5 12038 echo "$as_me:12038: result: $ac_cv_func_socket" >&5
12023 echo "${ECHO_T}$ac_cv_func_socket" >&6 12039 echo "${ECHO_T}$ac_cv_func_socket" >&6
12024 if test $ac_cv_func_socket = yes; then 12040 if test $ac_cv_func_socket = yes; then
12025 : 12041 :
12026 else 12042 else
12027 ok_so_far=no 12043 ok_so_far=no
12028 fi 12044 fi
12029 12045
12030 if test $ok_so_far = yes; then 12046 if test $ok_so_far = yes; then
12031 echo "$as_me:12031: checking for netinet/in.h" >&5 12047 echo "$as_me:12047: checking for netinet/in.h" >&5
12032 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 12048 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
12033 if test "${ac_cv_header_netinet_in_h+set}" = set; then 12049 if test "${ac_cv_header_netinet_in_h+set}" = set; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6 12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12035 else 12051 else
12036 cat >conftest.$ac_ext <<_ACEOF 12052 cat >conftest.$ac_ext <<_ACEOF
12037 #line 12037 "configure" 12053 #line 12053 "configure"
12038 #include "confdefs.h" 12054 #include "confdefs.h"
12039 #include <netinet/in.h> 12055 #include <netinet/in.h>
12040 _ACEOF 12056 _ACEOF
12041 if { (eval echo "$as_me:12041: \"$ac_cpp conftest.$ac_ext\"") >&5 12057 if { (eval echo "$as_me:12057: \"$ac_cpp conftest.$ac_ext\"") >&5
12042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12043 ac_status=$? 12059 ac_status=$?
12044 egrep -v '^ *\+' conftest.er1 >conftest.err 12060 egrep -v '^ *\+' conftest.er1 >conftest.err
12045 rm -f conftest.er1 12061 rm -f conftest.er1
12046 cat conftest.err >&5 12062 cat conftest.err >&5
12047 echo "$as_me:12047: \$? = $ac_status" >&5 12063 echo "$as_me:12063: \$? = $ac_status" >&5
12048 (exit $ac_status); } >/dev/null; then 12064 (exit $ac_status); } >/dev/null; then
12049 if test -s conftest.err; then 12065 if test -s conftest.err; then
12050 ac_cpp_err=$ac_c_preproc_warn_flag 12066 ac_cpp_err=$ac_c_preproc_warn_flag
12051 else 12067 else
12052 ac_cpp_err= 12068 ac_cpp_err=
12061 cat conftest.$ac_ext >&5 12077 cat conftest.$ac_ext >&5
12062 ac_cv_header_netinet_in_h=no 12078 ac_cv_header_netinet_in_h=no
12063 fi 12079 fi
12064 rm -f conftest.err conftest.$ac_ext 12080 rm -f conftest.err conftest.$ac_ext
12065 fi 12081 fi
12066 echo "$as_me:12066: result: $ac_cv_header_netinet_in_h" >&5 12082 echo "$as_me:12082: result: $ac_cv_header_netinet_in_h" >&5
12067 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 12083 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
12068 if test $ac_cv_header_netinet_in_h = yes; then 12084 if test $ac_cv_header_netinet_in_h = yes; then
12069 : 12085 :
12070 else 12086 else
12071 ok_so_far=no 12087 ok_so_far=no
12072 fi 12088 fi
12073 12089
12074 fi 12090 fi
12075 if test $ok_so_far = yes; then 12091 if test $ok_so_far = yes; then
12076 echo "$as_me:12076: checking for arpa/inet.h" >&5 12092 echo "$as_me:12092: checking for arpa/inet.h" >&5
12077 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 12093 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
12078 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 12094 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
12079 echo $ECHO_N "(cached) $ECHO_C" >&6 12095 echo $ECHO_N "(cached) $ECHO_C" >&6
12080 else 12096 else
12081 cat >conftest.$ac_ext <<_ACEOF 12097 cat >conftest.$ac_ext <<_ACEOF
12082 #line 12082 "configure" 12098 #line 12098 "configure"
12083 #include "confdefs.h" 12099 #include "confdefs.h"
12084 #include <arpa/inet.h> 12100 #include <arpa/inet.h>
12085 _ACEOF 12101 _ACEOF
12086 if { (eval echo "$as_me:12086: \"$ac_cpp conftest.$ac_ext\"") >&5 12102 if { (eval echo "$as_me:12102: \"$ac_cpp conftest.$ac_ext\"") >&5
12087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12088 ac_status=$? 12104 ac_status=$?
12089 egrep -v '^ *\+' conftest.er1 >conftest.err 12105 egrep -v '^ *\+' conftest.er1 >conftest.err
12090 rm -f conftest.er1 12106 rm -f conftest.er1
12091 cat conftest.err >&5 12107 cat conftest.err >&5
12092 echo "$as_me:12092: \$? = $ac_status" >&5 12108 echo "$as_me:12108: \$? = $ac_status" >&5
12093 (exit $ac_status); } >/dev/null; then 12109 (exit $ac_status); } >/dev/null; then
12094 if test -s conftest.err; then 12110 if test -s conftest.err; then
12095 ac_cpp_err=$ac_c_preproc_warn_flag 12111 ac_cpp_err=$ac_c_preproc_warn_flag
12096 else 12112 else
12097 ac_cpp_err= 12113 ac_cpp_err=
12106 cat conftest.$ac_ext >&5 12122 cat conftest.$ac_ext >&5
12107 ac_cv_header_arpa_inet_h=no 12123 ac_cv_header_arpa_inet_h=no
12108 fi 12124 fi
12109 rm -f conftest.err conftest.$ac_ext 12125 rm -f conftest.err conftest.$ac_ext
12110 fi 12126 fi
12111 echo "$as_me:12111: result: $ac_cv_header_arpa_inet_h" >&5 12127 echo "$as_me:12127: result: $ac_cv_header_arpa_inet_h" >&5
12112 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 12128 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
12113 if test $ac_cv_header_arpa_inet_h = yes; then 12129 if test $ac_cv_header_arpa_inet_h = yes; then
12114 : 12130 :
12115 else 12131 else
12116 ok_so_far=no 12132 ok_so_far=no
12131 #define HAVE_AIX_SMT_EXP 1 12147 #define HAVE_AIX_SMT_EXP 1
12132 EOF 12148 EOF
12133 12149
12134 fi 12150 fi
12135 12151
12136 echo "$as_me:12136: checking whether system supports dynamic ptys" >&5 12152 echo "$as_me:12152: checking whether system supports dynamic ptys" >&5
12137 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 12153 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
12138 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 12154 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
12139 echo "$as_me:12139: result: yes" >&5 12155 echo "$as_me:12155: result: yes" >&5
12140 echo "${ECHO_T}yes" >&6 12156 echo "${ECHO_T}yes" >&6
12141 12157
12142 cat >>confdefs.h <<\EOF 12158 cat >>confdefs.h <<\EOF
12143 #define HAVE_DEV_PTMX 1 12159 #define HAVE_DEV_PTMX 1
12144 EOF 12160 EOF
12145 12161
12146 else 12162 else
12147 echo "$as_me:12147: result: no" >&5 12163 echo "$as_me:12163: result: no" >&5
12148 echo "${ECHO_T}no" >&6 12164 echo "${ECHO_T}no" >&6
12149 fi 12165 fi
12150 12166
12151 echo "$as_me:12151: checking for pid_t" >&5 12167 echo "$as_me:12167: checking for pid_t" >&5
12152 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 12168 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12153 if test "${ac_cv_type_pid_t+set}" = set; then 12169 if test "${ac_cv_type_pid_t+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6 12170 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 else 12171 else
12156 cat >conftest.$ac_ext <<_ACEOF 12172 cat >conftest.$ac_ext <<_ACEOF
12157 #line 12157 "configure" 12173 #line 12173 "configure"
12158 #include "confdefs.h" 12174 #include "confdefs.h"
12159 $ac_includes_default 12175 $ac_includes_default
12160 int 12176 int
12161 main () 12177 main ()
12162 { 12178 {
12167 ; 12183 ;
12168 return 0; 12184 return 0;
12169 } 12185 }
12170 _ACEOF 12186 _ACEOF
12171 rm -f conftest.$ac_objext 12187 rm -f conftest.$ac_objext
12172 if { (eval echo "$as_me:12172: \"$ac_compile\"") >&5 12188 if { (eval echo "$as_me:12188: \"$ac_compile\"") >&5
12173 (eval $ac_compile) 2>&5 12189 (eval $ac_compile) 2>&5
12174 ac_status=$? 12190 ac_status=$?
12175 echo "$as_me:12175: \$? = $ac_status" >&5 12191 echo "$as_me:12191: \$? = $ac_status" >&5
12176 (exit $ac_status); } && 12192 (exit $ac_status); } &&
12177 { ac_try='test -s conftest.$ac_objext' 12193 { ac_try='test -s conftest.$ac_objext'
12178 { (eval echo "$as_me:12178: \"$ac_try\"") >&5 12194 { (eval echo "$as_me:12194: \"$ac_try\"") >&5
12179 (eval $ac_try) 2>&5 12195 (eval $ac_try) 2>&5
12180 ac_status=$? 12196 ac_status=$?
12181 echo "$as_me:12181: \$? = $ac_status" >&5 12197 echo "$as_me:12197: \$? = $ac_status" >&5
12182 (exit $ac_status); }; }; then 12198 (exit $ac_status); }; }; then
12183 ac_cv_type_pid_t=yes 12199 ac_cv_type_pid_t=yes
12184 else 12200 else
12185 echo "$as_me: failed program was:" >&5 12201 echo "$as_me: failed program was:" >&5
12186 cat conftest.$ac_ext >&5 12202 cat conftest.$ac_ext >&5
12187 ac_cv_type_pid_t=no 12203 ac_cv_type_pid_t=no
12188 fi 12204 fi
12189 rm -f conftest.$ac_objext conftest.$ac_ext 12205 rm -f conftest.$ac_objext conftest.$ac_ext
12190 fi 12206 fi
12191 echo "$as_me:12191: result: $ac_cv_type_pid_t" >&5 12207 echo "$as_me:12207: result: $ac_cv_type_pid_t" >&5
12192 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 12208 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12193 if test $ac_cv_type_pid_t = yes; then 12209 if test $ac_cv_type_pid_t = yes; then
12194 : 12210 :
12195 else 12211 else
12196 12212
12201 fi 12217 fi
12202 12218
12203 for ac_header in unistd.h vfork.h 12219 for ac_header in unistd.h vfork.h
12204 do 12220 do
12205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12221 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12206 echo "$as_me:12206: checking for $ac_header" >&5 12222 echo "$as_me:12222: checking for $ac_header" >&5
12207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12208 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6 12225 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 else 12226 else
12211 cat >conftest.$ac_ext <<_ACEOF 12227 cat >conftest.$ac_ext <<_ACEOF
12212 #line 12212 "configure" 12228 #line 12228 "configure"
12213 #include "confdefs.h" 12229 #include "confdefs.h"
12214 #include <$ac_header> 12230 #include <$ac_header>
12215 _ACEOF 12231 _ACEOF
12216 if { (eval echo "$as_me:12216: \"$ac_cpp conftest.$ac_ext\"") >&5 12232 if { (eval echo "$as_me:12232: \"$ac_cpp conftest.$ac_ext\"") >&5
12217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12218 ac_status=$? 12234 ac_status=$?
12219 egrep -v '^ *\+' conftest.er1 >conftest.err 12235 egrep -v '^ *\+' conftest.er1 >conftest.err
12220 rm -f conftest.er1 12236 rm -f conftest.er1
12221 cat conftest.err >&5 12237 cat conftest.err >&5
12222 echo "$as_me:12222: \$? = $ac_status" >&5 12238 echo "$as_me:12238: \$? = $ac_status" >&5
12223 (exit $ac_status); } >/dev/null; then 12239 (exit $ac_status); } >/dev/null; then
12224 if test -s conftest.err; then 12240 if test -s conftest.err; then
12225 ac_cpp_err=$ac_c_preproc_warn_flag 12241 ac_cpp_err=$ac_c_preproc_warn_flag
12226 else 12242 else
12227 ac_cpp_err= 12243 ac_cpp_err=
12236 cat conftest.$ac_ext >&5 12252 cat conftest.$ac_ext >&5
12237 eval "$as_ac_Header=no" 12253 eval "$as_ac_Header=no"
12238 fi 12254 fi
12239 rm -f conftest.err conftest.$ac_ext 12255 rm -f conftest.err conftest.$ac_ext
12240 fi 12256 fi
12241 echo "$as_me:12241: result: `eval echo '${'$as_ac_Header'}'`" >&5 12257 echo "$as_me:12257: result: `eval echo '${'$as_ac_Header'}'`" >&5
12242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12243 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12244 cat >>confdefs.h <<EOF 12260 cat >>confdefs.h <<EOF
12245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12246 EOF 12262 EOF
12249 done 12265 done
12250 12266
12251 for ac_func in fork vfork 12267 for ac_func in fork vfork
12252 do 12268 do
12253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12254 echo "$as_me:12254: checking for $ac_func" >&5 12270 echo "$as_me:12270: checking for $ac_func" >&5
12255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12256 if eval "test \"\${$as_ac_var+set}\" = set"; then 12272 if eval "test \"\${$as_ac_var+set}\" = set"; then
12257 echo $ECHO_N "(cached) $ECHO_C" >&6 12273 echo $ECHO_N "(cached) $ECHO_C" >&6
12258 else 12274 else
12259 cat >conftest.$ac_ext <<_ACEOF 12275 cat >conftest.$ac_ext <<_ACEOF
12260 #line 12260 "configure" 12276 #line 12276 "configure"
12261 #include "confdefs.h" 12277 #include "confdefs.h"
12262 /* System header to define __stub macros and hopefully few prototypes, 12278 /* System header to define __stub macros and hopefully few prototypes,
12263 which can conflict with char $ac_func (); below. */ 12279 which can conflict with char $ac_func (); below. */
12264 #include <assert.h> 12280 #include <assert.h>
12265 /* Override any gcc2 internal prototype to avoid an error. */ 12281 /* Override any gcc2 internal prototype to avoid an error. */
12286 ; 12302 ;
12287 return 0; 12303 return 0;
12288 } 12304 }
12289 _ACEOF 12305 _ACEOF
12290 rm -f conftest.$ac_objext conftest$ac_exeext 12306 rm -f conftest.$ac_objext conftest$ac_exeext
12291 if { (eval echo "$as_me:12291: \"$ac_link\"") >&5 12307 if { (eval echo "$as_me:12307: \"$ac_link\"") >&5
12292 (eval $ac_link) 2>&5 12308 (eval $ac_link) 2>&5
12293 ac_status=$? 12309 ac_status=$?
12294 echo "$as_me:12294: \$? = $ac_status" >&5 12310 echo "$as_me:12310: \$? = $ac_status" >&5
12295 (exit $ac_status); } && 12311 (exit $ac_status); } &&
12296 { ac_try='test -s conftest$ac_exeext' 12312 { ac_try='test -s conftest$ac_exeext'
12297 { (eval echo "$as_me:12297: \"$ac_try\"") >&5 12313 { (eval echo "$as_me:12313: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5 12314 (eval $ac_try) 2>&5
12299 ac_status=$? 12315 ac_status=$?
12300 echo "$as_me:12300: \$? = $ac_status" >&5 12316 echo "$as_me:12316: \$? = $ac_status" >&5
12301 (exit $ac_status); }; }; then 12317 (exit $ac_status); }; }; then
12302 eval "$as_ac_var=yes" 12318 eval "$as_ac_var=yes"
12303 else 12319 else
12304 echo "$as_me: failed program was:" >&5 12320 echo "$as_me: failed program was:" >&5
12305 cat conftest.$ac_ext >&5 12321 cat conftest.$ac_ext >&5
12306 eval "$as_ac_var=no" 12322 eval "$as_ac_var=no"
12307 fi 12323 fi
12308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12309 fi 12325 fi
12310 echo "$as_me:12310: result: `eval echo '${'$as_ac_var'}'`" >&5 12326 echo "$as_me:12326: result: `eval echo '${'$as_ac_var'}'`" >&5
12311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12312 if test `eval echo '${'$as_ac_var'}'` = yes; then 12328 if test `eval echo '${'$as_ac_var'}'` = yes; then
12313 cat >>confdefs.h <<EOF 12329 cat >>confdefs.h <<EOF
12314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12315 EOF 12331 EOF
12317 fi 12333 fi
12318 done 12334 done
12319 12335
12320 ac_cv_func_fork_works=$ac_cv_func_fork 12336 ac_cv_func_fork_works=$ac_cv_func_fork
12321 if test "x$ac_cv_func_fork" = xyes; then 12337 if test "x$ac_cv_func_fork" = xyes; then
12322 echo "$as_me:12322: checking for working fork" >&5 12338 echo "$as_me:12338: checking for working fork" >&5
12323 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 12339 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
12324 if test "${ac_cv_func_fork_works+set}" = set; then 12340 if test "${ac_cv_func_fork_works+set}" = set; then
12325 echo $ECHO_N "(cached) $ECHO_C" >&6 12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 else 12342 else
12327 if test "$cross_compiling" = yes; then 12343 if test "$cross_compiling" = yes; then
12340 exit (1); 12356 exit (1);
12341 exit (0); 12357 exit (0);
12342 } 12358 }
12343 _ACEOF 12359 _ACEOF
12344 rm -f conftest$ac_exeext 12360 rm -f conftest$ac_exeext
12345 if { (eval echo "$as_me:12345: \"$ac_link\"") >&5 12361 if { (eval echo "$as_me:12361: \"$ac_link\"") >&5
12346 (eval $ac_link) 2>&5 12362 (eval $ac_link) 2>&5
12347 ac_status=$? 12363 ac_status=$?
12348 echo "$as_me:12348: \$? = $ac_status" >&5 12364 echo "$as_me:12364: \$? = $ac_status" >&5
12349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12350 { (eval echo "$as_me:12350: \"$ac_try\"") >&5 12366 { (eval echo "$as_me:12366: \"$ac_try\"") >&5
12351 (eval $ac_try) 2>&5 12367 (eval $ac_try) 2>&5
12352 ac_status=$? 12368 ac_status=$?
12353 echo "$as_me:12353: \$? = $ac_status" >&5 12369 echo "$as_me:12369: \$? = $ac_status" >&5
12354 (exit $ac_status); }; }; then 12370 (exit $ac_status); }; }; then
12355 ac_cv_func_fork_works=yes 12371 ac_cv_func_fork_works=yes
12356 else 12372 else
12357 echo "$as_me: program exited with status $ac_status" >&5 12373 echo "$as_me: program exited with status $ac_status" >&5
12358 echo "$as_me: failed program was:" >&5 12374 echo "$as_me: failed program was:" >&5
12360 ac_cv_func_fork_works=no 12376 ac_cv_func_fork_works=no
12361 fi 12377 fi
12362 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12378 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12363 fi 12379 fi
12364 fi 12380 fi
12365 echo "$as_me:12365: result: $ac_cv_func_fork_works" >&5 12381 echo "$as_me:12381: result: $ac_cv_func_fork_works" >&5
12366 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 12382 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
12367 12383
12368 fi 12384 fi
12369 if test "x$ac_cv_func_fork_works" = xcross; then 12385 if test "x$ac_cv_func_fork_works" = xcross; then
12370 case $host in 12386 case $host in
12374 ;; 12390 ;;
12375 *) 12391 *)
12376 ac_cv_func_fork_works=yes 12392 ac_cv_func_fork_works=yes
12377 ;; 12393 ;;
12378 esac 12394 esac
12379 { echo "$as_me:12379: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 12395 { echo "$as_me:12395: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12380 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} 12396 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
12381 fi 12397 fi
12382 ac_cv_func_vfork_works=$ac_cv_func_vfork 12398 ac_cv_func_vfork_works=$ac_cv_func_vfork
12383 if test "x$ac_cv_func_vfork" = xyes; then 12399 if test "x$ac_cv_func_vfork" = xyes; then
12384 echo "$as_me:12384: checking for working vfork" >&5 12400 echo "$as_me:12400: checking for working vfork" >&5
12385 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 12401 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12386 if test "${ac_cv_func_vfork_works+set}" = set; then 12402 if test "${ac_cv_func_vfork_works+set}" = set; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6 12403 echo $ECHO_N "(cached) $ECHO_C" >&6
12388 else 12404 else
12389 if test "$cross_compiling" = yes; then 12405 if test "$cross_compiling" = yes; then
12390 ac_cv_func_vfork_works=cross 12406 ac_cv_func_vfork_works=cross
12391 else 12407 else
12392 cat >conftest.$ac_ext <<_ACEOF 12408 cat >conftest.$ac_ext <<_ACEOF
12393 #line 12393 "configure" 12409 #line 12409 "configure"
12394 #include "confdefs.h" 12410 #include "confdefs.h"
12395 /* Thanks to Paul Eggert for this test. */ 12411 /* Thanks to Paul Eggert for this test. */
12396 #include <stdio.h> 12412 #include <stdio.h>
12397 #include <sys/types.h> 12413 #include <sys/types.h>
12398 #include <sys/stat.h> 12414 #include <sys/stat.h>
12485 ); 12501 );
12486 } 12502 }
12487 } 12503 }
12488 _ACEOF 12504 _ACEOF
12489 rm -f conftest$ac_exeext 12505 rm -f conftest$ac_exeext
12490 if { (eval echo "$as_me:12490: \"$ac_link\"") >&5 12506 if { (eval echo "$as_me:12506: \"$ac_link\"") >&5
12491 (eval $ac_link) 2>&5 12507 (eval $ac_link) 2>&5
12492 ac_status=$? 12508 ac_status=$?
12493 echo "$as_me:12493: \$? = $ac_status" >&5 12509 echo "$as_me:12509: \$? = $ac_status" >&5
12494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12495 { (eval echo "$as_me:12495: \"$ac_try\"") >&5 12511 { (eval echo "$as_me:12511: \"$ac_try\"") >&5
12496 (eval $ac_try) 2>&5 12512 (eval $ac_try) 2>&5
12497 ac_status=$? 12513 ac_status=$?
12498 echo "$as_me:12498: \$? = $ac_status" >&5 12514 echo "$as_me:12514: \$? = $ac_status" >&5
12499 (exit $ac_status); }; }; then 12515 (exit $ac_status); }; }; then
12500 ac_cv_func_vfork_works=yes 12516 ac_cv_func_vfork_works=yes
12501 else 12517 else
12502 echo "$as_me: program exited with status $ac_status" >&5 12518 echo "$as_me: program exited with status $ac_status" >&5
12503 echo "$as_me: failed program was:" >&5 12519 echo "$as_me: failed program was:" >&5
12505 ac_cv_func_vfork_works=no 12521 ac_cv_func_vfork_works=no
12506 fi 12522 fi
12507 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12523 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12508 fi 12524 fi
12509 fi 12525 fi
12510 echo "$as_me:12510: result: $ac_cv_func_vfork_works" >&5 12526 echo "$as_me:12526: result: $ac_cv_func_vfork_works" >&5
12511 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 12527 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12512 12528
12513 fi; 12529 fi;
12514 if test "x$ac_cv_func_fork_works" = xcross; then 12530 if test "x$ac_cv_func_fork_works" = xcross; then
12515 ac_cv_func_vfork_works=ac_cv_func_vfork 12531 ac_cv_func_vfork_works=ac_cv_func_vfork
12516 { echo "$as_me:12516: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 12532 { echo "$as_me:12532: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12517 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} 12533 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12518 fi 12534 fi
12519 12535
12520 if test "x$ac_cv_func_vfork_works" = xyes; then 12536 if test "x$ac_cv_func_vfork_works" = xyes; then
12521 12537
12537 EOF 12553 EOF
12538 12554
12539 fi 12555 fi
12540 12556
12541 # Fixme: This should be replaced when we have autoconf 2.14. 12557 # Fixme: This should be replaced when we have autoconf 2.14.
12542 echo "$as_me:12542: checking for size_t" >&5 12558 echo "$as_me:12558: checking for size_t" >&5
12543 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 12559 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12544 if test "${ac_cv_type_size_t+set}" = set; then 12560 if test "${ac_cv_type_size_t+set}" = set; then
12545 echo $ECHO_N "(cached) $ECHO_C" >&6 12561 echo $ECHO_N "(cached) $ECHO_C" >&6
12546 else 12562 else
12547 cat >conftest.$ac_ext <<_ACEOF 12563 cat >conftest.$ac_ext <<_ACEOF
12548 #line 12548 "configure" 12564 #line 12564 "configure"
12549 #include "confdefs.h" 12565 #include "confdefs.h"
12550 $ac_includes_default 12566 $ac_includes_default
12551 int 12567 int
12552 main () 12568 main ()
12553 { 12569 {
12558 ; 12574 ;
12559 return 0; 12575 return 0;
12560 } 12576 }
12561 _ACEOF 12577 _ACEOF
12562 rm -f conftest.$ac_objext 12578 rm -f conftest.$ac_objext
12563 if { (eval echo "$as_me:12563: \"$ac_compile\"") >&5 12579 if { (eval echo "$as_me:12579: \"$ac_compile\"") >&5
12564 (eval $ac_compile) 2>&5 12580 (eval $ac_compile) 2>&5
12565 ac_status=$? 12581 ac_status=$?
12566 echo "$as_me:12566: \$? = $ac_status" >&5 12582 echo "$as_me:12582: \$? = $ac_status" >&5
12567 (exit $ac_status); } && 12583 (exit $ac_status); } &&
12568 { ac_try='test -s conftest.$ac_objext' 12584 { ac_try='test -s conftest.$ac_objext'
12569 { (eval echo "$as_me:12569: \"$ac_try\"") >&5 12585 { (eval echo "$as_me:12585: \"$ac_try\"") >&5
12570 (eval $ac_try) 2>&5 12586 (eval $ac_try) 2>&5
12571 ac_status=$? 12587 ac_status=$?
12572 echo "$as_me:12572: \$? = $ac_status" >&5 12588 echo "$as_me:12588: \$? = $ac_status" >&5
12573 (exit $ac_status); }; }; then 12589 (exit $ac_status); }; }; then
12574 ac_cv_type_size_t=yes 12590 ac_cv_type_size_t=yes
12575 else 12591 else
12576 echo "$as_me: failed program was:" >&5 12592 echo "$as_me: failed program was:" >&5
12577 cat conftest.$ac_ext >&5 12593 cat conftest.$ac_ext >&5
12578 ac_cv_type_size_t=no 12594 ac_cv_type_size_t=no
12579 fi 12595 fi
12580 rm -f conftest.$ac_objext conftest.$ac_ext 12596 rm -f conftest.$ac_objext conftest.$ac_ext
12581 fi 12597 fi
12582 echo "$as_me:12582: result: $ac_cv_type_size_t" >&5 12598 echo "$as_me:12598: result: $ac_cv_type_size_t" >&5
12583 echo "${ECHO_T}$ac_cv_type_size_t" >&6 12599 echo "${ECHO_T}$ac_cv_type_size_t" >&6
12584 if test $ac_cv_type_size_t = yes; then 12600 if test $ac_cv_type_size_t = yes; then
12585 : 12601 :
12586 else 12602 else
12587 12603
12597 12613
12598 #### Find out which version of Emacs this is. 12614 #### Find out which version of Emacs this is.
12599 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ 12615 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
12600 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` 12616 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12601 if test x"${version}" = x; then 12617 if test x"${version}" = x; then
12602 { { echo "$as_me:12602: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5 12618 { { echo "$as_me:12618: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12603 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;} 12619 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12604 { (exit 1); exit 1; }; } 12620 { (exit 1); exit 1; }; }
12605 fi 12621 fi
12606 12622
12607 ### Specify what sort of things we'll be editing into Makefile and config.h. 12623 ### Specify what sort of things we'll be editing into Makefile and config.h.
12690 fi 12706 fi
12691 12707
12692 for ac_header in nlist.h 12708 for ac_header in nlist.h
12693 do 12709 do
12694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12695 echo "$as_me:12695: checking for $ac_header" >&5 12711 echo "$as_me:12711: checking for $ac_header" >&5
12696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 12712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12697 if eval "test \"\${$as_ac_Header+set}\" = set"; then 12713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12698 echo $ECHO_N "(cached) $ECHO_C" >&6 12714 echo $ECHO_N "(cached) $ECHO_C" >&6
12699 else 12715 else
12700 cat >conftest.$ac_ext <<_ACEOF 12716 cat >conftest.$ac_ext <<_ACEOF
12701 #line 12701 "configure" 12717 #line 12717 "configure"
12702 #include "confdefs.h" 12718 #include "confdefs.h"
12703 #include <$ac_header> 12719 #include <$ac_header>
12704 _ACEOF 12720 _ACEOF
12705 if { (eval echo "$as_me:12705: \"$ac_cpp conftest.$ac_ext\"") >&5 12721 if { (eval echo "$as_me:12721: \"$ac_cpp conftest.$ac_ext\"") >&5
12706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 12722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12707 ac_status=$? 12723 ac_status=$?
12708 egrep -v '^ *\+' conftest.er1 >conftest.err 12724 egrep -v '^ *\+' conftest.er1 >conftest.err
12709 rm -f conftest.er1 12725 rm -f conftest.er1
12710 cat conftest.err >&5 12726 cat conftest.err >&5
12711 echo "$as_me:12711: \$? = $ac_status" >&5 12727 echo "$as_me:12727: \$? = $ac_status" >&5
12712 (exit $ac_status); } >/dev/null; then 12728 (exit $ac_status); } >/dev/null; then
12713 if test -s conftest.err; then 12729 if test -s conftest.err; then
12714 ac_cpp_err=$ac_c_preproc_warn_flag 12730 ac_cpp_err=$ac_c_preproc_warn_flag
12715 else 12731 else
12716 ac_cpp_err= 12732 ac_cpp_err=
12725 cat conftest.$ac_ext >&5 12741 cat conftest.$ac_ext >&5
12726 eval "$as_ac_Header=no" 12742 eval "$as_ac_Header=no"
12727 fi 12743 fi
12728 rm -f conftest.err conftest.$ac_ext 12744 rm -f conftest.err conftest.$ac_ext
12729 fi 12745 fi
12730 echo "$as_me:12730: result: `eval echo '${'$as_ac_Header'}'`" >&5 12746 echo "$as_me:12746: result: `eval echo '${'$as_ac_Header'}'`" >&5
12731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 12747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12732 if test `eval echo '${'$as_ac_Header'}'` = yes; then 12748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12733 cat >>confdefs.h <<EOF 12749 cat >>confdefs.h <<EOF
12734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 12750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12735 EOF 12751 EOF
12785 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile 12801 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
12786 ## from Makefile.c can correctly provide the arg `-traditional' to the 12802 ## from Makefile.c can correctly provide the arg `-traditional' to the
12787 ## C preprocessor. 12803 ## C preprocessor.
12788 12804
12789 cat >conftest.$ac_ext <<_ACEOF 12805 cat >conftest.$ac_ext <<_ACEOF
12790 #line 12790 "configure" 12806 #line 12806 "configure"
12791 #include "confdefs.h" 12807 #include "confdefs.h"
12792 yes..yes 12808 yes..yes
12793 _ACEOF 12809 _ACEOF
12794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12795 egrep "yes..yes" >/dev/null 2>&1; then 12811 egrep "yes..yes" >/dev/null 2>&1; then
12878 DEFS=-DHAVE_CONFIG_H 12894 DEFS=-DHAVE_CONFIG_H
12879 12895
12880 : ${CONFIG_STATUS=./config.status} 12896 : ${CONFIG_STATUS=./config.status}
12881 ac_clean_files_save=$ac_clean_files 12897 ac_clean_files_save=$ac_clean_files
12882 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12898 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12883 { echo "$as_me:12883: creating $CONFIG_STATUS" >&5 12899 { echo "$as_me:12899: creating $CONFIG_STATUS" >&5
12884 echo "$as_me: creating $CONFIG_STATUS" >&6;} 12900 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12885 cat >$CONFIG_STATUS <<_ACEOF 12901 cat >$CONFIG_STATUS <<_ACEOF
12886 #! $SHELL 12902 #! $SHELL
12887 # Generated automatically by configure. 12903 # Generated automatically by configure.
12888 # Run this file to recreate the current configuration. 12904 # Run this file to recreate the current configuration.
13054 cat >>$CONFIG_STATUS <<\EOF 13070 cat >>$CONFIG_STATUS <<\EOF
13055 --version | --vers* | -V ) 13071 --version | --vers* | -V )
13056 echo "$ac_cs_version"; exit 0 ;; 13072 echo "$ac_cs_version"; exit 0 ;;
13057 --he | --h) 13073 --he | --h)
13058 # Conflict between --help and --header 13074 # Conflict between --help and --header
13059 { { echo "$as_me:13059: error: ambiguous option: $1 13075 { { echo "$as_me:13075: error: ambiguous option: $1
13060 Try \`$0 --help' for more information." >&5 13076 Try \`$0 --help' for more information." >&5
13061 echo "$as_me: error: ambiguous option: $1 13077 echo "$as_me: error: ambiguous option: $1
13062 Try \`$0 --help' for more information." >&2;} 13078 Try \`$0 --help' for more information." >&2;}
13063 { (exit 1); exit 1; }; };; 13079 { (exit 1); exit 1; }; };;
13064 --help | --hel | -h ) 13080 --help | --hel | -h )
13073 shift 13089 shift
13074 CONFIG_HEADERS="$CONFIG_HEADERS $1" 13090 CONFIG_HEADERS="$CONFIG_HEADERS $1"
13075 ac_need_defaults=false;; 13091 ac_need_defaults=false;;
13076 13092
13077 # This is an error. 13093 # This is an error.
13078 -*) { { echo "$as_me:13078: error: unrecognized option: $1 13094 -*) { { echo "$as_me:13094: error: unrecognized option: $1
13079 Try \`$0 --help' for more information." >&5 13095 Try \`$0 --help' for more information." >&5
13080 echo "$as_me: error: unrecognized option: $1 13096 echo "$as_me: error: unrecognized option: $1
13081 Try \`$0 --help' for more information." >&2;} 13097 Try \`$0 --help' for more information." >&2;}
13082 { (exit 1); exit 1; }; } ;; 13098 { (exit 1); exit 1; }; } ;;
13083 13099
13129 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; 13145 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
13130 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; 13146 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
13131 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 13147 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
13132 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 13148 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
13133 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 13149 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
13134 *) { { echo "$as_me:13134: error: invalid argument: $ac_config_target" >&5 13150 *) { { echo "$as_me:13150: error: invalid argument: $ac_config_target" >&5
13135 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13151 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13136 { (exit 1); exit 1; }; };; 13152 { (exit 1); exit 1; }; };;
13137 esac 13153 esac
13138 done 13154 done
13139 13155
13378 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13394 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13379 *) ac_INSTALL=$ac_dots$INSTALL ;; 13395 *) ac_INSTALL=$ac_dots$INSTALL ;;
13380 esac 13396 esac
13381 13397
13382 if test x"$ac_file" != x-; then 13398 if test x"$ac_file" != x-; then
13383 { echo "$as_me:13383: creating $ac_file" >&5 13399 { echo "$as_me:13399: creating $ac_file" >&5
13384 echo "$as_me: creating $ac_file" >&6;} 13400 echo "$as_me: creating $ac_file" >&6;}
13385 rm -f "$ac_file" 13401 rm -f "$ac_file"
13386 fi 13402 fi
13387 # Let's still pretend it is `configure' which instantiates (i.e., don't 13403 # Let's still pretend it is `configure' which instantiates (i.e., don't
13388 # use $as_me), people would be surprised to read: 13404 # use $as_me), people would be surprised to read:
13396 for f in $ac_file_in; do 13412 for f in $ac_file_in; do
13397 case $f in 13413 case $f in
13398 -) echo $tmp/stdin ;; 13414 -) echo $tmp/stdin ;;
13399 [\\/$]*) 13415 [\\/$]*)
13400 # Absolute (can't be DOS-style, as IFS=:) 13416 # Absolute (can't be DOS-style, as IFS=:)
13401 test -f "$f" || { { echo "$as_me:13401: error: cannot find input file: $f" >&5 13417 test -f "$f" || { { echo "$as_me:13417: error: cannot find input file: $f" >&5
13402 echo "$as_me: error: cannot find input file: $f" >&2;} 13418 echo "$as_me: error: cannot find input file: $f" >&2;}
13403 { (exit 1); exit 1; }; } 13419 { (exit 1); exit 1; }; }
13404 echo $f;; 13420 echo $f;;
13405 *) # Relative 13421 *) # Relative
13406 if test -f "$f"; then 13422 if test -f "$f"; then
13409 elif test -f "$srcdir/$f"; then 13425 elif test -f "$srcdir/$f"; then
13410 # Source tree 13426 # Source tree
13411 echo $srcdir/$f 13427 echo $srcdir/$f
13412 else 13428 else
13413 # /dev/null tree 13429 # /dev/null tree
13414 { { echo "$as_me:13414: error: cannot find input file: $f" >&5 13430 { { echo "$as_me:13430: error: cannot find input file: $f" >&5
13415 echo "$as_me: error: cannot find input file: $f" >&2;} 13431 echo "$as_me: error: cannot find input file: $f" >&2;}
13416 { (exit 1); exit 1; }; } 13432 { (exit 1); exit 1; }; }
13417 fi;; 13433 fi;;
13418 esac 13434 esac
13419 done` || { (exit 1); exit 1; } 13435 done` || { (exit 1); exit 1; }
13470 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 13486 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13471 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 13487 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13472 * ) ac_file_in=$ac_file.in ;; 13488 * ) ac_file_in=$ac_file.in ;;
13473 esac 13489 esac
13474 13490
13475 test x"$ac_file" != x- && { echo "$as_me:13475: creating $ac_file" >&5 13491 test x"$ac_file" != x- && { echo "$as_me:13491: creating $ac_file" >&5
13476 echo "$as_me: creating $ac_file" >&6;} 13492 echo "$as_me: creating $ac_file" >&6;}
13477 13493
13478 # First look for the input files in the build tree, otherwise in the 13494 # First look for the input files in the build tree, otherwise in the
13479 # src tree. 13495 # src tree.
13480 ac_file_inputs=`IFS=: 13496 ac_file_inputs=`IFS=:
13481 for f in $ac_file_in; do 13497 for f in $ac_file_in; do
13482 case $f in 13498 case $f in
13483 -) echo $tmp/stdin ;; 13499 -) echo $tmp/stdin ;;
13484 [\\/$]*) 13500 [\\/$]*)
13485 # Absolute (can't be DOS-style, as IFS=:) 13501 # Absolute (can't be DOS-style, as IFS=:)
13486 test -f "$f" || { { echo "$as_me:13486: error: cannot find input file: $f" >&5 13502 test -f "$f" || { { echo "$as_me:13502: error: cannot find input file: $f" >&5
13487 echo "$as_me: error: cannot find input file: $f" >&2;} 13503 echo "$as_me: error: cannot find input file: $f" >&2;}
13488 { (exit 1); exit 1; }; } 13504 { (exit 1); exit 1; }; }
13489 echo $f;; 13505 echo $f;;
13490 *) # Relative 13506 *) # Relative
13491 if test -f "$f"; then 13507 if test -f "$f"; then
13494 elif test -f "$srcdir/$f"; then 13510 elif test -f "$srcdir/$f"; then
13495 # Source tree 13511 # Source tree
13496 echo $srcdir/$f 13512 echo $srcdir/$f
13497 else 13513 else
13498 # /dev/null tree 13514 # /dev/null tree
13499 { { echo "$as_me:13499: error: cannot find input file: $f" >&5 13515 { { echo "$as_me:13515: error: cannot find input file: $f" >&5
13500 echo "$as_me: error: cannot find input file: $f" >&2;} 13516 echo "$as_me: error: cannot find input file: $f" >&2;}
13501 { (exit 1); exit 1; }; } 13517 { (exit 1); exit 1; }; }
13502 fi;; 13518 fi;;
13503 esac 13519 esac
13504 done` || { (exit 1); exit 1; } 13520 done` || { (exit 1); exit 1; }
13611 fi 13627 fi
13612 cat $tmp/in >>$tmp/config.h 13628 cat $tmp/in >>$tmp/config.h
13613 rm -f $tmp/in 13629 rm -f $tmp/in
13614 if test x"$ac_file" != x-; then 13630 if test x"$ac_file" != x-; then
13615 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 13631 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13616 { echo "$as_me:13616: $ac_file is unchanged" >&5 13632 { echo "$as_me:13632: $ac_file is unchanged" >&5
13617 echo "$as_me: $ac_file is unchanged" >&6;} 13633 echo "$as_me: $ac_file is unchanged" >&6;}
13618 else 13634 else
13619 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13635 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13620 X"$ac_file" : 'X\(//\)[^/]' \| \ 13636 X"$ac_file" : 'X\(//\)[^/]' \| \
13621 X"$ac_file" : 'X\(//\)$' \| \ 13637 X"$ac_file" : 'X\(//\)$' \| \