diff options
| author | Andreas Schwab | 2002-04-14 01:42:18 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2002-04-14 01:42:18 +0000 |
| commit | b936fae4324c4252ecb409ad5e4a39faacf2056c (patch) | |
| tree | 3b1bbd1f322ac4cfdb7f5a54ea2a26c5643696db | |
| parent | 5e7d772d7092e5667d423f37435d70a8f1df7bbd (diff) | |
| download | emacs-b936fae4324c4252ecb409ad5e4a39faacf2056c.tar.gz emacs-b936fae4324c4252ecb409ad5e4a39faacf2056c.zip | |
Regenerated.
| -rwxr-xr-x | configure | 1703 |
1 files changed, 122 insertions, 1581 deletions
| @@ -907,7 +907,7 @@ esac | |||
| 907 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 907 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 908 | # absolute. | 908 | # absolute. |
| 909 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 909 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 910 | ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | 910 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 911 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 911 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 912 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 912 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| 913 | 913 | ||
| @@ -1290,6 +1290,7 @@ _ACEOF | |||
| 1290 | 1290 | ||
| 1291 | fi; | 1291 | fi; |
| 1292 | 1292 | ||
| 1293 | |||
| 1293 | # Check whether --with-kerberos or --without-kerberos was given. | 1294 | # Check whether --with-kerberos or --without-kerberos was given. |
| 1294 | if test "${with_kerberos+set}" = set; then | 1295 | if test "${with_kerberos+set}" = set; then |
| 1295 | withval="$with_kerberos" | 1296 | withval="$with_kerberos" |
| @@ -1299,6 +1300,7 @@ _ACEOF | |||
| 1299 | 1300 | ||
| 1300 | fi; | 1301 | fi; |
| 1301 | 1302 | ||
| 1303 | |||
| 1302 | # Check whether --with-kerberos5 or --without-kerberos5 was given. | 1304 | # Check whether --with-kerberos5 or --without-kerberos5 was given. |
| 1303 | if test "${with_kerberos5+set}" = set; then | 1305 | if test "${with_kerberos5+set}" = set; then |
| 1304 | withval="$with_kerberos5" | 1306 | withval="$with_kerberos5" |
| @@ -1311,6 +1313,7 @@ _ACEOF | |||
| 1311 | 1313 | ||
| 1312 | fi | 1314 | fi |
| 1313 | fi | 1315 | fi |
| 1316 | |||
| 1314 | cat >>confdefs.h <<\_ACEOF | 1317 | cat >>confdefs.h <<\_ACEOF |
| 1315 | #define KERBEROS5 1 | 1318 | #define KERBEROS5 1 |
| 1316 | _ACEOF | 1319 | _ACEOF |
| @@ -1320,7 +1323,8 @@ fi; | |||
| 1320 | # Check whether --with-hesiod or --without-hesiod was given. | 1323 | # Check whether --with-hesiod or --without-hesiod was given. |
| 1321 | if test "${with_hesiod+set}" = set; then | 1324 | if test "${with_hesiod+set}" = set; then |
| 1322 | withval="$with_hesiod" | 1325 | withval="$with_hesiod" |
| 1323 | cat >>confdefs.h <<\_ACEOF | 1326 | |
| 1327 | cat >>confdefs.h <<\_ACEOF | ||
| 1324 | #define HESIOD 1 | 1328 | #define HESIOD 1 |
| 1325 | _ACEOF | 1329 | _ACEOF |
| 1326 | 1330 | ||
| @@ -5114,7 +5118,8 @@ fi | |||
| 5114 | echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 | 5118 | echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 |
| 5115 | echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 | 5119 | echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 |
| 5116 | if test $emacs_cv_struct_utimbuf = yes; then | 5120 | if test $emacs_cv_struct_utimbuf = yes; then |
| 5117 | cat >>confdefs.h <<\_ACEOF | 5121 | |
| 5122 | cat >>confdefs.h <<\_ACEOF | ||
| 5118 | #define HAVE_STRUCT_UTIMBUF 1 | 5123 | #define HAVE_STRUCT_UTIMBUF 1 |
| 5119 | _ACEOF | 5124 | _ACEOF |
| 5120 | 5125 | ||
| @@ -5228,7 +5233,8 @@ fi | |||
| 5228 | echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 | 5233 | echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 |
| 5229 | echo "${ECHO_T}$emacs_cv_speed_t" >&6 | 5234 | echo "${ECHO_T}$emacs_cv_speed_t" >&6 |
| 5230 | if test $emacs_cv_speed_t = yes; then | 5235 | if test $emacs_cv_speed_t = yes; then |
| 5231 | cat >>confdefs.h <<\_ACEOF | 5236 | |
| 5237 | cat >>confdefs.h <<\_ACEOF | ||
| 5232 | #define HAVE_SPEED_T 1 | 5238 | #define HAVE_SPEED_T 1 |
| 5233 | _ACEOF | 5239 | _ACEOF |
| 5234 | 5240 | ||
| @@ -5290,7 +5296,8 @@ echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 | |||
| 5290 | echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 | 5296 | echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 |
| 5291 | HAVE_TIMEVAL=$emacs_cv_struct_timeval | 5297 | HAVE_TIMEVAL=$emacs_cv_struct_timeval |
| 5292 | if test $emacs_cv_struct_timeval = yes; then | 5298 | if test $emacs_cv_struct_timeval = yes; then |
| 5293 | cat >>confdefs.h <<\_ACEOF | 5299 | |
| 5300 | cat >>confdefs.h <<\_ACEOF | ||
| 5294 | #define HAVE_TIMEVAL 1 | 5301 | #define HAVE_TIMEVAL 1 |
| 5295 | _ACEOF | 5302 | _ACEOF |
| 5296 | 5303 | ||
| @@ -5343,7 +5350,8 @@ echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 | |||
| 5343 | echo "${ECHO_T}$emacs_cv_struct_exception" >&6 | 5350 | echo "${ECHO_T}$emacs_cv_struct_exception" >&6 |
| 5344 | HAVE_EXCEPTION=$emacs_cv_struct_exception | 5351 | HAVE_EXCEPTION=$emacs_cv_struct_exception |
| 5345 | if test $emacs_cv_struct_exception != yes; then | 5352 | if test $emacs_cv_struct_exception != yes; then |
| 5346 | cat >>confdefs.h <<\_ACEOF | 5353 | |
| 5354 | cat >>confdefs.h <<\_ACEOF | ||
| 5347 | #define NO_MATHERR 1 | 5355 | #define NO_MATHERR 1 |
| 5348 | _ACEOF | 5356 | _ACEOF |
| 5349 | 5357 | ||
| @@ -5528,15 +5536,16 @@ _ACEOF | |||
| 5528 | fi | 5536 | fi |
| 5529 | fi | 5537 | fi |
| 5530 | 5538 | ||
| 5531 | echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5 | 5539 | echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 |
| 5532 | echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 | 5540 | echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 |
| 5533 | if test "${emacs_cv_tm_gmtoff+set}" = set; then | 5541 | if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then |
| 5534 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5542 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5535 | else | 5543 | else |
| 5536 | cat >conftest.$ac_ext <<_ACEOF | 5544 | cat >conftest.$ac_ext <<_ACEOF |
| 5537 | #line $LINENO "configure" | 5545 | #line $LINENO "configure" |
| 5538 | #include "confdefs.h" | 5546 | #include "confdefs.h" |
| 5539 | #include <time.h> | 5547 | #include <time.h> |
| 5548 | |||
| 5540 | #ifdef F77_DUMMY_MAIN | 5549 | #ifdef F77_DUMMY_MAIN |
| 5541 | # ifdef __cplusplus | 5550 | # ifdef __cplusplus |
| 5542 | extern "C" | 5551 | extern "C" |
| @@ -5546,41 +5555,45 @@ else | |||
| 5546 | int | 5555 | int |
| 5547 | main () | 5556 | main () |
| 5548 | { | 5557 | { |
| 5549 | struct tm t; t.tm_gmtoff = 0 | 5558 | static struct tm ac_aggr; |
| 5559 | if (ac_aggr.tm_gmtoff) | ||
| 5560 | return 0; | ||
| 5550 | ; | 5561 | ; |
| 5551 | return 0; | 5562 | return 0; |
| 5552 | } | 5563 | } |
| 5553 | _ACEOF | 5564 | _ACEOF |
| 5554 | rm -f conftest.$ac_objext conftest$ac_exeext | 5565 | rm -f conftest.$ac_objext |
| 5555 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5566 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5556 | (eval $ac_link) 2>&5 | 5567 | (eval $ac_compile) 2>&5 |
| 5557 | ac_status=$? | 5568 | ac_status=$? |
| 5558 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5559 | (exit $ac_status); } && | 5570 | (exit $ac_status); } && |
| 5560 | { ac_try='test -s conftest$ac_exeext' | 5571 | { ac_try='test -s conftest.$ac_objext' |
| 5561 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5572 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 5562 | (eval $ac_try) 2>&5 | 5573 | (eval $ac_try) 2>&5 |
| 5563 | ac_status=$? | 5574 | ac_status=$? |
| 5564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5575 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5565 | (exit $ac_status); }; }; then | 5576 | (exit $ac_status); }; }; then |
| 5566 | emacs_cv_tm_gmtoff=yes | 5577 | ac_cv_member_struct_tm_tm_gmtoff=yes |
| 5567 | else | 5578 | else |
| 5568 | echo "$as_me: failed program was:" >&5 | 5579 | echo "$as_me: failed program was:" >&5 |
| 5569 | cat conftest.$ac_ext >&5 | 5580 | cat conftest.$ac_ext >&5 |
| 5570 | emacs_cv_tm_gmtoff=no | 5581 | ac_cv_member_struct_tm_tm_gmtoff=no |
| 5571 | fi | 5582 | fi |
| 5572 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5583 | rm -f conftest.$ac_objext conftest.$ac_ext |
| 5573 | fi | 5584 | fi |
| 5574 | echo "$as_me:$LINENO: result: $emacs_cv_tm_gmtoff" >&5 | 5585 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 |
| 5575 | echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6 | 5586 | echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 |
| 5576 | if test $emacs_cv_tm_gmtoff = yes; then | 5587 | if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then |
| 5577 | cat >>confdefs.h <<\_ACEOF | 5588 | |
| 5589 | cat >>confdefs.h <<\_ACEOF | ||
| 5578 | #define HAVE_TM_GMTOFF 1 | 5590 | #define HAVE_TM_GMTOFF 1 |
| 5579 | _ACEOF | 5591 | _ACEOF |
| 5580 | 5592 | ||
| 5581 | fi | 5593 | fi |
| 5582 | 5594 | ||
| 5583 | 5595 | ||
| 5596 | |||
| 5584 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 5597 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 5585 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 5598 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 5586 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 5599 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| @@ -5909,6 +5922,7 @@ _ACEOF | |||
| 5909 | 5922 | ||
| 5910 | fi | 5923 | fi |
| 5911 | 5924 | ||
| 5925 | |||
| 5912 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 5926 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 5913 | echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 | 5927 | echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
| 5914 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | 5928 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
| @@ -6001,8 +6015,9 @@ echo "${ECHO_T}yes" >&6 | |||
| 6001 | if test "$gamedir" = "yes"; then | 6015 | if test "$gamedir" = "yes"; then |
| 6002 | gamedir="${localstatedir}/games/emacs" | 6016 | gamedir="${localstatedir}/games/emacs" |
| 6003 | fi | 6017 | fi |
| 6004 | tgamedir=`eval "echo $gamedir"` | 6018 | eval tgamedir=\"$gamedir\" |
| 6005 | cat >>confdefs.h <<_ACEOF | 6019 | |
| 6020 | cat >>confdefs.h <<_ACEOF | ||
| 6006 | #define HAVE_SHARED_GAME_DIR "$tgamedir" | 6021 | #define HAVE_SHARED_GAME_DIR "$tgamedir" |
| 6007 | _ACEOF | 6022 | _ACEOF |
| 6008 | 6023 | ||
| @@ -6526,7 +6541,8 @@ if test "$doug_lea_malloc" = "yes" ; then | |||
| 6526 | GNU_MALLOC_reason=" | 6541 | GNU_MALLOC_reason=" |
| 6527 | (Using Doug Lea's new malloc from the GNU C Library.)" | 6542 | (Using Doug Lea's new malloc from the GNU C Library.)" |
| 6528 | fi | 6543 | fi |
| 6529 | cat >>confdefs.h <<\_ACEOF | 6544 | |
| 6545 | cat >>confdefs.h <<\_ACEOF | ||
| 6530 | #define DOUG_LEA_MALLOC 1 | 6546 | #define DOUG_LEA_MALLOC 1 |
| 6531 | _ACEOF | 6547 | _ACEOF |
| 6532 | 6548 | ||
| @@ -7273,7 +7289,8 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |||
| 7273 | echo "$as_me:$LINENO: result: $emacs_xkb" >&5 | 7289 | echo "$as_me:$LINENO: result: $emacs_xkb" >&5 |
| 7274 | echo "${ECHO_T}$emacs_xkb" >&6 | 7290 | echo "${ECHO_T}$emacs_xkb" >&6 |
| 7275 | if test $emacs_xkb = yes; then | 7291 | if test $emacs_xkb = yes; then |
| 7276 | cat >>confdefs.h <<\_ACEOF | 7292 | |
| 7293 | cat >>confdefs.h <<\_ACEOF | ||
| 7277 | #define HAVE_XKBGETKEYBOARD 1 | 7294 | #define HAVE_XKBGETKEYBOARD 1 |
| 7278 | _ACEOF | 7295 | _ACEOF |
| 7279 | 7296 | ||
| @@ -7412,7 +7429,8 @@ fi | |||
| 7412 | if test $emacs_cv_x11_version_6 = yes; then | 7429 | if test $emacs_cv_x11_version_6 = yes; then |
| 7413 | echo "$as_me:$LINENO: result: 6 or newer" >&5 | 7430 | echo "$as_me:$LINENO: result: 6 or newer" >&5 |
| 7414 | echo "${ECHO_T}6 or newer" >&6 | 7431 | echo "${ECHO_T}6 or newer" >&6 |
| 7415 | cat >>confdefs.h <<\_ACEOF | 7432 | |
| 7433 | cat >>confdefs.h <<\_ACEOF | ||
| 7416 | #define HAVE_X11R6 1 | 7434 | #define HAVE_X11R6 1 |
| 7417 | _ACEOF | 7435 | _ACEOF |
| 7418 | 7436 | ||
| @@ -7474,7 +7492,8 @@ fi | |||
| 7474 | echo "$as_me:$LINENO: result: 5 or newer" >&5 | 7492 | echo "$as_me:$LINENO: result: 5 or newer" >&5 |
| 7475 | echo "${ECHO_T}5 or newer" >&6 | 7493 | echo "${ECHO_T}5 or newer" >&6 |
| 7476 | HAVE_X11R5=yes | 7494 | HAVE_X11R5=yes |
| 7477 | cat >>confdefs.h <<\_ACEOF | 7495 | |
| 7496 | cat >>confdefs.h <<\_ACEOF | ||
| 7478 | #define HAVE_X11R5 1 | 7497 | #define HAVE_X11R5 1 |
| 7479 | _ACEOF | 7498 | _ACEOF |
| 7480 | 7499 | ||
| @@ -7601,7 +7620,8 @@ fi | |||
| 7601 | if test $emacs_cv_x11_toolkit_version_6 = yes; then | 7620 | if test $emacs_cv_x11_toolkit_version_6 = yes; then |
| 7602 | echo "$as_me:$LINENO: result: 6 or newer" >&5 | 7621 | echo "$as_me:$LINENO: result: 6 or newer" >&5 |
| 7603 | echo "${ECHO_T}6 or newer" >&6 | 7622 | echo "${ECHO_T}6 or newer" >&6 |
| 7604 | cat >>confdefs.h <<\_ACEOF | 7623 | |
| 7624 | cat >>confdefs.h <<\_ACEOF | ||
| 7605 | #define HAVE_X11XTR6 1 | 7625 | #define HAVE_X11XTR6 1 |
| 7606 | _ACEOF | 7626 | _ACEOF |
| 7607 | 7627 | ||
| @@ -7808,7 +7828,8 @@ echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 | |||
| 7808 | HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 | 7828 | HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 |
| 7809 | if test $emacs_cv_motif_version_2_1 = yes; then | 7829 | if test $emacs_cv_motif_version_2_1 = yes; then |
| 7810 | HAVE_LIBXP=no | 7830 | HAVE_LIBXP=no |
| 7811 | cat >>confdefs.h <<\_ACEOF | 7831 | |
| 7832 | cat >>confdefs.h <<\_ACEOF | ||
| 7812 | #define HAVE_MOTIF_2_1 1 | 7833 | #define HAVE_MOTIF_2_1 1 |
| 7813 | _ACEOF | 7834 | _ACEOF |
| 7814 | 7835 | ||
| @@ -7872,7 +7893,8 @@ if test $ac_cv_lib_Xp_XpCreateContext = yes; then | |||
| 7872 | fi | 7893 | fi |
| 7873 | 7894 | ||
| 7874 | if test ${HAVE_LIBXP} = yes; then | 7895 | if test ${HAVE_LIBXP} = yes; then |
| 7875 | cat >>confdefs.h <<\_ACEOF | 7896 | |
| 7897 | cat >>confdefs.h <<\_ACEOF | ||
| 7876 | #define HAVE_LIBXP 1 | 7898 | #define HAVE_LIBXP 1 |
| 7877 | _ACEOF | 7899 | _ACEOF |
| 7878 | 7900 | ||
| @@ -8049,7 +8071,8 @@ fi | |||
| 8049 | 8071 | ||
| 8050 | 8072 | ||
| 8051 | if test "${HAVE_XAW3D}" = "yes"; then | 8073 | if test "${HAVE_XAW3D}" = "yes"; then |
| 8052 | cat >>confdefs.h <<\_ACEOF | 8074 | |
| 8075 | cat >>confdefs.h <<\_ACEOF | ||
| 8053 | #define HAVE_XAW3D 1 | 8076 | #define HAVE_XAW3D 1 |
| 8054 | _ACEOF | 8077 | _ACEOF |
| 8055 | 8078 | ||
| @@ -8058,6 +8081,7 @@ _ACEOF | |||
| 8058 | fi | 8081 | fi |
| 8059 | 8082 | ||
| 8060 | 8083 | ||
| 8084 | |||
| 8061 | USE_TOOLKIT_SCROLL_BARS=no | 8085 | USE_TOOLKIT_SCROLL_BARS=no |
| 8062 | if test "${with_toolkit_scroll_bars}" != "no"; then | 8086 | if test "${with_toolkit_scroll_bars}" != "no"; then |
| 8063 | if test "${USE_X_TOOLKIT}" != "none"; then | 8087 | if test "${USE_X_TOOLKIT}" != "none"; then |
| @@ -8080,7 +8104,8 @@ fi | |||
| 8080 | 8104 | ||
| 8081 | 8105 | ||
| 8082 | if test "${with_xim}" != "no"; then | 8106 | if test "${with_xim}" != "no"; then |
| 8083 | cat >>confdefs.h <<\_ACEOF | 8107 | |
| 8108 | cat >>confdefs.h <<\_ACEOF | ||
| 8084 | #define USE_XIM 1 | 8109 | #define USE_XIM 1 |
| 8085 | _ACEOF | 8110 | _ACEOF |
| 8086 | 8111 | ||
| @@ -8286,7 +8311,8 @@ echo "${ECHO_T}no" >&6 | |||
| 8286 | fi | 8311 | fi |
| 8287 | 8312 | ||
| 8288 | if test "${HAVE_XPM}" = "yes"; then | 8313 | if test "${HAVE_XPM}" = "yes"; then |
| 8289 | cat >>confdefs.h <<\_ACEOF | 8314 | |
| 8315 | cat >>confdefs.h <<\_ACEOF | ||
| 8290 | #define HAVE_XPM 1 | 8316 | #define HAVE_XPM 1 |
| 8291 | _ACEOF | 8317 | _ACEOF |
| 8292 | 8318 | ||
| @@ -8463,6 +8489,7 @@ fi | |||
| 8463 | 8489 | ||
| 8464 | fi | 8490 | fi |
| 8465 | 8491 | ||
| 8492 | |||
| 8466 | if test "${HAVE_JPEG}" = "yes"; then | 8493 | if test "${HAVE_JPEG}" = "yes"; then |
| 8467 | cat >>confdefs.h <<\_ACEOF | 8494 | cat >>confdefs.h <<\_ACEOF |
| 8468 | #define HAVE_JPEG 1 | 8495 | #define HAVE_JPEG 1 |
| @@ -8662,7 +8689,8 @@ fi | |||
| 8662 | fi | 8689 | fi |
| 8663 | 8690 | ||
| 8664 | if test "${HAVE_PNG}" = "yes"; then | 8691 | if test "${HAVE_PNG}" = "yes"; then |
| 8665 | cat >>confdefs.h <<\_ACEOF | 8692 | |
| 8693 | cat >>confdefs.h <<\_ACEOF | ||
| 8666 | #define HAVE_PNG 1 | 8694 | #define HAVE_PNG 1 |
| 8667 | _ACEOF | 8695 | _ACEOF |
| 8668 | 8696 | ||
| @@ -8843,7 +8871,8 @@ fi | |||
| 8843 | fi | 8871 | fi |
| 8844 | 8872 | ||
| 8845 | if test "${HAVE_TIFF}" = "yes"; then | 8873 | if test "${HAVE_TIFF}" = "yes"; then |
| 8846 | cat >>confdefs.h <<\_ACEOF | 8874 | |
| 8875 | cat >>confdefs.h <<\_ACEOF | ||
| 8847 | #define HAVE_TIFF 1 | 8876 | #define HAVE_TIFF 1 |
| 8848 | _ACEOF | 8877 | _ACEOF |
| 8849 | 8878 | ||
| @@ -9023,7 +9052,8 @@ fi | |||
| 9023 | fi | 9052 | fi |
| 9024 | 9053 | ||
| 9025 | if test "${HAVE_GIF}" = "yes"; then | 9054 | if test "${HAVE_GIF}" = "yes"; then |
| 9026 | cat >>confdefs.h <<\_ACEOF | 9055 | |
| 9056 | cat >>confdefs.h <<\_ACEOF | ||
| 9027 | #define HAVE_GIF 1 | 9057 | #define HAVE_GIF 1 |
| 9028 | _ACEOF | 9058 | _ACEOF |
| 9029 | 9059 | ||
| @@ -9201,7 +9231,8 @@ fi | |||
| 9201 | 9231 | ||
| 9202 | 9232 | ||
| 9203 | if test "${HAVE_X_SM}" = "yes"; then | 9233 | if test "${HAVE_X_SM}" = "yes"; then |
| 9204 | cat >>confdefs.h <<\_ACEOF | 9234 | |
| 9235 | cat >>confdefs.h <<\_ACEOF | ||
| 9205 | #define HAVE_X_SM 1 | 9236 | #define HAVE_X_SM 1 |
| 9206 | _ACEOF | 9237 | _ACEOF |
| 9207 | 9238 | ||
| @@ -9259,7 +9290,8 @@ fi | |||
| 9259 | echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 | 9290 | echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 |
| 9260 | echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 | 9291 | echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 |
| 9261 | if test $emacs_cv_netdb_declares_h_errno = yes; then | 9292 | if test $emacs_cv_netdb_declares_h_errno = yes; then |
| 9262 | cat >>confdefs.h <<\_ACEOF | 9293 | |
| 9294 | cat >>confdefs.h <<\_ACEOF | ||
| 9263 | #define HAVE_H_ERRNO 1 | 9295 | #define HAVE_H_ERRNO 1 |
| 9264 | _ACEOF | 9296 | _ACEOF |
| 9265 | 9297 | ||
| @@ -9788,7 +9820,8 @@ else | |||
| 9788 | ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 9820 | ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
| 9789 | else | 9821 | else |
| 9790 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9822 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 9791 | for as_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH | 9823 | as_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH" |
| 9824 | for as_dir in $as_dummy | ||
| 9792 | do | 9825 | do |
| 9793 | IFS=$as_save_IFS | 9826 | IFS=$as_save_IFS |
| 9794 | test -z "$as_dir" && as_dir=. | 9827 | test -z "$as_dir" && as_dir=. |
| @@ -9821,7 +9854,8 @@ echo "$as_me: error: Shared liblockfile found but can't link against it. | |||
| 9821 | This probably means that movemail could lose mail. | 9854 | This probably means that movemail could lose mail. |
| 9822 | There may be a \`development' package to install containing liblockfile." >&2;} | 9855 | There may be a \`development' package to install containing liblockfile." >&2;} |
| 9823 | { (exit 1); exit 1; }; } | 9856 | { (exit 1); exit 1; }; } |
| 9824 | else cat >>confdefs.h <<\_ACEOF | 9857 | else |
| 9858 | cat >>confdefs.h <<\_ACEOF | ||
| 9825 | #define LIBMAIL -llockfile | 9859 | #define LIBMAIL -llockfile |
| 9826 | _ACEOF | 9860 | _ACEOF |
| 9827 | 9861 | ||
| @@ -10649,1533 +10683,12 @@ if test $ac_cv_func_working_mktime = no; then | |||
| 10649 | fi | 10683 | fi |
| 10650 | 10684 | ||
| 10651 | if test "$ac_cv_func_working_mktime" = no; then | 10685 | if test "$ac_cv_func_working_mktime" = no; then |
| 10652 | cat >>confdefs.h <<\_ACEOF | ||
| 10653 | #define BROKEN_MKTIME 1 | ||
| 10654 | _ACEOF | ||
| 10655 | |||
| 10656 | fi | ||
| 10657 | |||
| 10658 | ac_have_func=no # yes means we've found a way to get the load average. | ||
| 10659 | |||
| 10660 | ac_save_LIBS=$LIBS | ||
| 10661 | |||
| 10662 | # Check for getloadavg, but be sure not to touch the cache variable. | ||
| 10663 | (echo "$as_me:$LINENO: checking for getloadavg" >&5 | ||
| 10664 | echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 | ||
| 10665 | if test "${ac_cv_func_getloadavg+set}" = set; then | ||
| 10666 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 10667 | else | ||
| 10668 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10669 | #line $LINENO "configure" | ||
| 10670 | #include "confdefs.h" | ||
| 10671 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10672 | which can conflict with char getloadavg (); below. */ | ||
| 10673 | #include <assert.h> | ||
| 10674 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 10675 | #ifdef __cplusplus | ||
| 10676 | extern "C" | ||
| 10677 | #endif | ||
| 10678 | /* We use char because int might match the return type of a gcc2 | ||
| 10679 | builtin and then its argument prototype would still apply. */ | ||
| 10680 | char getloadavg (); | ||
| 10681 | char (*f) (); | ||
| 10682 | |||
| 10683 | #ifdef F77_DUMMY_MAIN | ||
| 10684 | # ifdef __cplusplus | ||
| 10685 | extern "C" | ||
| 10686 | # endif | ||
| 10687 | int F77_DUMMY_MAIN() { return 1; } | ||
| 10688 | #endif | ||
| 10689 | int | ||
| 10690 | main () | ||
| 10691 | { | ||
| 10692 | /* The GNU C library defines this for functions which it implements | ||
| 10693 | to always fail with ENOSYS. Some functions are actually named | ||
| 10694 | something starting with __ and the normal name is an alias. */ | ||
| 10695 | #if defined (__stub_getloadavg) || defined (__stub___getloadavg) | ||
| 10696 | choke me | ||
| 10697 | #else | ||
| 10698 | f = getloadavg; | ||
| 10699 | #endif | ||
| 10700 | |||
| 10701 | ; | ||
| 10702 | return 0; | ||
| 10703 | } | ||
| 10704 | _ACEOF | ||
| 10705 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10706 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 10707 | (eval $ac_link) 2>&5 | ||
| 10708 | ac_status=$? | ||
| 10709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10710 | (exit $ac_status); } && | ||
| 10711 | { ac_try='test -s conftest$ac_exeext' | ||
| 10712 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10713 | (eval $ac_try) 2>&5 | ||
| 10714 | ac_status=$? | ||
| 10715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10716 | (exit $ac_status); }; }; then | ||
| 10717 | ac_cv_func_getloadavg=yes | ||
| 10718 | else | ||
| 10719 | echo "$as_me: failed program was:" >&5 | ||
| 10720 | cat conftest.$ac_ext >&5 | ||
| 10721 | ac_cv_func_getloadavg=no | ||
| 10722 | fi | ||
| 10723 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 10724 | fi | ||
| 10725 | echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 | ||
| 10726 | echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 | ||
| 10727 | if test $ac_cv_func_getloadavg = yes; then | ||
| 10728 | exit 0 | ||
| 10729 | else | ||
| 10730 | exit 1 | ||
| 10731 | fi | ||
| 10732 | ) && ac_have_func=yes | ||
| 10733 | |||
| 10734 | # On HPUX9, an unprivileged user can get load averages through this function. | ||
| 10735 | |||
| 10736 | for ac_func in pstat_getdynamic | ||
| 10737 | do | ||
| 10738 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 10739 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 10740 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
| 10741 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
| 10742 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 10743 | else | ||
| 10744 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10745 | #line $LINENO "configure" | ||
| 10746 | #include "confdefs.h" | ||
| 10747 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 10748 | which can conflict with char $ac_func (); below. */ | ||
| 10749 | #include <assert.h> | ||
| 10750 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 10751 | #ifdef __cplusplus | ||
| 10752 | extern "C" | ||
| 10753 | #endif | ||
| 10754 | /* We use char because int might match the return type of a gcc2 | ||
| 10755 | builtin and then its argument prototype would still apply. */ | ||
| 10756 | char $ac_func (); | ||
| 10757 | char (*f) (); | ||
| 10758 | |||
| 10759 | #ifdef F77_DUMMY_MAIN | ||
| 10760 | # ifdef __cplusplus | ||
| 10761 | extern "C" | ||
| 10762 | # endif | ||
| 10763 | int F77_DUMMY_MAIN() { return 1; } | ||
| 10764 | #endif | ||
| 10765 | int | ||
| 10766 | main () | ||
| 10767 | { | ||
| 10768 | /* The GNU C library defines this for functions which it implements | ||
| 10769 | to always fail with ENOSYS. Some functions are actually named | ||
| 10770 | something starting with __ and the normal name is an alias. */ | ||
| 10771 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
| 10772 | choke me | ||
| 10773 | #else | ||
| 10774 | f = $ac_func; | ||
| 10775 | #endif | ||
| 10776 | |||
| 10777 | ; | ||
| 10778 | return 0; | ||
| 10779 | } | ||
| 10780 | _ACEOF | ||
| 10781 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10782 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 10783 | (eval $ac_link) 2>&5 | ||
| 10784 | ac_status=$? | ||
| 10785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10786 | (exit $ac_status); } && | ||
| 10787 | { ac_try='test -s conftest$ac_exeext' | ||
| 10788 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10789 | (eval $ac_try) 2>&5 | ||
| 10790 | ac_status=$? | ||
| 10791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10792 | (exit $ac_status); }; }; then | ||
| 10793 | eval "$as_ac_var=yes" | ||
| 10794 | else | ||
| 10795 | echo "$as_me: failed program was:" >&5 | ||
| 10796 | cat conftest.$ac_ext >&5 | ||
| 10797 | eval "$as_ac_var=no" | ||
| 10798 | fi | ||
| 10799 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 10800 | fi | ||
| 10801 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
| 10802 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
| 10803 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
| 10804 | cat >>confdefs.h <<_ACEOF | ||
| 10805 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
| 10806 | _ACEOF | ||
| 10807 | |||
| 10808 | fi | ||
| 10809 | done | ||
| 10810 | |||
| 10811 | |||
| 10812 | # Solaris has libkstat which does not require root. | ||
| 10813 | |||
| 10814 | echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 | ||
| 10815 | echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 | ||
| 10816 | if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then | ||
| 10817 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 10818 | else | ||
| 10819 | ac_check_lib_save_LIBS=$LIBS | ||
| 10820 | LIBS="-lkstat $LIBS" | ||
| 10821 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10822 | #line $LINENO "configure" | ||
| 10823 | #include "confdefs.h" | ||
| 10824 | |||
| 10825 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 10826 | #ifdef __cplusplus | ||
| 10827 | extern "C" | ||
| 10828 | #endif | ||
| 10829 | /* We use char because int might match the return type of a gcc2 | ||
| 10830 | builtin and then its argument prototype would still apply. */ | ||
| 10831 | char kstat_open (); | ||
| 10832 | #ifdef F77_DUMMY_MAIN | ||
| 10833 | # ifdef __cplusplus | ||
| 10834 | extern "C" | ||
| 10835 | # endif | ||
| 10836 | int F77_DUMMY_MAIN() { return 1; } | ||
| 10837 | #endif | ||
| 10838 | int | ||
| 10839 | main () | ||
| 10840 | { | ||
| 10841 | kstat_open (); | ||
| 10842 | ; | ||
| 10843 | return 0; | ||
| 10844 | } | ||
| 10845 | _ACEOF | ||
| 10846 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10847 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 10848 | (eval $ac_link) 2>&5 | ||
| 10849 | ac_status=$? | ||
| 10850 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10851 | (exit $ac_status); } && | ||
| 10852 | { ac_try='test -s conftest$ac_exeext' | ||
| 10853 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10854 | (eval $ac_try) 2>&5 | ||
| 10855 | ac_status=$? | ||
| 10856 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10857 | (exit $ac_status); }; }; then | ||
| 10858 | ac_cv_lib_kstat_kstat_open=yes | ||
| 10859 | else | ||
| 10860 | echo "$as_me: failed program was:" >&5 | ||
| 10861 | cat conftest.$ac_ext >&5 | ||
| 10862 | ac_cv_lib_kstat_kstat_open=no | ||
| 10863 | fi | ||
| 10864 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 10865 | LIBS=$ac_check_lib_save_LIBS | ||
| 10866 | fi | ||
| 10867 | echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 | ||
| 10868 | echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 | ||
| 10869 | if test $ac_cv_lib_kstat_kstat_open = yes; then | ||
| 10870 | cat >>confdefs.h <<_ACEOF | ||
| 10871 | #define HAVE_LIBKSTAT 1 | ||
| 10872 | _ACEOF | ||
| 10873 | |||
| 10874 | LIBS="-lkstat $LIBS" | ||
| 10875 | |||
| 10876 | fi | ||
| 10877 | |||
| 10878 | test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes | ||
| 10879 | |||
| 10880 | # Some systems with -lutil have (and need) -lkvm as well, some do not. | ||
| 10881 | # On Solaris, -lkvm requires nlist from -lelf, so check that first | ||
| 10882 | # to get the right answer into the cache. | ||
| 10883 | # For kstat on solaris, we need libelf to force the definition of SVR4 below. | ||
| 10884 | if test $ac_have_func = no; then | ||
| 10885 | echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 | ||
| 10886 | echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 | ||
| 10887 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | ||
| 10888 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 10889 | else | ||
| 10890 | ac_check_lib_save_LIBS=$LIBS | ||
| 10891 | LIBS="-lelf $LIBS" | ||
| 10892 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10893 | #line $LINENO "configure" | ||
| 10894 | #include "confdefs.h" | ||
| 10895 | |||
| 10896 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 10897 | #ifdef __cplusplus | ||
| 10898 | extern "C" | ||
| 10899 | #endif | ||
| 10900 | /* We use char because int might match the return type of a gcc2 | ||
| 10901 | builtin and then its argument prototype would still apply. */ | ||
| 10902 | char elf_begin (); | ||
| 10903 | #ifdef F77_DUMMY_MAIN | ||
| 10904 | # ifdef __cplusplus | ||
| 10905 | extern "C" | ||
| 10906 | # endif | ||
| 10907 | int F77_DUMMY_MAIN() { return 1; } | ||
| 10908 | #endif | ||
| 10909 | int | ||
| 10910 | main () | ||
| 10911 | { | ||
| 10912 | elf_begin (); | ||
| 10913 | ; | ||
| 10914 | return 0; | ||
| 10915 | } | ||
| 10916 | _ACEOF | ||
| 10917 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10918 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 10919 | (eval $ac_link) 2>&5 | ||
| 10920 | ac_status=$? | ||
| 10921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10922 | (exit $ac_status); } && | ||
| 10923 | { ac_try='test -s conftest$ac_exeext' | ||
| 10924 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10925 | (eval $ac_try) 2>&5 | ||
| 10926 | ac_status=$? | ||
| 10927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10928 | (exit $ac_status); }; }; then | ||
| 10929 | ac_cv_lib_elf_elf_begin=yes | ||
| 10930 | else | ||
| 10931 | echo "$as_me: failed program was:" >&5 | ||
| 10932 | cat conftest.$ac_ext >&5 | ||
| 10933 | ac_cv_lib_elf_elf_begin=no | ||
| 10934 | fi | ||
| 10935 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 10936 | LIBS=$ac_check_lib_save_LIBS | ||
| 10937 | fi | ||
| 10938 | echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 | ||
| 10939 | echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 | ||
| 10940 | if test $ac_cv_lib_elf_elf_begin = yes; then | ||
| 10941 | LIBS="-lelf $LIBS" | ||
| 10942 | fi | ||
| 10943 | |||
| 10944 | fi | ||
| 10945 | if test $ac_have_func = no; then | ||
| 10946 | echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 | ||
| 10947 | echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 | ||
| 10948 | if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then | ||
| 10949 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 10950 | else | ||
| 10951 | ac_check_lib_save_LIBS=$LIBS | ||
| 10952 | LIBS="-lkvm $LIBS" | ||
| 10953 | cat >conftest.$ac_ext <<_ACEOF | ||
| 10954 | #line $LINENO "configure" | ||
| 10955 | #include "confdefs.h" | ||
| 10956 | |||
| 10957 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 10958 | #ifdef __cplusplus | ||
| 10959 | extern "C" | ||
| 10960 | #endif | ||
| 10961 | /* We use char because int might match the return type of a gcc2 | ||
| 10962 | builtin and then its argument prototype would still apply. */ | ||
| 10963 | char kvm_open (); | ||
| 10964 | #ifdef F77_DUMMY_MAIN | ||
| 10965 | # ifdef __cplusplus | ||
| 10966 | extern "C" | ||
| 10967 | # endif | ||
| 10968 | int F77_DUMMY_MAIN() { return 1; } | ||
| 10969 | #endif | ||
| 10970 | int | ||
| 10971 | main () | ||
| 10972 | { | ||
| 10973 | kvm_open (); | ||
| 10974 | ; | ||
| 10975 | return 0; | ||
| 10976 | } | ||
| 10977 | _ACEOF | ||
| 10978 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 10979 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 10980 | (eval $ac_link) 2>&5 | ||
| 10981 | ac_status=$? | ||
| 10982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10983 | (exit $ac_status); } && | ||
| 10984 | { ac_try='test -s conftest$ac_exeext' | ||
| 10985 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10986 | (eval $ac_try) 2>&5 | ||
| 10987 | ac_status=$? | ||
| 10988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10989 | (exit $ac_status); }; }; then | ||
| 10990 | ac_cv_lib_kvm_kvm_open=yes | ||
| 10991 | else | ||
| 10992 | echo "$as_me: failed program was:" >&5 | ||
| 10993 | cat conftest.$ac_ext >&5 | ||
| 10994 | ac_cv_lib_kvm_kvm_open=no | ||
| 10995 | fi | ||
| 10996 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 10997 | LIBS=$ac_check_lib_save_LIBS | ||
| 10998 | fi | ||
| 10999 | echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 | ||
| 11000 | echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 | ||
| 11001 | if test $ac_cv_lib_kvm_kvm_open = yes; then | ||
| 11002 | LIBS="-lkvm $LIBS" | ||
| 11003 | fi | ||
| 11004 | |||
| 11005 | # Check for the 4.4BSD definition of getloadavg. | ||
| 11006 | echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 | ||
| 11007 | echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 | ||
| 11008 | if test "${ac_cv_lib_util_getloadavg+set}" = set; then | ||
| 11009 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11010 | else | ||
| 11011 | ac_check_lib_save_LIBS=$LIBS | ||
| 11012 | LIBS="-lutil $LIBS" | ||
| 11013 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11014 | #line $LINENO "configure" | ||
| 11015 | #include "confdefs.h" | ||
| 11016 | |||
| 11017 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 11018 | #ifdef __cplusplus | ||
| 11019 | extern "C" | ||
| 11020 | #endif | ||
| 11021 | /* We use char because int might match the return type of a gcc2 | ||
| 11022 | builtin and then its argument prototype would still apply. */ | ||
| 11023 | char getloadavg (); | ||
| 11024 | #ifdef F77_DUMMY_MAIN | ||
| 11025 | # ifdef __cplusplus | ||
| 11026 | extern "C" | ||
| 11027 | # endif | ||
| 11028 | int F77_DUMMY_MAIN() { return 1; } | ||
| 11029 | #endif | ||
| 11030 | int | ||
| 11031 | main () | ||
| 11032 | { | ||
| 11033 | getloadavg (); | ||
| 11034 | ; | ||
| 11035 | return 0; | ||
| 11036 | } | ||
| 11037 | _ACEOF | ||
| 11038 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11039 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 11040 | (eval $ac_link) 2>&5 | ||
| 11041 | ac_status=$? | ||
| 11042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11043 | (exit $ac_status); } && | ||
| 11044 | { ac_try='test -s conftest$ac_exeext' | ||
| 11045 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11046 | (eval $ac_try) 2>&5 | ||
| 11047 | ac_status=$? | ||
| 11048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11049 | (exit $ac_status); }; }; then | ||
| 11050 | ac_cv_lib_util_getloadavg=yes | ||
| 11051 | else | ||
| 11052 | echo "$as_me: failed program was:" >&5 | ||
| 11053 | cat conftest.$ac_ext >&5 | ||
| 11054 | ac_cv_lib_util_getloadavg=no | ||
| 11055 | fi | ||
| 11056 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 11057 | LIBS=$ac_check_lib_save_LIBS | ||
| 11058 | fi | ||
| 11059 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 | ||
| 11060 | echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 | ||
| 11061 | if test $ac_cv_lib_util_getloadavg = yes; then | ||
| 11062 | LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | ||
| 11063 | fi | ||
| 11064 | |||
| 11065 | fi | ||
| 11066 | |||
| 11067 | if test $ac_have_func = no; then | ||
| 11068 | # There is a commonly available library for RS/6000 AIX. | ||
| 11069 | # Since it is not a standard part of AIX, it might be installed locally. | ||
| 11070 | ac_getloadavg_LIBS=$LIBS | ||
| 11071 | LIBS="-L/usr/local/lib $LIBS" | ||
| 11072 | echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 | ||
| 11073 | echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 | ||
| 11074 | if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then | ||
| 11075 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11076 | else | ||
| 11077 | ac_check_lib_save_LIBS=$LIBS | ||
| 11078 | LIBS="-lgetloadavg $LIBS" | ||
| 11079 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11080 | #line $LINENO "configure" | ||
| 11081 | #include "confdefs.h" | ||
| 11082 | |||
| 11083 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 11084 | #ifdef __cplusplus | ||
| 11085 | extern "C" | ||
| 11086 | #endif | ||
| 11087 | /* We use char because int might match the return type of a gcc2 | ||
| 11088 | builtin and then its argument prototype would still apply. */ | ||
| 11089 | char getloadavg (); | ||
| 11090 | #ifdef F77_DUMMY_MAIN | ||
| 11091 | # ifdef __cplusplus | ||
| 11092 | extern "C" | ||
| 11093 | # endif | ||
| 11094 | int F77_DUMMY_MAIN() { return 1; } | ||
| 11095 | #endif | ||
| 11096 | int | ||
| 11097 | main () | ||
| 11098 | { | ||
| 11099 | getloadavg (); | ||
| 11100 | ; | ||
| 11101 | return 0; | ||
| 11102 | } | ||
| 11103 | _ACEOF | ||
| 11104 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11105 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 11106 | (eval $ac_link) 2>&5 | ||
| 11107 | ac_status=$? | ||
| 11108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11109 | (exit $ac_status); } && | ||
| 11110 | { ac_try='test -s conftest$ac_exeext' | ||
| 11111 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11112 | (eval $ac_try) 2>&5 | ||
| 11113 | ac_status=$? | ||
| 11114 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11115 | (exit $ac_status); }; }; then | ||
| 11116 | ac_cv_lib_getloadavg_getloadavg=yes | ||
| 11117 | else | ||
| 11118 | echo "$as_me: failed program was:" >&5 | ||
| 11119 | cat conftest.$ac_ext >&5 | ||
| 11120 | ac_cv_lib_getloadavg_getloadavg=no | ||
| 11121 | fi | ||
| 11122 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 11123 | LIBS=$ac_check_lib_save_LIBS | ||
| 11124 | fi | ||
| 11125 | echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | ||
| 11126 | echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 | ||
| 11127 | if test $ac_cv_lib_getloadavg_getloadavg = yes; then | ||
| 11128 | LIBS="-lgetloadavg $LIBS" | ||
| 11129 | else | ||
| 11130 | LIBS=$ac_getloadavg_LIBS | ||
| 11131 | fi | ||
| 11132 | |||
| 11133 | fi | ||
| 11134 | |||
| 11135 | # Make sure it is really in the library, if we think we found it, | ||
| 11136 | # otherwise set up the replacement function. | ||
| 11137 | |||
| 11138 | for ac_func in getloadavg | ||
| 11139 | do | ||
| 11140 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 11141 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11142 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
| 11143 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
| 11144 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11145 | else | ||
| 11146 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11147 | #line $LINENO "configure" | ||
| 11148 | #include "confdefs.h" | ||
| 11149 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11150 | which can conflict with char $ac_func (); below. */ | ||
| 11151 | #include <assert.h> | ||
| 11152 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 11153 | #ifdef __cplusplus | ||
| 11154 | extern "C" | ||
| 11155 | #endif | ||
| 11156 | /* We use char because int might match the return type of a gcc2 | ||
| 11157 | builtin and then its argument prototype would still apply. */ | ||
| 11158 | char $ac_func (); | ||
| 11159 | char (*f) (); | ||
| 11160 | |||
| 11161 | #ifdef F77_DUMMY_MAIN | ||
| 11162 | # ifdef __cplusplus | ||
| 11163 | extern "C" | ||
| 11164 | # endif | ||
| 11165 | int F77_DUMMY_MAIN() { return 1; } | ||
| 11166 | #endif | ||
| 11167 | int | ||
| 11168 | main () | ||
| 11169 | { | ||
| 11170 | /* The GNU C library defines this for functions which it implements | ||
| 11171 | to always fail with ENOSYS. Some functions are actually named | ||
| 11172 | something starting with __ and the normal name is an alias. */ | ||
| 11173 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
| 11174 | choke me | ||
| 11175 | #else | ||
| 11176 | f = $ac_func; | ||
| 11177 | #endif | ||
| 11178 | |||
| 11179 | ; | ||
| 11180 | return 0; | ||
| 11181 | } | ||
| 11182 | _ACEOF | ||
| 11183 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11184 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 11185 | (eval $ac_link) 2>&5 | ||
| 11186 | ac_status=$? | ||
| 11187 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11188 | (exit $ac_status); } && | ||
| 11189 | { ac_try='test -s conftest$ac_exeext' | ||
| 11190 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11191 | (eval $ac_try) 2>&5 | ||
| 11192 | ac_status=$? | ||
| 11193 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11194 | (exit $ac_status); }; }; then | ||
| 11195 | eval "$as_ac_var=yes" | ||
| 11196 | else | ||
| 11197 | echo "$as_me: failed program was:" >&5 | ||
| 11198 | cat conftest.$ac_ext >&5 | ||
| 11199 | eval "$as_ac_var=no" | ||
| 11200 | fi | ||
| 11201 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 11202 | fi | ||
| 11203 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
| 11204 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
| 11205 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
| 11206 | cat >>confdefs.h <<_ACEOF | ||
| 11207 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
| 11208 | _ACEOF | ||
| 11209 | |||
| 11210 | else | ||
| 11211 | LIBOBJS="$LIBOBJS getloadavg.$ac_objext" | ||
| 11212 | |||
| 11213 | cat >>confdefs.h <<\_ACEOF | ||
| 11214 | #define C_GETLOADAVG 1 | ||
| 11215 | _ACEOF | ||
| 11216 | |||
| 11217 | # Figure out what our getloadavg.c needs. | ||
| 11218 | ac_have_func=no | ||
| 11219 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | ||
| 11220 | echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | ||
| 11221 | echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 | ||
| 11222 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | ||
| 11223 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11224 | fi | ||
| 11225 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | ||
| 11226 | echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 | ||
| 11227 | else | ||
| 11228 | # Is the header compilable? | ||
| 11229 | echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 | ||
| 11230 | echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6 | ||
| 11231 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11232 | #line $LINENO "configure" | ||
| 11233 | #include "confdefs.h" | ||
| 11234 | $ac_includes_default | ||
| 11235 | #include <sys/dg_sys_info.h> | ||
| 11236 | _ACEOF | ||
| 11237 | rm -f conftest.$ac_objext | ||
| 11238 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 11239 | (eval $ac_compile) 2>&5 | ||
| 11240 | ac_status=$? | ||
| 11241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11242 | (exit $ac_status); } && | ||
| 11243 | { ac_try='test -s conftest.$ac_objext' | ||
| 11244 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11245 | (eval $ac_try) 2>&5 | ||
| 11246 | ac_status=$? | ||
| 11247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11248 | (exit $ac_status); }; }; then | ||
| 11249 | ac_header_compiler=yes | ||
| 11250 | else | ||
| 11251 | echo "$as_me: failed program was:" >&5 | ||
| 11252 | cat conftest.$ac_ext >&5 | ||
| 11253 | ac_header_compiler=no | ||
| 11254 | fi | ||
| 11255 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 11256 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 11257 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
| 11258 | |||
| 11259 | # Is the header present? | ||
| 11260 | echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 | ||
| 11261 | echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6 | ||
| 11262 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11263 | #line $LINENO "configure" | ||
| 11264 | #include "confdefs.h" | ||
| 11265 | #include <sys/dg_sys_info.h> | ||
| 11266 | _ACEOF | ||
| 11267 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
| 11268 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
| 11269 | ac_status=$? | ||
| 11270 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
| 11271 | rm -f conftest.er1 | ||
| 11272 | cat conftest.err >&5 | ||
| 11273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11274 | (exit $ac_status); } >/dev/null; then | ||
| 11275 | if test -s conftest.err; then | ||
| 11276 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
| 11277 | else | ||
| 11278 | ac_cpp_err= | ||
| 11279 | fi | ||
| 11280 | else | ||
| 11281 | ac_cpp_err=yes | ||
| 11282 | fi | ||
| 11283 | if test -z "$ac_cpp_err"; then | ||
| 11284 | ac_header_preproc=yes | ||
| 11285 | else | ||
| 11286 | echo "$as_me: failed program was:" >&5 | ||
| 11287 | cat conftest.$ac_ext >&5 | ||
| 11288 | ac_header_preproc=no | ||
| 11289 | fi | ||
| 11290 | rm -f conftest.err conftest.$ac_ext | ||
| 11291 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 11292 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
| 11293 | |||
| 11294 | # So? What about this header? | ||
| 11295 | case $ac_header_compiler:$ac_header_preproc in | ||
| 11296 | yes:no ) | ||
| 11297 | { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 11298 | echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 11299 | { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 | ||
| 11300 | echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};; | ||
| 11301 | no:yes ) | ||
| 11302 | { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5 | ||
| 11303 | echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;} | ||
| 11304 | { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5 | ||
| 11305 | echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;} | ||
| 11306 | { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 | ||
| 11307 | echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};; | ||
| 11308 | esac | ||
| 11309 | echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | ||
| 11310 | echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 | ||
| 11311 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | ||
| 11312 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11313 | else | ||
| 11314 | ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc | ||
| 11315 | fi | ||
| 11316 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | ||
| 11317 | echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 | ||
| 11318 | |||
| 11319 | fi | ||
| 11320 | if test $ac_cv_header_sys_dg_sys_info_h = yes; then | ||
| 11321 | ac_have_func=yes | ||
| 11322 | |||
| 11323 | cat >>confdefs.h <<\_ACEOF | ||
| 11324 | #define DGUX 1 | ||
| 11325 | _ACEOF | ||
| 11326 | |||
| 11327 | |||
| 11328 | echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 | ||
| 11329 | echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 | ||
| 11330 | if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then | ||
| 11331 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11332 | else | ||
| 11333 | ac_check_lib_save_LIBS=$LIBS | ||
| 11334 | LIBS="-ldgc $LIBS" | ||
| 11335 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11336 | #line $LINENO "configure" | ||
| 11337 | #include "confdefs.h" | ||
| 11338 | |||
| 11339 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 11340 | #ifdef __cplusplus | ||
| 11341 | extern "C" | ||
| 11342 | #endif | ||
| 11343 | /* We use char because int might match the return type of a gcc2 | ||
| 11344 | builtin and then its argument prototype would still apply. */ | ||
| 11345 | char dg_sys_info (); | ||
| 11346 | #ifdef F77_DUMMY_MAIN | ||
| 11347 | # ifdef __cplusplus | ||
| 11348 | extern "C" | ||
| 11349 | # endif | ||
| 11350 | int F77_DUMMY_MAIN() { return 1; } | ||
| 11351 | #endif | ||
| 11352 | int | ||
| 11353 | main () | ||
| 11354 | { | ||
| 11355 | dg_sys_info (); | ||
| 11356 | ; | ||
| 11357 | return 0; | ||
| 11358 | } | ||
| 11359 | _ACEOF | ||
| 11360 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11361 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 11362 | (eval $ac_link) 2>&5 | ||
| 11363 | ac_status=$? | ||
| 11364 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11365 | (exit $ac_status); } && | ||
| 11366 | { ac_try='test -s conftest$ac_exeext' | ||
| 11367 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11368 | (eval $ac_try) 2>&5 | ||
| 11369 | ac_status=$? | ||
| 11370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11371 | (exit $ac_status); }; }; then | ||
| 11372 | ac_cv_lib_dgc_dg_sys_info=yes | ||
| 11373 | else | ||
| 11374 | echo "$as_me: failed program was:" >&5 | ||
| 11375 | cat conftest.$ac_ext >&5 | ||
| 11376 | ac_cv_lib_dgc_dg_sys_info=no | ||
| 11377 | fi | ||
| 11378 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 11379 | LIBS=$ac_check_lib_save_LIBS | ||
| 11380 | fi | ||
| 11381 | echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | ||
| 11382 | echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 | ||
| 11383 | if test $ac_cv_lib_dgc_dg_sys_info = yes; then | ||
| 11384 | cat >>confdefs.h <<_ACEOF | ||
| 11385 | #define HAVE_LIBDGC 1 | ||
| 11386 | _ACEOF | ||
| 11387 | |||
| 11388 | LIBS="-ldgc $LIBS" | ||
| 11389 | |||
| 11390 | fi | ||
| 11391 | |||
| 11392 | fi | ||
| 11393 | |||
| 11394 | |||
| 11395 | |||
| 11396 | if test "${ac_cv_header_locale_h+set}" = set; then | ||
| 11397 | echo "$as_me:$LINENO: checking for locale.h" >&5 | ||
| 11398 | echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 | ||
| 11399 | if test "${ac_cv_header_locale_h+set}" = set; then | ||
| 11400 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11401 | fi | ||
| 11402 | echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | ||
| 11403 | echo "${ECHO_T}$ac_cv_header_locale_h" >&6 | ||
| 11404 | else | ||
| 11405 | # Is the header compilable? | ||
| 11406 | echo "$as_me:$LINENO: checking locale.h usability" >&5 | ||
| 11407 | echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6 | ||
| 11408 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11409 | #line $LINENO "configure" | ||
| 11410 | #include "confdefs.h" | ||
| 11411 | $ac_includes_default | ||
| 11412 | #include <locale.h> | ||
| 11413 | _ACEOF | ||
| 11414 | rm -f conftest.$ac_objext | ||
| 11415 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 11416 | (eval $ac_compile) 2>&5 | ||
| 11417 | ac_status=$? | ||
| 11418 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11419 | (exit $ac_status); } && | ||
| 11420 | { ac_try='test -s conftest.$ac_objext' | ||
| 11421 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11422 | (eval $ac_try) 2>&5 | ||
| 11423 | ac_status=$? | ||
| 11424 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11425 | (exit $ac_status); }; }; then | ||
| 11426 | ac_header_compiler=yes | ||
| 11427 | else | ||
| 11428 | echo "$as_me: failed program was:" >&5 | ||
| 11429 | cat conftest.$ac_ext >&5 | ||
| 11430 | ac_header_compiler=no | ||
| 11431 | fi | ||
| 11432 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 11433 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 11434 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
| 11435 | |||
| 11436 | # Is the header present? | ||
| 11437 | echo "$as_me:$LINENO: checking locale.h presence" >&5 | ||
| 11438 | echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6 | ||
| 11439 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11440 | #line $LINENO "configure" | ||
| 11441 | #include "confdefs.h" | ||
| 11442 | #include <locale.h> | ||
| 11443 | _ACEOF | ||
| 11444 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
| 11445 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
| 11446 | ac_status=$? | ||
| 11447 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
| 11448 | rm -f conftest.er1 | ||
| 11449 | cat conftest.err >&5 | ||
| 11450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11451 | (exit $ac_status); } >/dev/null; then | ||
| 11452 | if test -s conftest.err; then | ||
| 11453 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
| 11454 | else | ||
| 11455 | ac_cpp_err= | ||
| 11456 | fi | ||
| 11457 | else | ||
| 11458 | ac_cpp_err=yes | ||
| 11459 | fi | ||
| 11460 | if test -z "$ac_cpp_err"; then | ||
| 11461 | ac_header_preproc=yes | ||
| 11462 | else | ||
| 11463 | echo "$as_me: failed program was:" >&5 | ||
| 11464 | cat conftest.$ac_ext >&5 | ||
| 11465 | ac_header_preproc=no | ||
| 11466 | fi | ||
| 11467 | rm -f conftest.err conftest.$ac_ext | ||
| 11468 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 11469 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
| 11470 | |||
| 11471 | # So? What about this header? | ||
| 11472 | case $ac_header_compiler:$ac_header_preproc in | ||
| 11473 | yes:no ) | ||
| 11474 | { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 11475 | echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 11476 | { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 | ||
| 11477 | echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};; | ||
| 11478 | no:yes ) | ||
| 11479 | { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5 | ||
| 11480 | echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;} | ||
| 11481 | { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5 | ||
| 11482 | echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;} | ||
| 11483 | { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 | ||
| 11484 | echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};; | ||
| 11485 | esac | ||
| 11486 | echo "$as_me:$LINENO: checking for locale.h" >&5 | ||
| 11487 | echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 | ||
| 11488 | if test "${ac_cv_header_locale_h+set}" = set; then | ||
| 11489 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11490 | else | ||
| 11491 | ac_cv_header_locale_h=$ac_header_preproc | ||
| 11492 | fi | ||
| 11493 | echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | ||
| 11494 | echo "${ECHO_T}$ac_cv_header_locale_h" >&6 | ||
| 11495 | |||
| 11496 | fi | ||
| 11497 | |||
| 11498 | |||
| 11499 | |||
| 11500 | for ac_func in setlocale | ||
| 11501 | do | ||
| 11502 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
| 11503 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
| 11504 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
| 11505 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
| 11506 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11507 | else | ||
| 11508 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11509 | #line $LINENO "configure" | ||
| 11510 | #include "confdefs.h" | ||
| 11511 | /* System header to define __stub macros and hopefully few prototypes, | ||
| 11512 | which can conflict with char $ac_func (); below. */ | ||
| 11513 | #include <assert.h> | ||
| 11514 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 11515 | #ifdef __cplusplus | ||
| 11516 | extern "C" | ||
| 11517 | #endif | ||
| 11518 | /* We use char because int might match the return type of a gcc2 | ||
| 11519 | builtin and then its argument prototype would still apply. */ | ||
| 11520 | char $ac_func (); | ||
| 11521 | char (*f) (); | ||
| 11522 | |||
| 11523 | #ifdef F77_DUMMY_MAIN | ||
| 11524 | # ifdef __cplusplus | ||
| 11525 | extern "C" | ||
| 11526 | # endif | ||
| 11527 | int F77_DUMMY_MAIN() { return 1; } | ||
| 11528 | #endif | ||
| 11529 | int | ||
| 11530 | main () | ||
| 11531 | { | ||
| 11532 | /* The GNU C library defines this for functions which it implements | ||
| 11533 | to always fail with ENOSYS. Some functions are actually named | ||
| 11534 | something starting with __ and the normal name is an alias. */ | ||
| 11535 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
| 11536 | choke me | ||
| 11537 | #else | ||
| 11538 | f = $ac_func; | ||
| 11539 | #endif | ||
| 11540 | |||
| 11541 | ; | ||
| 11542 | return 0; | ||
| 11543 | } | ||
| 11544 | _ACEOF | ||
| 11545 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 11546 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 11547 | (eval $ac_link) 2>&5 | ||
| 11548 | ac_status=$? | ||
| 11549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11550 | (exit $ac_status); } && | ||
| 11551 | { ac_try='test -s conftest$ac_exeext' | ||
| 11552 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11553 | (eval $ac_try) 2>&5 | ||
| 11554 | ac_status=$? | ||
| 11555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11556 | (exit $ac_status); }; }; then | ||
| 11557 | eval "$as_ac_var=yes" | ||
| 11558 | else | ||
| 11559 | echo "$as_me: failed program was:" >&5 | ||
| 11560 | cat conftest.$ac_ext >&5 | ||
| 11561 | eval "$as_ac_var=no" | ||
| 11562 | fi | ||
| 11563 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
| 11564 | fi | ||
| 11565 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
| 11566 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
| 11567 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
| 11568 | cat >>confdefs.h <<_ACEOF | ||
| 11569 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
| 11570 | _ACEOF | ||
| 11571 | |||
| 11572 | fi | ||
| 11573 | done | ||
| 11574 | |||
| 11575 | |||
| 11576 | # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it | ||
| 11577 | # uses stabs), but it is still SVR4. We cannot check for <elf.h> because | ||
| 11578 | # Irix 4.0.5F has the header but not the library. | ||
| 11579 | if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then | ||
| 11580 | ac_have_func=yes | ||
| 11581 | |||
| 11582 | cat >>confdefs.h <<\_ACEOF | ||
| 11583 | #define SVR4 1 | ||
| 11584 | _ACEOF | ||
| 11585 | |||
| 11586 | fi | ||
| 11587 | |||
| 11588 | if test $ac_have_func = no; then | ||
| 11589 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | ||
| 11590 | echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | ||
| 11591 | echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 | ||
| 11592 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | ||
| 11593 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11594 | fi | ||
| 11595 | echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | ||
| 11596 | echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 | ||
| 11597 | else | ||
| 11598 | # Is the header compilable? | ||
| 11599 | echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 | ||
| 11600 | echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6 | ||
| 11601 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11602 | #line $LINENO "configure" | ||
| 11603 | #include "confdefs.h" | ||
| 11604 | $ac_includes_default | ||
| 11605 | #include <inq_stats/cpustats.h> | ||
| 11606 | _ACEOF | ||
| 11607 | rm -f conftest.$ac_objext | ||
| 11608 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 11609 | (eval $ac_compile) 2>&5 | ||
| 11610 | ac_status=$? | ||
| 11611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11612 | (exit $ac_status); } && | ||
| 11613 | { ac_try='test -s conftest.$ac_objext' | ||
| 11614 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11615 | (eval $ac_try) 2>&5 | ||
| 11616 | ac_status=$? | ||
| 11617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11618 | (exit $ac_status); }; }; then | ||
| 11619 | ac_header_compiler=yes | ||
| 11620 | else | ||
| 11621 | echo "$as_me: failed program was:" >&5 | ||
| 11622 | cat conftest.$ac_ext >&5 | ||
| 11623 | ac_header_compiler=no | ||
| 11624 | fi | ||
| 11625 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 11626 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 11627 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
| 11628 | |||
| 11629 | # Is the header present? | ||
| 11630 | echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 | ||
| 11631 | echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6 | ||
| 11632 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11633 | #line $LINENO "configure" | ||
| 11634 | #include "confdefs.h" | ||
| 11635 | #include <inq_stats/cpustats.h> | ||
| 11636 | _ACEOF | ||
| 11637 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
| 11638 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
| 11639 | ac_status=$? | ||
| 11640 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
| 11641 | rm -f conftest.er1 | ||
| 11642 | cat conftest.err >&5 | ||
| 11643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11644 | (exit $ac_status); } >/dev/null; then | ||
| 11645 | if test -s conftest.err; then | ||
| 11646 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
| 11647 | else | ||
| 11648 | ac_cpp_err= | ||
| 11649 | fi | ||
| 11650 | else | ||
| 11651 | ac_cpp_err=yes | ||
| 11652 | fi | ||
| 11653 | if test -z "$ac_cpp_err"; then | ||
| 11654 | ac_header_preproc=yes | ||
| 11655 | else | ||
| 11656 | echo "$as_me: failed program was:" >&5 | ||
| 11657 | cat conftest.$ac_ext >&5 | ||
| 11658 | ac_header_preproc=no | ||
| 11659 | fi | ||
| 11660 | rm -f conftest.err conftest.$ac_ext | ||
| 11661 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 11662 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
| 11663 | |||
| 11664 | # So? What about this header? | ||
| 11665 | case $ac_header_compiler:$ac_header_preproc in | ||
| 11666 | yes:no ) | ||
| 11667 | { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 11668 | echo "$as_me: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 11669 | { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 | ||
| 11670 | echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};; | ||
| 11671 | no:yes ) | ||
| 11672 | { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&5 | ||
| 11673 | echo "$as_me: WARNING: inq_stats/cpustats.h: present but cannot be compiled" >&2;} | ||
| 11674 | { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&5 | ||
| 11675 | echo "$as_me: WARNING: inq_stats/cpustats.h: check for missing prerequisite headers?" >&2;} | ||
| 11676 | { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 | ||
| 11677 | echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};; | ||
| 11678 | esac | ||
| 11679 | echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | ||
| 11680 | echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 | ||
| 11681 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | ||
| 11682 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11683 | else | ||
| 11684 | ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc | ||
| 11685 | fi | ||
| 11686 | echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | ||
| 11687 | echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 | ||
| 11688 | |||
| 11689 | fi | ||
| 11690 | if test $ac_cv_header_inq_stats_cpustats_h = yes; then | ||
| 11691 | ac_have_func=yes | ||
| 11692 | |||
| 11693 | cat >>confdefs.h <<\_ACEOF | ||
| 11694 | #define UMAX 1 | ||
| 11695 | _ACEOF | ||
| 11696 | |||
| 11697 | |||
| 11698 | cat >>confdefs.h <<\_ACEOF | ||
| 11699 | #define UMAX4_3 1 | ||
| 11700 | _ACEOF | ||
| 11701 | |||
| 11702 | fi | ||
| 11703 | |||
| 11704 | |||
| 11705 | fi | ||
| 11706 | |||
| 11707 | if test $ac_have_func = no; then | ||
| 11708 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | ||
| 11709 | echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | ||
| 11710 | echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 | ||
| 11711 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | ||
| 11712 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11713 | fi | ||
| 11714 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | ||
| 11715 | echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 | ||
| 11716 | else | ||
| 11717 | # Is the header compilable? | ||
| 11718 | echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 | ||
| 11719 | echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6 | ||
| 11720 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11721 | #line $LINENO "configure" | ||
| 11722 | #include "confdefs.h" | ||
| 11723 | $ac_includes_default | ||
| 11724 | #include <sys/cpustats.h> | ||
| 11725 | _ACEOF | ||
| 11726 | rm -f conftest.$ac_objext | ||
| 11727 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 11728 | (eval $ac_compile) 2>&5 | ||
| 11729 | ac_status=$? | ||
| 11730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11731 | (exit $ac_status); } && | ||
| 11732 | { ac_try='test -s conftest.$ac_objext' | ||
| 11733 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11734 | (eval $ac_try) 2>&5 | ||
| 11735 | ac_status=$? | ||
| 11736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11737 | (exit $ac_status); }; }; then | ||
| 11738 | ac_header_compiler=yes | ||
| 11739 | else | ||
| 11740 | echo "$as_me: failed program was:" >&5 | ||
| 11741 | cat conftest.$ac_ext >&5 | ||
| 11742 | ac_header_compiler=no | ||
| 11743 | fi | ||
| 11744 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 11745 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 11746 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
| 11747 | |||
| 11748 | # Is the header present? | ||
| 11749 | echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 | ||
| 11750 | echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6 | ||
| 11751 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11752 | #line $LINENO "configure" | ||
| 11753 | #include "confdefs.h" | ||
| 11754 | #include <sys/cpustats.h> | ||
| 11755 | _ACEOF | ||
| 11756 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
| 11757 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
| 11758 | ac_status=$? | ||
| 11759 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
| 11760 | rm -f conftest.er1 | ||
| 11761 | cat conftest.err >&5 | ||
| 11762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11763 | (exit $ac_status); } >/dev/null; then | ||
| 11764 | if test -s conftest.err; then | ||
| 11765 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
| 11766 | else | ||
| 11767 | ac_cpp_err= | ||
| 11768 | fi | ||
| 11769 | else | ||
| 11770 | ac_cpp_err=yes | ||
| 11771 | fi | ||
| 11772 | if test -z "$ac_cpp_err"; then | ||
| 11773 | ac_header_preproc=yes | ||
| 11774 | else | ||
| 11775 | echo "$as_me: failed program was:" >&5 | ||
| 11776 | cat conftest.$ac_ext >&5 | ||
| 11777 | ac_header_preproc=no | ||
| 11778 | fi | ||
| 11779 | rm -f conftest.err conftest.$ac_ext | ||
| 11780 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 11781 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
| 11782 | |||
| 11783 | # So? What about this header? | ||
| 11784 | case $ac_header_compiler:$ac_header_preproc in | ||
| 11785 | yes:no ) | ||
| 11786 | { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 11787 | echo "$as_me: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 11788 | { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 | ||
| 11789 | echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};; | ||
| 11790 | no:yes ) | ||
| 11791 | { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: present but cannot be compiled" >&5 | ||
| 11792 | echo "$as_me: WARNING: sys/cpustats.h: present but cannot be compiled" >&2;} | ||
| 11793 | { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&5 | ||
| 11794 | echo "$as_me: WARNING: sys/cpustats.h: check for missing prerequisite headers?" >&2;} | ||
| 11795 | { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 | ||
| 11796 | echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};; | ||
| 11797 | esac | ||
| 11798 | echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | ||
| 11799 | echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 | ||
| 11800 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | ||
| 11801 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11802 | else | ||
| 11803 | ac_cv_header_sys_cpustats_h=$ac_header_preproc | ||
| 11804 | fi | ||
| 11805 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | ||
| 11806 | echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 | ||
| 11807 | |||
| 11808 | fi | ||
| 11809 | if test $ac_cv_header_sys_cpustats_h = yes; then | ||
| 11810 | ac_have_func=yes; cat >>confdefs.h <<\_ACEOF | ||
| 11811 | #define UMAX 1 | ||
| 11812 | _ACEOF | ||
| 11813 | |||
| 11814 | fi | ||
| 11815 | |||
| 11816 | |||
| 11817 | fi | ||
| 11818 | |||
| 11819 | if test $ac_have_func = no; then | ||
| 11820 | |||
| 11821 | for ac_header in mach/mach.h | ||
| 11822 | do | ||
| 11823 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 11824 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 11825 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 11826 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
| 11827 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 11828 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11829 | fi | ||
| 11830 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
| 11831 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
| 11832 | else | ||
| 11833 | # Is the header compilable? | ||
| 11834 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 11835 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
| 11836 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11837 | #line $LINENO "configure" | ||
| 11838 | #include "confdefs.h" | ||
| 11839 | $ac_includes_default | ||
| 11840 | #include <$ac_header> | ||
| 11841 | _ACEOF | ||
| 11842 | rm -f conftest.$ac_objext | ||
| 11843 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 11844 | (eval $ac_compile) 2>&5 | ||
| 11845 | ac_status=$? | ||
| 11846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11847 | (exit $ac_status); } && | ||
| 11848 | { ac_try='test -s conftest.$ac_objext' | ||
| 11849 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11850 | (eval $ac_try) 2>&5 | ||
| 11851 | ac_status=$? | ||
| 11852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11853 | (exit $ac_status); }; }; then | ||
| 11854 | ac_header_compiler=yes | ||
| 11855 | else | ||
| 11856 | echo "$as_me: failed program was:" >&5 | ||
| 11857 | cat conftest.$ac_ext >&5 | ||
| 11858 | ac_header_compiler=no | ||
| 11859 | fi | ||
| 11860 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 11861 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 11862 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
| 11863 | |||
| 11864 | # Is the header present? | ||
| 11865 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 11866 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
| 11867 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11868 | #line $LINENO "configure" | ||
| 11869 | #include "confdefs.h" | ||
| 11870 | #include <$ac_header> | ||
| 11871 | _ACEOF | ||
| 11872 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
| 11873 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
| 11874 | ac_status=$? | ||
| 11875 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
| 11876 | rm -f conftest.er1 | ||
| 11877 | cat conftest.err >&5 | ||
| 11878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11879 | (exit $ac_status); } >/dev/null; then | ||
| 11880 | if test -s conftest.err; then | ||
| 11881 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
| 11882 | else | ||
| 11883 | ac_cpp_err= | ||
| 11884 | fi | ||
| 11885 | else | ||
| 11886 | ac_cpp_err=yes | ||
| 11887 | fi | ||
| 11888 | if test -z "$ac_cpp_err"; then | ||
| 11889 | ac_header_preproc=yes | ||
| 11890 | else | ||
| 11891 | echo "$as_me: failed program was:" >&5 | ||
| 11892 | cat conftest.$ac_ext >&5 | ||
| 11893 | ac_header_preproc=no | ||
| 11894 | fi | ||
| 11895 | rm -f conftest.err conftest.$ac_ext | ||
| 11896 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 11897 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
| 11898 | |||
| 11899 | # So? What about this header? | ||
| 11900 | case $ac_header_compiler:$ac_header_preproc in | ||
| 11901 | yes:no ) | ||
| 11902 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 11903 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 11904 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 11905 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
| 11906 | no:yes ) | ||
| 11907 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 11908 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 11909 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 11910 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 11911 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 11912 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
| 11913 | esac | ||
| 11914 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 11915 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
| 11916 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 11917 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11918 | else | ||
| 11919 | eval "$as_ac_Header=$ac_header_preproc" | ||
| 11920 | fi | ||
| 11921 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
| 11922 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
| 11923 | |||
| 11924 | fi | ||
| 11925 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
| 11926 | cat >>confdefs.h <<_ACEOF | ||
| 11927 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 11928 | _ACEOF | ||
| 11929 | |||
| 11930 | fi | ||
| 11931 | |||
| 11932 | done | ||
| 11933 | |||
| 11934 | fi | ||
| 11935 | |||
| 11936 | |||
| 11937 | for ac_header in nlist.h | ||
| 11938 | do | ||
| 11939 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 11940 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 11941 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 11942 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
| 11943 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 11944 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 11945 | fi | ||
| 11946 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
| 11947 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
| 11948 | else | ||
| 11949 | # Is the header compilable? | ||
| 11950 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
| 11951 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
| 11952 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11953 | #line $LINENO "configure" | ||
| 11954 | #include "confdefs.h" | ||
| 11955 | $ac_includes_default | ||
| 11956 | #include <$ac_header> | ||
| 11957 | _ACEOF | ||
| 11958 | rm -f conftest.$ac_objext | ||
| 11959 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 11960 | (eval $ac_compile) 2>&5 | ||
| 11961 | ac_status=$? | ||
| 11962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11963 | (exit $ac_status); } && | ||
| 11964 | { ac_try='test -s conftest.$ac_objext' | ||
| 11965 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11966 | (eval $ac_try) 2>&5 | ||
| 11967 | ac_status=$? | ||
| 11968 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11969 | (exit $ac_status); }; }; then | ||
| 11970 | ac_header_compiler=yes | ||
| 11971 | else | ||
| 11972 | echo "$as_me: failed program was:" >&5 | ||
| 11973 | cat conftest.$ac_ext >&5 | ||
| 11974 | ac_header_compiler=no | ||
| 11975 | fi | ||
| 11976 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 11977 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
| 11978 | echo "${ECHO_T}$ac_header_compiler" >&6 | ||
| 11979 | |||
| 11980 | # Is the header present? | ||
| 11981 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
| 11982 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | ||
| 11983 | cat >conftest.$ac_ext <<_ACEOF | ||
| 11984 | #line $LINENO "configure" | ||
| 11985 | #include "confdefs.h" | ||
| 11986 | #include <$ac_header> | ||
| 11987 | _ACEOF | ||
| 11988 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
| 11989 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
| 11990 | ac_status=$? | ||
| 11991 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
| 11992 | rm -f conftest.er1 | ||
| 11993 | cat conftest.err >&5 | ||
| 11994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11995 | (exit $ac_status); } >/dev/null; then | ||
| 11996 | if test -s conftest.err; then | ||
| 11997 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
| 11998 | else | ||
| 11999 | ac_cpp_err= | ||
| 12000 | fi | ||
| 12001 | else | ||
| 12002 | ac_cpp_err=yes | ||
| 12003 | fi | ||
| 12004 | if test -z "$ac_cpp_err"; then | ||
| 12005 | ac_header_preproc=yes | ||
| 12006 | else | ||
| 12007 | echo "$as_me: failed program was:" >&5 | ||
| 12008 | cat conftest.$ac_ext >&5 | ||
| 12009 | ac_header_preproc=no | ||
| 12010 | fi | ||
| 12011 | rm -f conftest.err conftest.$ac_ext | ||
| 12012 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
| 12013 | echo "${ECHO_T}$ac_header_preproc" >&6 | ||
| 12014 | |||
| 12015 | # So? What about this header? | ||
| 12016 | case $ac_header_compiler:$ac_header_preproc in | ||
| 12017 | yes:no ) | ||
| 12018 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
| 12019 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
| 12020 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 12021 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
| 12022 | no:yes ) | ||
| 12023 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
| 12024 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
| 12025 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
| 12026 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
| 12027 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
| 12028 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | ||
| 12029 | esac | ||
| 12030 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
| 12031 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
| 12032 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 12033 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 12034 | else | ||
| 12035 | eval "$as_ac_Header=$ac_header_preproc" | ||
| 12036 | fi | ||
| 12037 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
| 12038 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
| 12039 | |||
| 12040 | fi | ||
| 12041 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
| 12042 | cat >>confdefs.h <<_ACEOF | ||
| 12043 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 12044 | _ACEOF | ||
| 12045 | echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 | ||
| 12046 | echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 | ||
| 12047 | if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then | ||
| 12048 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 12049 | else | ||
| 12050 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12051 | #line $LINENO "configure" | ||
| 12052 | #include "confdefs.h" | ||
| 12053 | #include <nlist.h> | ||
| 12054 | |||
| 12055 | #ifdef F77_DUMMY_MAIN | ||
| 12056 | # ifdef __cplusplus | ||
| 12057 | extern "C" | ||
| 12058 | # endif | ||
| 12059 | int F77_DUMMY_MAIN() { return 1; } | ||
| 12060 | #endif | ||
| 12061 | int | ||
| 12062 | main () | ||
| 12063 | { | ||
| 12064 | static struct nlist ac_aggr; | ||
| 12065 | if (ac_aggr.n_un.n_name) | ||
| 12066 | return 0; | ||
| 12067 | ; | ||
| 12068 | return 0; | ||
| 12069 | } | ||
| 12070 | _ACEOF | ||
| 12071 | rm -f conftest.$ac_objext | ||
| 12072 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 12073 | (eval $ac_compile) 2>&5 | ||
| 12074 | ac_status=$? | ||
| 12075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12076 | (exit $ac_status); } && | ||
| 12077 | { ac_try='test -s conftest.$ac_objext' | ||
| 12078 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 12079 | (eval $ac_try) 2>&5 | ||
| 12080 | ac_status=$? | ||
| 12081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12082 | (exit $ac_status); }; }; then | ||
| 12083 | ac_cv_member_struct_nlist_n_un_n_name=yes | ||
| 12084 | else | ||
| 12085 | echo "$as_me: failed program was:" >&5 | ||
| 12086 | cat conftest.$ac_ext >&5 | ||
| 12087 | ac_cv_member_struct_nlist_n_un_n_name=no | ||
| 12088 | fi | ||
| 12089 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 12090 | fi | ||
| 12091 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | ||
| 12092 | echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 | ||
| 12093 | if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then | ||
| 12094 | |||
| 12095 | cat >>confdefs.h <<_ACEOF | ||
| 12096 | #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | ||
| 12097 | _ACEOF | ||
| 12098 | |||
| 12099 | |||
| 12100 | cat >>confdefs.h <<\_ACEOF | ||
| 12101 | #define NLIST_NAME_UNION 1 | ||
| 12102 | _ACEOF | ||
| 12103 | |||
| 12104 | fi | ||
| 12105 | |||
| 12106 | |||
| 12107 | fi | ||
| 12108 | |||
| 12109 | done | ||
| 12110 | |||
| 12111 | fi | ||
| 12112 | done | ||
| 12113 | |||
| 12114 | |||
| 12115 | # Some definitions of getloadavg require that the program be installed setgid. | ||
| 12116 | echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 | ||
| 12117 | echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 | ||
| 12118 | if test "${ac_cv_func_getloadavg_setgid+set}" = set; then | ||
| 12119 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 12120 | else | ||
| 12121 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12122 | #line $LINENO "configure" | ||
| 12123 | #include "confdefs.h" | ||
| 12124 | #include "$srcdir/getloadavg.c" | ||
| 12125 | #ifdef LDAV_PRIVILEGED | ||
| 12126 | Yowza Am I SETGID yet | ||
| 12127 | #endif | ||
| 12128 | _ACEOF | ||
| 12129 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
| 12130 | egrep "Yowza Am I SETGID yet" >/dev/null 2>&1; then | ||
| 12131 | ac_cv_func_getloadavg_setgid=yes | ||
| 12132 | else | ||
| 12133 | ac_cv_func_getloadavg_setgid=no | ||
| 12134 | fi | ||
| 12135 | rm -f conftest* | ||
| 12136 | |||
| 12137 | fi | ||
| 12138 | echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 | ||
| 12139 | echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 | ||
| 12140 | if test $ac_cv_func_getloadavg_setgid = yes; then | ||
| 12141 | NEED_SETGID=true | ||
| 12142 | 10686 | ||
| 12143 | cat >>confdefs.h <<\_ACEOF | 10687 | cat >>confdefs.h <<\_ACEOF |
| 12144 | #define GETLOADAVG_PRIVILEGED 1 | 10688 | #define BROKEN_MKTIME 1 |
| 12145 | _ACEOF | 10689 | _ACEOF |
| 12146 | 10690 | ||
| 12147 | else | ||
| 12148 | NEED_SETGID=false | ||
| 12149 | fi | ||
| 12150 | |||
| 12151 | if test $ac_cv_func_getloadavg_setgid = yes; then | ||
| 12152 | echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 | ||
| 12153 | echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 | ||
| 12154 | if test "${ac_cv_group_kmem+set}" = set; then | ||
| 12155 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 12156 | else | ||
| 12157 | # On Solaris, /dev/kmem is a symlink. Get info on the real file. | ||
| 12158 | ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` | ||
| 12159 | # If we got an error (system does not support symlinks), try without -L. | ||
| 12160 | test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem` | ||
| 12161 | ac_cv_group_kmem=`echo $ac_ls_output \ | ||
| 12162 | | sed -ne 's/[ ][ ]*/ /g; | ||
| 12163 | s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; | ||
| 12164 | / /s/.* //;p;'` | ||
| 12165 | |||
| 12166 | fi | ||
| 12167 | echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 | ||
| 12168 | echo "${ECHO_T}$ac_cv_group_kmem" >&6 | ||
| 12169 | KMEM_GROUP=$ac_cv_group_kmem | ||
| 12170 | fi | ||
| 12171 | if test "x$ac_save_LIBS" = x; then | ||
| 12172 | GETLOADAVG_LIBS=$LIBS | ||
| 12173 | else | ||
| 12174 | GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` | ||
| 12175 | fi | 10691 | fi |
| 12176 | LIBS=$ac_save_LIBS | ||
| 12177 | |||
| 12178 | |||
| 12179 | 10692 | ||
| 12180 | ac_have_func=no # yes means we've found a way to get the load average. | 10693 | ac_have_func=no # yes means we've found a way to get the load average. |
| 12181 | 10694 | ||
| @@ -14339,7 +12852,8 @@ fi | |||
| 14339 | 12852 | ||
| 14340 | if test "$resolv" = yes ; then | 12853 | if test "$resolv" = yes ; then |
| 14341 | RESOLVLIB=-lresolv | 12854 | RESOLVLIB=-lresolv |
| 14342 | cat >>confdefs.h <<\_ACEOF | 12855 | |
| 12856 | cat >>confdefs.h <<\_ACEOF | ||
| 14343 | #define HAVE_LIBRESOLV 1 | 12857 | #define HAVE_LIBRESOLV 1 |
| 14344 | _ACEOF | 12858 | _ACEOF |
| 14345 | 12859 | ||
| @@ -14469,7 +12983,8 @@ fi | |||
| 14469 | echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 12983 | echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
| 14470 | echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 | 12984 | echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 |
| 14471 | if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then | 12985 | if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then |
| 14472 | cat >>confdefs.h <<\_ACEOF | 12986 | |
| 12987 | cat >>confdefs.h <<\_ACEOF | ||
| 14473 | #define HAVE_LIBHESIOD 1 | 12988 | #define HAVE_LIBHESIOD 1 |
| 14474 | _ACEOF | 12989 | _ACEOF |
| 14475 | 12990 | ||
| @@ -16070,7 +14585,8 @@ fi | |||
| 16070 | echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 | 14585 | echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 |
| 16071 | echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 | 14586 | echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 |
| 16072 | if test $emacs_cv_localtime_cache = yes; then | 14587 | if test $emacs_cv_localtime_cache = yes; then |
| 16073 | cat >>confdefs.h <<\_ACEOF | 14588 | |
| 14589 | cat >>confdefs.h <<\_ACEOF | ||
| 16074 | #define LOCALTIME_CACHE 1 | 14590 | #define LOCALTIME_CACHE 1 |
| 16075 | _ACEOF | 14591 | _ACEOF |
| 16076 | 14592 | ||
| @@ -16153,7 +14669,8 @@ _ACEOF | |||
| 16153 | fi | 14669 | fi |
| 16154 | done | 14670 | done |
| 16155 | 14671 | ||
| 16156 | echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 | 14672 | if test $ac_cv_func_gettimeofday = yes; then |
| 14673 | echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 | ||
| 16157 | echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 | 14674 | echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 |
| 16158 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then | 14675 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then |
| 16159 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14676 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| @@ -16182,7 +14699,7 @@ int | |||
| 16182 | main () | 14699 | main () |
| 16183 | { | 14700 | { |
| 16184 | struct timeval time; | 14701 | struct timeval time; |
| 16185 | gettimeofday (&time, 0); | 14702 | gettimeofday (&time, 0); |
| 16186 | ; | 14703 | ; |
| 16187 | return 0; | 14704 | return 0; |
| 16188 | } | 14705 | } |
| @@ -16209,11 +14726,13 @@ rm -f conftest.$ac_objext conftest.$ac_ext | |||
| 16209 | fi | 14726 | fi |
| 16210 | echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 14727 | echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
| 16211 | echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 | 14728 | echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 |
| 16212 | if test $emacs_cv_gettimeofday_two_arguments = no; then | 14729 | if test $emacs_cv_gettimeofday_two_arguments = no; then |
| 16213 | cat >>confdefs.h <<\_ACEOF | 14730 | |
| 14731 | cat >>confdefs.h <<\_ACEOF | ||
| 16214 | #define GETTIMEOFDAY_ONE_ARGUMENT 1 | 14732 | #define GETTIMEOFDAY_ONE_ARGUMENT 1 |
| 16215 | _ACEOF | 14733 | _ACEOF |
| 16216 | 14734 | ||
| 14735 | fi | ||
| 16217 | fi | 14736 | fi |
| 16218 | fi | 14737 | fi |
| 16219 | 14738 | ||
| @@ -16600,14 +15119,16 @@ fi | |||
| 16600 | 15119 | ||
| 16601 | fi | 15120 | fi |
| 16602 | if test $ok_so_far = yes; then | 15121 | if test $ok_so_far = yes; then |
| 16603 | cat >>confdefs.h <<\_ACEOF | 15122 | |
| 15123 | cat >>confdefs.h <<\_ACEOF | ||
| 16604 | #define HAVE_INET_SOCKETS 1 | 15124 | #define HAVE_INET_SOCKETS 1 |
| 16605 | _ACEOF | 15125 | _ACEOF |
| 16606 | 15126 | ||
| 16607 | fi | 15127 | fi |
| 16608 | 15128 | ||
| 16609 | if test -f /usr/lpp/X11/bin/smt.exp; then | 15129 | if test -f /usr/lpp/X11/bin/smt.exp; then |
| 16610 | cat >>confdefs.h <<\_ACEOF | 15130 | |
| 15131 | cat >>confdefs.h <<\_ACEOF | ||
| 16611 | #define HAVE_AIX_SMT_EXP 1 | 15132 | #define HAVE_AIX_SMT_EXP 1 |
| 16612 | _ACEOF | 15133 | _ACEOF |
| 16613 | 15134 | ||
| @@ -16618,7 +15139,8 @@ echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 | |||
| 16618 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 15139 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
| 16619 | echo "$as_me:$LINENO: result: yes" >&5 | 15140 | echo "$as_me:$LINENO: result: yes" >&5 |
| 16620 | echo "${ECHO_T}yes" >&6 | 15141 | echo "${ECHO_T}yes" >&6 |
| 16621 | cat >>confdefs.h <<\_ACEOF | 15142 | |
| 15143 | cat >>confdefs.h <<\_ACEOF | ||
| 16622 | #define HAVE_DEV_PTMX 1 | 15144 | #define HAVE_DEV_PTMX 1 |
| 16623 | _ACEOF | 15145 | _ACEOF |
| 16624 | 15146 | ||
| @@ -17209,77 +15731,92 @@ fi | |||
| 17209 | 15731 | ||
| 17210 | 15732 | ||
| 17211 | 15733 | ||
| 15734 | |||
| 17212 | cat >>confdefs.h <<_ACEOF | 15735 | cat >>confdefs.h <<_ACEOF |
| 17213 | #define EMACS_CONFIGURATION "${canonical}" | 15736 | #define EMACS_CONFIGURATION "${canonical}" |
| 17214 | _ACEOF | 15737 | _ACEOF |
| 17215 | 15738 | ||
| 15739 | |||
| 17216 | cat >>confdefs.h <<_ACEOF | 15740 | cat >>confdefs.h <<_ACEOF |
| 17217 | #define EMACS_CONFIG_OPTIONS "${ac_configure_args}" | 15741 | #define EMACS_CONFIG_OPTIONS "${ac_configure_args}" |
| 17218 | _ACEOF | 15742 | _ACEOF |
| 17219 | 15743 | ||
| 15744 | |||
| 17220 | cat >>confdefs.h <<_ACEOF | 15745 | cat >>confdefs.h <<_ACEOF |
| 17221 | #define config_machfile "${machfile}" | 15746 | #define config_machfile "${machfile}" |
| 17222 | _ACEOF | 15747 | _ACEOF |
| 17223 | 15748 | ||
| 15749 | |||
| 17224 | cat >>confdefs.h <<_ACEOF | 15750 | cat >>confdefs.h <<_ACEOF |
| 17225 | #define config_opsysfile "${opsysfile}" | 15751 | #define config_opsysfile "${opsysfile}" |
| 17226 | _ACEOF | 15752 | _ACEOF |
| 17227 | 15753 | ||
| 15754 | |||
| 17228 | cat >>confdefs.h <<_ACEOF | 15755 | cat >>confdefs.h <<_ACEOF |
| 17229 | #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE} | 15756 | #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE} |
| 17230 | _ACEOF | 15757 | _ACEOF |
| 17231 | 15758 | ||
| 15759 | |||
| 17232 | cat >>confdefs.h <<_ACEOF | 15760 | cat >>confdefs.h <<_ACEOF |
| 17233 | #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX} | 15761 | #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX} |
| 17234 | _ACEOF | 15762 | _ACEOF |
| 17235 | 15763 | ||
| 15764 | |||
| 17236 | cat >>confdefs.h <<_ACEOF | 15765 | cat >>confdefs.h <<_ACEOF |
| 17237 | #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE} | 15766 | #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE} |
| 17238 | _ACEOF | 15767 | _ACEOF |
| 17239 | 15768 | ||
| 15769 | |||
| 17240 | cat >>confdefs.h <<_ACEOF | 15770 | cat >>confdefs.h <<_ACEOF |
| 17241 | #define UNEXEC_SRC ${UNEXEC_SRC} | 15771 | #define UNEXEC_SRC ${UNEXEC_SRC} |
| 17242 | _ACEOF | 15772 | _ACEOF |
| 17243 | 15773 | ||
| 17244 | 15774 | ||
| 17245 | if test "${HAVE_X_WINDOWS}" = "yes" ; then | 15775 | if test "${HAVE_X_WINDOWS}" = "yes" ; then |
| 17246 | cat >>confdefs.h <<\_ACEOF | 15776 | |
| 15777 | cat >>confdefs.h <<\_ACEOF | ||
| 17247 | #define HAVE_X_WINDOWS 1 | 15778 | #define HAVE_X_WINDOWS 1 |
| 17248 | _ACEOF | 15779 | _ACEOF |
| 17249 | 15780 | ||
| 17250 | fi | 15781 | fi |
| 17251 | if test "${USE_X_TOOLKIT}" != "none" ; then | 15782 | if test "${USE_X_TOOLKIT}" != "none" ; then |
| 17252 | cat >>confdefs.h <<\_ACEOF | 15783 | |
| 15784 | cat >>confdefs.h <<\_ACEOF | ||
| 17253 | #define USE_X_TOOLKIT 1 | 15785 | #define USE_X_TOOLKIT 1 |
| 17254 | _ACEOF | 15786 | _ACEOF |
| 17255 | 15787 | ||
| 17256 | fi | 15788 | fi |
| 17257 | if test "${HAVE_X11}" = "yes" ; then | 15789 | if test "${HAVE_X11}" = "yes" ; then |
| 17258 | cat >>confdefs.h <<\_ACEOF | 15790 | |
| 15791 | cat >>confdefs.h <<\_ACEOF | ||
| 17259 | #define HAVE_X11 1 | 15792 | #define HAVE_X11 1 |
| 17260 | _ACEOF | 15793 | _ACEOF |
| 17261 | 15794 | ||
| 17262 | fi | 15795 | fi |
| 17263 | if test "${HAVE_XFREE386}" = "yes" ; then | 15796 | if test "${HAVE_XFREE386}" = "yes" ; then |
| 17264 | cat >>confdefs.h <<\_ACEOF | 15797 | |
| 15798 | cat >>confdefs.h <<\_ACEOF | ||
| 17265 | #define HAVE_XFREE386 1 | 15799 | #define HAVE_XFREE386 1 |
| 17266 | _ACEOF | 15800 | _ACEOF |
| 17267 | 15801 | ||
| 17268 | fi | 15802 | fi |
| 17269 | if test "${HAVE_MENUS}" = "yes" ; then | 15803 | if test "${HAVE_MENUS}" = "yes" ; then |
| 17270 | cat >>confdefs.h <<\_ACEOF | 15804 | |
| 15805 | cat >>confdefs.h <<\_ACEOF | ||
| 17271 | #define HAVE_MENUS 1 | 15806 | #define HAVE_MENUS 1 |
| 17272 | _ACEOF | 15807 | _ACEOF |
| 17273 | 15808 | ||
| 17274 | fi | 15809 | fi |
| 17275 | if test "${GNU_MALLOC}" = "yes" ; then | 15810 | if test "${GNU_MALLOC}" = "yes" ; then |
| 17276 | cat >>confdefs.h <<\_ACEOF | 15811 | |
| 15812 | cat >>confdefs.h <<\_ACEOF | ||
| 17277 | #define GNU_MALLOC 1 | 15813 | #define GNU_MALLOC 1 |
| 17278 | _ACEOF | 15814 | _ACEOF |
| 17279 | 15815 | ||
| 17280 | fi | 15816 | fi |
| 17281 | if test "${REL_ALLOC}" = "yes" ; then | 15817 | if test "${REL_ALLOC}" = "yes" ; then |
| 17282 | cat >>confdefs.h <<\_ACEOF | 15818 | |
| 15819 | cat >>confdefs.h <<\_ACEOF | ||
| 17283 | #define REL_ALLOC 1 | 15820 | #define REL_ALLOC 1 |
| 17284 | _ACEOF | 15821 | _ACEOF |
| 17285 | 15822 | ||
| @@ -17404,6 +15941,10 @@ fi | |||
| 17404 | done | 15941 | done |
| 17405 | 15942 | ||
| 17406 | 15943 | ||
| 15944 | |||
| 15945 | |||
| 15946 | |||
| 15947 | |||
| 17407 | #### Report on what we decided to do. | 15948 | #### Report on what we decided to do. |
| 17408 | echo " | 15949 | echo " |
| 17409 | Configured for \`${canonical}'. | 15950 | Configured for \`${canonical}'. |
| @@ -18212,7 +16753,7 @@ esac | |||
| 18212 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 16753 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 18213 | # absolute. | 16754 | # absolute. |
| 18214 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 16755 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 18215 | ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | 16756 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 18216 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 16757 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 18217 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 16758 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| 18218 | 16759 | ||
| @@ -18559,7 +17100,7 @@ esac | |||
| 18559 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 17100 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
| 18560 | # absolute. | 17101 | # absolute. |
| 18561 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 17102 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
| 18562 | ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | 17103 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
| 18563 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 17104 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
| 18564 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 17105 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
| 18565 | 17106 | ||