aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2002-04-14 01:42:18 +0000
committerAndreas Schwab2002-04-14 01:42:18 +0000
commitb936fae4324c4252ecb409ad5e4a39faacf2056c (patch)
tree3b1bbd1f322ac4cfdb7f5a54ea2a26c5643696db
parent5e7d772d7092e5667d423f37435d70a8f1df7bbd (diff)
downloademacs-b936fae4324c4252ecb409ad5e4a39faacf2056c.tar.gz
emacs-b936fae4324c4252ecb409ad5e4a39faacf2056c.zip
Regenerated.
-rwxr-xr-xconfigure1703
1 files changed, 122 insertions, 1581 deletions
diff --git a/configure b/configure
index 265e49af83d..411e9c1eb26 100755
--- a/configure
+++ b/configure
@@ -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.
909ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 909ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
910ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 910ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
911ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 911ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
912ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 912ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
913 913
@@ -1290,6 +1290,7 @@ _ACEOF
1290 1290
1291fi; 1291fi;
1292 1292
1293
1293# Check whether --with-kerberos or --without-kerberos was given. 1294# Check whether --with-kerberos or --without-kerberos was given.
1294if test "${with_kerberos+set}" = set; then 1295if test "${with_kerberos+set}" = set; then
1295 withval="$with_kerberos" 1296 withval="$with_kerberos"
@@ -1299,6 +1300,7 @@ _ACEOF
1299 1300
1300fi; 1301fi;
1301 1302
1303
1302# Check whether --with-kerberos5 or --without-kerberos5 was given. 1304# Check whether --with-kerberos5 or --without-kerberos5 was given.
1303if test "${with_kerberos5+set}" = set; then 1305if 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
1313fi 1315fi
1316
1314cat >>confdefs.h <<\_ACEOF 1317cat >>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.
1321if test "${with_hesiod+set}" = set; then 1324if test "${with_hesiod+set}" = set; then
1322 withval="$with_hesiod" 1325 withval="$with_hesiod"
1323 cat >>confdefs.h <<\_ACEOF 1326
1327cat >>confdefs.h <<\_ACEOF
1324#define HESIOD 1 1328#define HESIOD 1
1325_ACEOF 1329_ACEOF
1326 1330
@@ -5114,7 +5118,8 @@ fi
5114echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 5118echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5
5115echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 5119echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
5116if test $emacs_cv_struct_utimbuf = yes; then 5120if test $emacs_cv_struct_utimbuf = yes; then
5117 cat >>confdefs.h <<\_ACEOF 5121
5122cat >>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
5228echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 5233echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5
5229echo "${ECHO_T}$emacs_cv_speed_t" >&6 5234echo "${ECHO_T}$emacs_cv_speed_t" >&6
5230if test $emacs_cv_speed_t = yes; then 5235if test $emacs_cv_speed_t = yes; then
5231 cat >>confdefs.h <<\_ACEOF 5236
5237cat >>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
5290echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 5296echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
5291HAVE_TIMEVAL=$emacs_cv_struct_timeval 5297HAVE_TIMEVAL=$emacs_cv_struct_timeval
5292if test $emacs_cv_struct_timeval = yes; then 5298if test $emacs_cv_struct_timeval = yes; then
5293 cat >>confdefs.h <<\_ACEOF 5299
5300cat >>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
5343echo "${ECHO_T}$emacs_cv_struct_exception" >&6 5350echo "${ECHO_T}$emacs_cv_struct_exception" >&6
5344HAVE_EXCEPTION=$emacs_cv_struct_exception 5351HAVE_EXCEPTION=$emacs_cv_struct_exception
5345if test $emacs_cv_struct_exception != yes; then 5352if test $emacs_cv_struct_exception != yes; then
5346 cat >>confdefs.h <<\_ACEOF 5353
5354cat >>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
5529fi 5537fi
5530 5538
5531echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5 5539echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
5532echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6 5540echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
5533if test "${emacs_cv_tm_gmtoff+set}" = set; then 5541if 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
5535else 5543else
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
5546int 5555int
5547main () 5556main ()
5548{ 5557{
5549struct tm t; t.tm_gmtoff = 0 5558static struct tm ac_aggr;
5559if (ac_aggr.tm_gmtoff)
5560return 0;
5550 ; 5561 ;
5551 return 0; 5562 return 0;
5552} 5563}
5553_ACEOF 5564_ACEOF
5554rm -f conftest.$ac_objext conftest$ac_exeext 5565rm -f conftest.$ac_objext
5555if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5566if { (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
5567else 5578else
5568 echo "$as_me: failed program was:" >&5 5579 echo "$as_me: failed program was:" >&5
5569cat conftest.$ac_ext >&5 5580cat conftest.$ac_ext >&5
5570emacs_cv_tm_gmtoff=no 5581ac_cv_member_struct_tm_tm_gmtoff=no
5571fi 5582fi
5572rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5583rm -f conftest.$ac_objext conftest.$ac_ext
5573fi 5584fi
5574echo "$as_me:$LINENO: result: $emacs_cv_tm_gmtoff" >&5 5585echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
5575echo "${ECHO_T}$emacs_cv_tm_gmtoff" >&6 5586echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
5576if test $emacs_cv_tm_gmtoff = yes; then 5587if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
5577 cat >>confdefs.h <<\_ACEOF 5588
5589cat >>confdefs.h <<\_ACEOF
5578#define HAVE_TM_GMTOFF 1 5590#define HAVE_TM_GMTOFF 1
5579_ACEOF 5591_ACEOF
5580 5592
5581fi 5593fi
5582 5594
5583 5595
5596
5584echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 5597echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5585echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 5598echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5586if test "${ac_cv_prog_cc_stdc+set}" = set; then 5599if test "${ac_cv_prog_cc_stdc+set}" = set; then
@@ -5909,6 +5922,7 @@ _ACEOF
5909 5922
5910fi 5923fi
5911 5924
5925
5912echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 5926echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
5913echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 5927echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5914set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 5928set 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
6020cat >>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
6545cat >>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
7274echo "${ECHO_T}$emacs_xkb" >&6 7290echo "${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
7293cat >>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
7414echo "${ECHO_T}6 or newer" >&6 7431echo "${ECHO_T}6 or newer" >&6
7415 cat >>confdefs.h <<\_ACEOF 7432
7433cat >>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
7475echo "${ECHO_T}5 or newer" >&6 7493echo "${ECHO_T}5 or newer" >&6
7476 HAVE_X11R5=yes 7494 HAVE_X11R5=yes
7477 cat >>confdefs.h <<\_ACEOF 7495
7496cat >>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
7603echo "${ECHO_T}6 or newer" >&6 7622echo "${ECHO_T}6 or newer" >&6
7604 cat >>confdefs.h <<\_ACEOF 7623
7624cat >>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
7832cat >>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
7872fi 7893fi
7873 7894
7874 if test ${HAVE_LIBXP} = yes; then 7895 if test ${HAVE_LIBXP} = yes; then
7875 cat >>confdefs.h <<\_ACEOF 7896
7897cat >>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
8075cat >>confdefs.h <<\_ACEOF
8053#define HAVE_XAW3D 1 8076#define HAVE_XAW3D 1
8054_ACEOF 8077_ACEOF
8055 8078
@@ -8058,6 +8081,7 @@ _ACEOF
8058fi 8081fi
8059 8082
8060 8083
8084
8061USE_TOOLKIT_SCROLL_BARS=no 8085USE_TOOLKIT_SCROLL_BARS=no
8062if test "${with_toolkit_scroll_bars}" != "no"; then 8086if 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
8082if test "${with_xim}" != "no"; then 8106if test "${with_xim}" != "no"; then
8083 cat >>confdefs.h <<\_ACEOF 8107
8108cat >>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
8315cat >>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
8693cat >>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
8875cat >>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
9056cat >>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
9235cat >>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
9259echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 9290echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5
9260echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 9291echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
9261if test $emacs_cv_netdb_declares_h_errno = yes; then 9292if test $emacs_cv_netdb_declares_h_errno = yes; then
9262 cat >>confdefs.h <<\_ACEOF 9293
9294cat >>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.
9789else 9821else
9790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9791for as_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH 9823as_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
9824for as_dir in $as_dummy
9792do 9825do
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.
9821This probably means that movemail could lose mail. 9854This probably means that movemail could lose mail.
9822There may be a \`development' package to install containing liblockfile." >&2;} 9855There 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
9858cat >>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
10649fi 10683fi
10650 10684
10651if test "$ac_cv_func_working_mktime" = no; then 10685if test "$ac_cv_func_working_mktime" = no; then
10652 cat >>confdefs.h <<\_ACEOF
10653#define BROKEN_MKTIME 1
10654_ACEOF
10655
10656fi
10657
10658ac_have_func=no # yes means we've found a way to get the load average.
10659
10660ac_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
10664echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
10665if test "${ac_cv_func_getloadavg+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10667else
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
10676extern "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. */
10680char getloadavg ();
10681char (*f) ();
10682
10683#ifdef F77_DUMMY_MAIN
10684# ifdef __cplusplus
10685 extern "C"
10686# endif
10687 int F77_DUMMY_MAIN() { return 1; }
10688#endif
10689int
10690main ()
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)
10696choke me
10697#else
10698f = getloadavg;
10699#endif
10700
10701 ;
10702 return 0;
10703}
10704_ACEOF
10705rm -f conftest.$ac_objext conftest$ac_exeext
10706if { (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
10718else
10719 echo "$as_me: failed program was:" >&5
10720cat conftest.$ac_ext >&5
10721ac_cv_func_getloadavg=no
10722fi
10723rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10724fi
10725echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5
10726echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
10727if test $ac_cv_func_getloadavg = yes; then
10728 exit 0
10729else
10730 exit 1
10731fi
10732) && ac_have_func=yes
10733
10734# On HPUX9, an unprivileged user can get load averages through this function.
10735
10736for ac_func in pstat_getdynamic
10737do
10738as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10739echo "$as_me:$LINENO: checking for $ac_func" >&5
10740echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10741if eval "test \"\${$as_ac_var+set}\" = set"; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10743else
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
10752extern "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. */
10756char $ac_func ();
10757char (*f) ();
10758
10759#ifdef F77_DUMMY_MAIN
10760# ifdef __cplusplus
10761 extern "C"
10762# endif
10763 int F77_DUMMY_MAIN() { return 1; }
10764#endif
10765int
10766main ()
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)
10772choke me
10773#else
10774f = $ac_func;
10775#endif
10776
10777 ;
10778 return 0;
10779}
10780_ACEOF
10781rm -f conftest.$ac_objext conftest$ac_exeext
10782if { (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"
10794else
10795 echo "$as_me: failed program was:" >&5
10796cat conftest.$ac_ext >&5
10797eval "$as_ac_var=no"
10798fi
10799rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10800fi
10801echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10802echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10803if 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
10808fi
10809done
10810
10811
10812# Solaris has libkstat which does not require root.
10813
10814echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
10815echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
10816if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
10817 echo $ECHO_N "(cached) $ECHO_C" >&6
10818else
10819 ac_check_lib_save_LIBS=$LIBS
10820LIBS="-lkstat $LIBS"
10821cat >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
10827extern "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. */
10831char kstat_open ();
10832#ifdef F77_DUMMY_MAIN
10833# ifdef __cplusplus
10834 extern "C"
10835# endif
10836 int F77_DUMMY_MAIN() { return 1; }
10837#endif
10838int
10839main ()
10840{
10841kstat_open ();
10842 ;
10843 return 0;
10844}
10845_ACEOF
10846rm -f conftest.$ac_objext conftest$ac_exeext
10847if { (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
10859else
10860 echo "$as_me: failed program was:" >&5
10861cat conftest.$ac_ext >&5
10862ac_cv_lib_kstat_kstat_open=no
10863fi
10864rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10865LIBS=$ac_check_lib_save_LIBS
10866fi
10867echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
10868echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
10869if 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
10876fi
10877
10878test $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.
10884if test $ac_have_func = no; then
10885 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
10886echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
10887if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
10888 echo $ECHO_N "(cached) $ECHO_C" >&6
10889else
10890 ac_check_lib_save_LIBS=$LIBS
10891LIBS="-lelf $LIBS"
10892cat >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
10898extern "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. */
10902char elf_begin ();
10903#ifdef F77_DUMMY_MAIN
10904# ifdef __cplusplus
10905 extern "C"
10906# endif
10907 int F77_DUMMY_MAIN() { return 1; }
10908#endif
10909int
10910main ()
10911{
10912elf_begin ();
10913 ;
10914 return 0;
10915}
10916_ACEOF
10917rm -f conftest.$ac_objext conftest$ac_exeext
10918if { (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
10930else
10931 echo "$as_me: failed program was:" >&5
10932cat conftest.$ac_ext >&5
10933ac_cv_lib_elf_elf_begin=no
10934fi
10935rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10936LIBS=$ac_check_lib_save_LIBS
10937fi
10938echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
10939echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
10940if test $ac_cv_lib_elf_elf_begin = yes; then
10941 LIBS="-lelf $LIBS"
10942fi
10943
10944fi
10945if test $ac_have_func = no; then
10946 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
10947echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
10948if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
10950else
10951 ac_check_lib_save_LIBS=$LIBS
10952LIBS="-lkvm $LIBS"
10953cat >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
10959extern "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. */
10963char kvm_open ();
10964#ifdef F77_DUMMY_MAIN
10965# ifdef __cplusplus
10966 extern "C"
10967# endif
10968 int F77_DUMMY_MAIN() { return 1; }
10969#endif
10970int
10971main ()
10972{
10973kvm_open ();
10974 ;
10975 return 0;
10976}
10977_ACEOF
10978rm -f conftest.$ac_objext conftest$ac_exeext
10979if { (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
10991else
10992 echo "$as_me: failed program was:" >&5
10993cat conftest.$ac_ext >&5
10994ac_cv_lib_kvm_kvm_open=no
10995fi
10996rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10997LIBS=$ac_check_lib_save_LIBS
10998fi
10999echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
11000echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
11001if test $ac_cv_lib_kvm_kvm_open = yes; then
11002 LIBS="-lkvm $LIBS"
11003fi
11004
11005 # Check for the 4.4BSD definition of getloadavg.
11006 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5
11007echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
11008if test "${ac_cv_lib_util_getloadavg+set}" = set; then
11009 echo $ECHO_N "(cached) $ECHO_C" >&6
11010else
11011 ac_check_lib_save_LIBS=$LIBS
11012LIBS="-lutil $LIBS"
11013cat >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
11019extern "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. */
11023char getloadavg ();
11024#ifdef F77_DUMMY_MAIN
11025# ifdef __cplusplus
11026 extern "C"
11027# endif
11028 int F77_DUMMY_MAIN() { return 1; }
11029#endif
11030int
11031main ()
11032{
11033getloadavg ();
11034 ;
11035 return 0;
11036}
11037_ACEOF
11038rm -f conftest.$ac_objext conftest$ac_exeext
11039if { (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
11051else
11052 echo "$as_me: failed program was:" >&5
11053cat conftest.$ac_ext >&5
11054ac_cv_lib_util_getloadavg=no
11055fi
11056rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11057LIBS=$ac_check_lib_save_LIBS
11058fi
11059echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5
11060echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
11061if test $ac_cv_lib_util_getloadavg = yes; then
11062 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
11063fi
11064
11065fi
11066
11067if 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
11073echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
11074if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
11075 echo $ECHO_N "(cached) $ECHO_C" >&6
11076else
11077 ac_check_lib_save_LIBS=$LIBS
11078LIBS="-lgetloadavg $LIBS"
11079cat >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
11085extern "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. */
11089char getloadavg ();
11090#ifdef F77_DUMMY_MAIN
11091# ifdef __cplusplus
11092 extern "C"
11093# endif
11094 int F77_DUMMY_MAIN() { return 1; }
11095#endif
11096int
11097main ()
11098{
11099getloadavg ();
11100 ;
11101 return 0;
11102}
11103_ACEOF
11104rm -f conftest.$ac_objext conftest$ac_exeext
11105if { (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
11117else
11118 echo "$as_me: failed program was:" >&5
11119cat conftest.$ac_ext >&5
11120ac_cv_lib_getloadavg_getloadavg=no
11121fi
11122rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11123LIBS=$ac_check_lib_save_LIBS
11124fi
11125echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5
11126echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
11127if test $ac_cv_lib_getloadavg_getloadavg = yes; then
11128 LIBS="-lgetloadavg $LIBS"
11129else
11130 LIBS=$ac_getloadavg_LIBS
11131fi
11132
11133fi
11134
11135# Make sure it is really in the library, if we think we found it,
11136# otherwise set up the replacement function.
11137
11138for ac_func in getloadavg
11139do
11140as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11141echo "$as_me:$LINENO: checking for $ac_func" >&5
11142echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11143if eval "test \"\${$as_ac_var+set}\" = set"; then
11144 echo $ECHO_N "(cached) $ECHO_C" >&6
11145else
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
11154extern "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. */
11158char $ac_func ();
11159char (*f) ();
11160
11161#ifdef F77_DUMMY_MAIN
11162# ifdef __cplusplus
11163 extern "C"
11164# endif
11165 int F77_DUMMY_MAIN() { return 1; }
11166#endif
11167int
11168main ()
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)
11174choke me
11175#else
11176f = $ac_func;
11177#endif
11178
11179 ;
11180 return 0;
11181}
11182_ACEOF
11183rm -f conftest.$ac_objext conftest$ac_exeext
11184if { (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"
11196else
11197 echo "$as_me: failed program was:" >&5
11198cat conftest.$ac_ext >&5
11199eval "$as_ac_var=no"
11200fi
11201rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11202fi
11203echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11204echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11205if 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
11210else
11211 LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
11212
11213cat >>confdefs.h <<\_ACEOF
11214#define C_GETLOADAVG 1
11215_ACEOF
11216
11217# Figure out what our getloadavg.c needs.
11218ac_have_func=no
11219if 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
11221echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
11222if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11224fi
11225echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
11226echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
11227else
11228 # Is the header compilable?
11229echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
11230echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
11231cat >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
11237rm -f conftest.$ac_objext
11238if { (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
11250else
11251 echo "$as_me: failed program was:" >&5
11252cat conftest.$ac_ext >&5
11253ac_header_compiler=no
11254fi
11255rm -f conftest.$ac_objext conftest.$ac_ext
11256echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11257echo "${ECHO_T}$ac_header_compiler" >&6
11258
11259# Is the header present?
11260echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
11261echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
11262cat >conftest.$ac_ext <<_ACEOF
11263#line $LINENO "configure"
11264#include "confdefs.h"
11265#include <sys/dg_sys_info.h>
11266_ACEOF
11267if { (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
11280else
11281 ac_cpp_err=yes
11282fi
11283if test -z "$ac_cpp_err"; then
11284 ac_header_preproc=yes
11285else
11286 echo "$as_me: failed program was:" >&5
11287 cat conftest.$ac_ext >&5
11288 ac_header_preproc=no
11289fi
11290rm -f conftest.err conftest.$ac_ext
11291echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11292echo "${ECHO_T}$ac_header_preproc" >&6
11293
11294# So? What about this header?
11295case $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
11298echo "$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
11300echo "$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
11303echo "$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
11305echo "$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
11307echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;};;
11308esac
11309echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
11310echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
11311if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
11312 echo $ECHO_N "(cached) $ECHO_C" >&6
11313else
11314 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
11315fi
11316echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
11317echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
11318
11319fi
11320if test $ac_cv_header_sys_dg_sys_info_h = yes; then
11321 ac_have_func=yes
11322
11323cat >>confdefs.h <<\_ACEOF
11324#define DGUX 1
11325_ACEOF
11326
11327
11328echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5
11329echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
11330if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
11331 echo $ECHO_N "(cached) $ECHO_C" >&6
11332else
11333 ac_check_lib_save_LIBS=$LIBS
11334LIBS="-ldgc $LIBS"
11335cat >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
11341extern "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. */
11345char 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
11352int
11353main ()
11354{
11355dg_sys_info ();
11356 ;
11357 return 0;
11358}
11359_ACEOF
11360rm -f conftest.$ac_objext conftest$ac_exeext
11361if { (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
11373else
11374 echo "$as_me: failed program was:" >&5
11375cat conftest.$ac_ext >&5
11376ac_cv_lib_dgc_dg_sys_info=no
11377fi
11378rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11379LIBS=$ac_check_lib_save_LIBS
11380fi
11381echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5
11382echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
11383if 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
11390fi
11391
11392fi
11393
11394
11395
11396if test "${ac_cv_header_locale_h+set}" = set; then
11397 echo "$as_me:$LINENO: checking for locale.h" >&5
11398echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
11399if test "${ac_cv_header_locale_h+set}" = set; then
11400 echo $ECHO_N "(cached) $ECHO_C" >&6
11401fi
11402echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
11403echo "${ECHO_T}$ac_cv_header_locale_h" >&6
11404else
11405 # Is the header compilable?
11406echo "$as_me:$LINENO: checking locale.h usability" >&5
11407echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
11408cat >conftest.$ac_ext <<_ACEOF
11409#line $LINENO "configure"
11410#include "confdefs.h"
11411$ac_includes_default
11412#include <locale.h>
11413_ACEOF
11414rm -f conftest.$ac_objext
11415if { (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
11427else
11428 echo "$as_me: failed program was:" >&5
11429cat conftest.$ac_ext >&5
11430ac_header_compiler=no
11431fi
11432rm -f conftest.$ac_objext conftest.$ac_ext
11433echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11434echo "${ECHO_T}$ac_header_compiler" >&6
11435
11436# Is the header present?
11437echo "$as_me:$LINENO: checking locale.h presence" >&5
11438echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
11439cat >conftest.$ac_ext <<_ACEOF
11440#line $LINENO "configure"
11441#include "confdefs.h"
11442#include <locale.h>
11443_ACEOF
11444if { (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
11457else
11458 ac_cpp_err=yes
11459fi
11460if test -z "$ac_cpp_err"; then
11461 ac_header_preproc=yes
11462else
11463 echo "$as_me: failed program was:" >&5
11464 cat conftest.$ac_ext >&5
11465 ac_header_preproc=no
11466fi
11467rm -f conftest.err conftest.$ac_ext
11468echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11469echo "${ECHO_T}$ac_header_preproc" >&6
11470
11471# So? What about this header?
11472case $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
11475echo "$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
11477echo "$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
11480echo "$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
11482echo "$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
11484echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;};;
11485esac
11486echo "$as_me:$LINENO: checking for locale.h" >&5
11487echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
11488if test "${ac_cv_header_locale_h+set}" = set; then
11489 echo $ECHO_N "(cached) $ECHO_C" >&6
11490else
11491 ac_cv_header_locale_h=$ac_header_preproc
11492fi
11493echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
11494echo "${ECHO_T}$ac_cv_header_locale_h" >&6
11495
11496fi
11497
11498
11499
11500for ac_func in setlocale
11501do
11502as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11503echo "$as_me:$LINENO: checking for $ac_func" >&5
11504echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11505if eval "test \"\${$as_ac_var+set}\" = set"; then
11506 echo $ECHO_N "(cached) $ECHO_C" >&6
11507else
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
11516extern "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. */
11520char $ac_func ();
11521char (*f) ();
11522
11523#ifdef F77_DUMMY_MAIN
11524# ifdef __cplusplus
11525 extern "C"
11526# endif
11527 int F77_DUMMY_MAIN() { return 1; }
11528#endif
11529int
11530main ()
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)
11536choke me
11537#else
11538f = $ac_func;
11539#endif
11540
11541 ;
11542 return 0;
11543}
11544_ACEOF
11545rm -f conftest.$ac_objext conftest$ac_exeext
11546if { (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"
11558else
11559 echo "$as_me: failed program was:" >&5
11560cat conftest.$ac_ext >&5
11561eval "$as_ac_var=no"
11562fi
11563rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11564fi
11565echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11566echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11567if 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
11572fi
11573done
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.
11579if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
11580 ac_have_func=yes
11581
11582cat >>confdefs.h <<\_ACEOF
11583#define SVR4 1
11584_ACEOF
11585
11586fi
11587
11588if 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
11591echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
11592if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
11593 echo $ECHO_N "(cached) $ECHO_C" >&6
11594fi
11595echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
11596echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
11597else
11598 # Is the header compilable?
11599echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5
11600echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6
11601cat >conftest.$ac_ext <<_ACEOF
11602#line $LINENO "configure"
11603#include "confdefs.h"
11604$ac_includes_default
11605#include <inq_stats/cpustats.h>
11606_ACEOF
11607rm -f conftest.$ac_objext
11608if { (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
11620else
11621 echo "$as_me: failed program was:" >&5
11622cat conftest.$ac_ext >&5
11623ac_header_compiler=no
11624fi
11625rm -f conftest.$ac_objext conftest.$ac_ext
11626echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11627echo "${ECHO_T}$ac_header_compiler" >&6
11628
11629# Is the header present?
11630echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5
11631echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6
11632cat >conftest.$ac_ext <<_ACEOF
11633#line $LINENO "configure"
11634#include "confdefs.h"
11635#include <inq_stats/cpustats.h>
11636_ACEOF
11637if { (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
11650else
11651 ac_cpp_err=yes
11652fi
11653if test -z "$ac_cpp_err"; then
11654 ac_header_preproc=yes
11655else
11656 echo "$as_me: failed program was:" >&5
11657 cat conftest.$ac_ext >&5
11658 ac_header_preproc=no
11659fi
11660rm -f conftest.err conftest.$ac_ext
11661echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11662echo "${ECHO_T}$ac_header_preproc" >&6
11663
11664# So? What about this header?
11665case $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
11668echo "$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
11670echo "$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
11673echo "$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
11675echo "$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
11677echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11678esac
11679echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5
11680echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
11681if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11683else
11684 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc
11685fi
11686echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5
11687echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
11688
11689fi
11690if test $ac_cv_header_inq_stats_cpustats_h = yes; then
11691 ac_have_func=yes
11692
11693cat >>confdefs.h <<\_ACEOF
11694#define UMAX 1
11695_ACEOF
11696
11697
11698cat >>confdefs.h <<\_ACEOF
11699#define UMAX4_3 1
11700_ACEOF
11701
11702fi
11703
11704
11705fi
11706
11707if 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
11710echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
11711if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11712 echo $ECHO_N "(cached) $ECHO_C" >&6
11713fi
11714echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
11715echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
11716else
11717 # Is the header compilable?
11718echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5
11719echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6
11720cat >conftest.$ac_ext <<_ACEOF
11721#line $LINENO "configure"
11722#include "confdefs.h"
11723$ac_includes_default
11724#include <sys/cpustats.h>
11725_ACEOF
11726rm -f conftest.$ac_objext
11727if { (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
11739else
11740 echo "$as_me: failed program was:" >&5
11741cat conftest.$ac_ext >&5
11742ac_header_compiler=no
11743fi
11744rm -f conftest.$ac_objext conftest.$ac_ext
11745echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11746echo "${ECHO_T}$ac_header_compiler" >&6
11747
11748# Is the header present?
11749echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5
11750echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6
11751cat >conftest.$ac_ext <<_ACEOF
11752#line $LINENO "configure"
11753#include "confdefs.h"
11754#include <sys/cpustats.h>
11755_ACEOF
11756if { (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
11769else
11770 ac_cpp_err=yes
11771fi
11772if test -z "$ac_cpp_err"; then
11773 ac_header_preproc=yes
11774else
11775 echo "$as_me: failed program was:" >&5
11776 cat conftest.$ac_ext >&5
11777 ac_header_preproc=no
11778fi
11779rm -f conftest.err conftest.$ac_ext
11780echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11781echo "${ECHO_T}$ac_header_preproc" >&6
11782
11783# So? What about this header?
11784case $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
11787echo "$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
11789echo "$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
11792echo "$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
11794echo "$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
11796echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;};;
11797esac
11798echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5
11799echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
11800if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
11802else
11803 ac_cv_header_sys_cpustats_h=$ac_header_preproc
11804fi
11805echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5
11806echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
11807
11808fi
11809if 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
11814fi
11815
11816
11817fi
11818
11819if test $ac_have_func = no; then
11820
11821for ac_header in mach/mach.h
11822do
11823as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11824if eval "test \"\${$as_ac_Header+set}\" = set"; then
11825 echo "$as_me:$LINENO: checking for $ac_header" >&5
11826echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11827if eval "test \"\${$as_ac_Header+set}\" = set"; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11829fi
11830echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11831echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11832else
11833 # Is the header compilable?
11834echo "$as_me:$LINENO: checking $ac_header usability" >&5
11835echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11836cat >conftest.$ac_ext <<_ACEOF
11837#line $LINENO "configure"
11838#include "confdefs.h"
11839$ac_includes_default
11840#include <$ac_header>
11841_ACEOF
11842rm -f conftest.$ac_objext
11843if { (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
11855else
11856 echo "$as_me: failed program was:" >&5
11857cat conftest.$ac_ext >&5
11858ac_header_compiler=no
11859fi
11860rm -f conftest.$ac_objext conftest.$ac_ext
11861echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11862echo "${ECHO_T}$ac_header_compiler" >&6
11863
11864# Is the header present?
11865echo "$as_me:$LINENO: checking $ac_header presence" >&5
11866echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11867cat >conftest.$ac_ext <<_ACEOF
11868#line $LINENO "configure"
11869#include "confdefs.h"
11870#include <$ac_header>
11871_ACEOF
11872if { (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
11885else
11886 ac_cpp_err=yes
11887fi
11888if test -z "$ac_cpp_err"; then
11889 ac_header_preproc=yes
11890else
11891 echo "$as_me: failed program was:" >&5
11892 cat conftest.$ac_ext >&5
11893 ac_header_preproc=no
11894fi
11895rm -f conftest.err conftest.$ac_ext
11896echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11897echo "${ECHO_T}$ac_header_preproc" >&6
11898
11899# So? What about this header?
11900case $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
11903echo "$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
11905echo "$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
11908echo "$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
11910echo "$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
11912echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
11913esac
11914echo "$as_me:$LINENO: checking for $ac_header" >&5
11915echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11916if eval "test \"\${$as_ac_Header+set}\" = set"; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11918else
11919 eval "$as_ac_Header=$ac_header_preproc"
11920fi
11921echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11922echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11923
11924fi
11925if 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
11930fi
11931
11932done
11933
11934fi
11935
11936
11937for ac_header in nlist.h
11938do
11939as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11940if eval "test \"\${$as_ac_Header+set}\" = set"; then
11941 echo "$as_me:$LINENO: checking for $ac_header" >&5
11942echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11943if eval "test \"\${$as_ac_Header+set}\" = set"; then
11944 echo $ECHO_N "(cached) $ECHO_C" >&6
11945fi
11946echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11947echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11948else
11949 # Is the header compilable?
11950echo "$as_me:$LINENO: checking $ac_header usability" >&5
11951echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11952cat >conftest.$ac_ext <<_ACEOF
11953#line $LINENO "configure"
11954#include "confdefs.h"
11955$ac_includes_default
11956#include <$ac_header>
11957_ACEOF
11958rm -f conftest.$ac_objext
11959if { (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
11971else
11972 echo "$as_me: failed program was:" >&5
11973cat conftest.$ac_ext >&5
11974ac_header_compiler=no
11975fi
11976rm -f conftest.$ac_objext conftest.$ac_ext
11977echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11978echo "${ECHO_T}$ac_header_compiler" >&6
11979
11980# Is the header present?
11981echo "$as_me:$LINENO: checking $ac_header presence" >&5
11982echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11983cat >conftest.$ac_ext <<_ACEOF
11984#line $LINENO "configure"
11985#include "confdefs.h"
11986#include <$ac_header>
11987_ACEOF
11988if { (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
12001else
12002 ac_cpp_err=yes
12003fi
12004if test -z "$ac_cpp_err"; then
12005 ac_header_preproc=yes
12006else
12007 echo "$as_me: failed program was:" >&5
12008 cat conftest.$ac_ext >&5
12009 ac_header_preproc=no
12010fi
12011rm -f conftest.err conftest.$ac_ext
12012echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12013echo "${ECHO_T}$ac_header_preproc" >&6
12014
12015# So? What about this header?
12016case $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
12019echo "$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
12021echo "$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
12024echo "$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
12026echo "$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
12028echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
12029esac
12030echo "$as_me:$LINENO: checking for $ac_header" >&5
12031echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12032if eval "test \"\${$as_ac_Header+set}\" = set"; then
12033 echo $ECHO_N "(cached) $ECHO_C" >&6
12034else
12035 eval "$as_ac_Header=$ac_header_preproc"
12036fi
12037echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12038echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12039
12040fi
12041if 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
12046echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
12047if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12049else
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
12061int
12062main ()
12063{
12064static struct nlist ac_aggr;
12065if (ac_aggr.n_un.n_name)
12066return 0;
12067 ;
12068 return 0;
12069}
12070_ACEOF
12071rm -f conftest.$ac_objext
12072if { (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
12084else
12085 echo "$as_me: failed program was:" >&5
12086cat conftest.$ac_ext >&5
12087ac_cv_member_struct_nlist_n_un_n_name=no
12088fi
12089rm -f conftest.$ac_objext conftest.$ac_ext
12090fi
12091echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
12092echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
12093if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
12094
12095cat >>confdefs.h <<_ACEOF
12096#define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
12097_ACEOF
12098
12099
12100cat >>confdefs.h <<\_ACEOF
12101#define NLIST_NAME_UNION 1
12102_ACEOF
12103
12104fi
12105
12106
12107fi
12108
12109done
12110
12111fi
12112done
12113
12114
12115# Some definitions of getloadavg require that the program be installed setgid.
12116echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5
12117echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
12118if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
12119 echo $ECHO_N "(cached) $ECHO_C" >&6
12120else
12121 cat >conftest.$ac_ext <<_ACEOF
12122#line $LINENO "configure"
12123#include "confdefs.h"
12124#include "$srcdir/getloadavg.c"
12125#ifdef LDAV_PRIVILEGED
12126Yowza Am I SETGID yet
12127#endif
12128_ACEOF
12129if (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
12132else
12133 ac_cv_func_getloadavg_setgid=no
12134fi
12135rm -f conftest*
12136
12137fi
12138echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5
12139echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
12140if test $ac_cv_func_getloadavg_setgid = yes; then
12141 NEED_SETGID=true
12142 10686
12143cat >>confdefs.h <<\_ACEOF 10687cat >>confdefs.h <<\_ACEOF
12144#define GETLOADAVG_PRIVILEGED 1 10688#define BROKEN_MKTIME 1
12145_ACEOF 10689_ACEOF
12146 10690
12147else
12148 NEED_SETGID=false
12149fi
12150
12151if test $ac_cv_func_getloadavg_setgid = yes; then
12152 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5
12153echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
12154if test "${ac_cv_group_kmem+set}" = set; then
12155 echo $ECHO_N "(cached) $ECHO_C" >&6
12156else
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
12166fi
12167echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5
12168echo "${ECHO_T}$ac_cv_group_kmem" >&6
12169 KMEM_GROUP=$ac_cv_group_kmem
12170fi
12171if test "x$ac_save_LIBS" = x; then
12172 GETLOADAVG_LIBS=$LIBS
12173else
12174 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
12175fi 10691fi
12176LIBS=$ac_save_LIBS
12177
12178
12179 10692
12180ac_have_func=no # yes means we've found a way to get the load average. 10693ac_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
12856cat >>confdefs.h <<\_ACEOF
14343#define HAVE_LIBRESOLV 1 12857#define HAVE_LIBRESOLV 1
14344_ACEOF 12858_ACEOF
14345 12859
@@ -14469,7 +12983,8 @@ fi
14469echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 12983echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
14470echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 12984echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
14471if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then 12985if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
14472 cat >>confdefs.h <<\_ACEOF 12986
12987cat >>confdefs.h <<\_ACEOF
14473#define HAVE_LIBHESIOD 1 12988#define HAVE_LIBHESIOD 1
14474_ACEOF 12989_ACEOF
14475 12990
@@ -16070,7 +14585,8 @@ fi
16070echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 14585echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5
16071echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 14586echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
16072if test $emacs_cv_localtime_cache = yes; then 14587if test $emacs_cv_localtime_cache = yes; then
16073 cat >>confdefs.h <<\_ACEOF 14588
14589cat >>confdefs.h <<\_ACEOF
16074#define LOCALTIME_CACHE 1 14590#define LOCALTIME_CACHE 1
16075_ACEOF 14591_ACEOF
16076 14592
@@ -16153,7 +14669,8 @@ _ACEOF
16153fi 14669fi
16154done 14670done
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
16157echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 14674echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
16158if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then 14675if 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
16182main () 14699main ()
16183{ 14700{
16184struct timeval time; 14701struct 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
16209fi 14726fi
16210echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 14727echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5
16211echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 14728echo "${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
14731cat >>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
16218fi 14737fi
16219 14738
@@ -16600,14 +15119,16 @@ fi
16600 15119
16601fi 15120fi
16602if test $ok_so_far = yes; then 15121if test $ok_so_far = yes; then
16603 cat >>confdefs.h <<\_ACEOF 15122
15123cat >>confdefs.h <<\_ACEOF
16604#define HAVE_INET_SOCKETS 1 15124#define HAVE_INET_SOCKETS 1
16605_ACEOF 15125_ACEOF
16606 15126
16607fi 15127fi
16608 15128
16609if test -f /usr/lpp/X11/bin/smt.exp; then 15129if test -f /usr/lpp/X11/bin/smt.exp; then
16610 cat >>confdefs.h <<\_ACEOF 15130
15131cat >>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
16618if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 15139if 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
16620echo "${ECHO_T}yes" >&6 15141echo "${ECHO_T}yes" >&6
16621 cat >>confdefs.h <<\_ACEOF 15142
15143cat >>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
17212cat >>confdefs.h <<_ACEOF 15735cat >>confdefs.h <<_ACEOF
17213#define EMACS_CONFIGURATION "${canonical}" 15736#define EMACS_CONFIGURATION "${canonical}"
17214_ACEOF 15737_ACEOF
17215 15738
15739
17216cat >>confdefs.h <<_ACEOF 15740cat >>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
17220cat >>confdefs.h <<_ACEOF 15745cat >>confdefs.h <<_ACEOF
17221#define config_machfile "${machfile}" 15746#define config_machfile "${machfile}"
17222_ACEOF 15747_ACEOF
17223 15748
15749
17224cat >>confdefs.h <<_ACEOF 15750cat >>confdefs.h <<_ACEOF
17225#define config_opsysfile "${opsysfile}" 15751#define config_opsysfile "${opsysfile}"
17226_ACEOF 15752_ACEOF
17227 15753
15754
17228cat >>confdefs.h <<_ACEOF 15755cat >>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
17232cat >>confdefs.h <<_ACEOF 15760cat >>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
17236cat >>confdefs.h <<_ACEOF 15765cat >>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
17240cat >>confdefs.h <<_ACEOF 15770cat >>confdefs.h <<_ACEOF
17241#define UNEXEC_SRC ${UNEXEC_SRC} 15771#define UNEXEC_SRC ${UNEXEC_SRC}
17242_ACEOF 15772_ACEOF
17243 15773
17244 15774
17245if test "${HAVE_X_WINDOWS}" = "yes" ; then 15775if test "${HAVE_X_WINDOWS}" = "yes" ; then
17246 cat >>confdefs.h <<\_ACEOF 15776
15777cat >>confdefs.h <<\_ACEOF
17247#define HAVE_X_WINDOWS 1 15778#define HAVE_X_WINDOWS 1
17248_ACEOF 15779_ACEOF
17249 15780
17250fi 15781fi
17251if test "${USE_X_TOOLKIT}" != "none" ; then 15782if test "${USE_X_TOOLKIT}" != "none" ; then
17252 cat >>confdefs.h <<\_ACEOF 15783
15784cat >>confdefs.h <<\_ACEOF
17253#define USE_X_TOOLKIT 1 15785#define USE_X_TOOLKIT 1
17254_ACEOF 15786_ACEOF
17255 15787
17256fi 15788fi
17257if test "${HAVE_X11}" = "yes" ; then 15789if test "${HAVE_X11}" = "yes" ; then
17258 cat >>confdefs.h <<\_ACEOF 15790
15791cat >>confdefs.h <<\_ACEOF
17259#define HAVE_X11 1 15792#define HAVE_X11 1
17260_ACEOF 15793_ACEOF
17261 15794
17262fi 15795fi
17263if test "${HAVE_XFREE386}" = "yes" ; then 15796if test "${HAVE_XFREE386}" = "yes" ; then
17264 cat >>confdefs.h <<\_ACEOF 15797
15798cat >>confdefs.h <<\_ACEOF
17265#define HAVE_XFREE386 1 15799#define HAVE_XFREE386 1
17266_ACEOF 15800_ACEOF
17267 15801
17268fi 15802fi
17269if test "${HAVE_MENUS}" = "yes" ; then 15803if test "${HAVE_MENUS}" = "yes" ; then
17270 cat >>confdefs.h <<\_ACEOF 15804
15805cat >>confdefs.h <<\_ACEOF
17271#define HAVE_MENUS 1 15806#define HAVE_MENUS 1
17272_ACEOF 15807_ACEOF
17273 15808
17274fi 15809fi
17275if test "${GNU_MALLOC}" = "yes" ; then 15810if test "${GNU_MALLOC}" = "yes" ; then
17276 cat >>confdefs.h <<\_ACEOF 15811
15812cat >>confdefs.h <<\_ACEOF
17277#define GNU_MALLOC 1 15813#define GNU_MALLOC 1
17278_ACEOF 15814_ACEOF
17279 15815
17280fi 15816fi
17281if test "${REL_ALLOC}" = "yes" ; then 15817if test "${REL_ALLOC}" = "yes" ; then
17282 cat >>confdefs.h <<\_ACEOF 15818
15819cat >>confdefs.h <<\_ACEOF
17283#define REL_ALLOC 1 15820#define REL_ALLOC 1
17284_ACEOF 15821_ACEOF
17285 15822
@@ -17404,6 +15941,10 @@ fi
17404done 15941done
17405 15942
17406 15943
15944
15945
15946
15947
17407#### Report on what we decided to do. 15948#### Report on what we decided to do.
17408echo " 15949echo "
17409Configured for \`${canonical}'. 15950Configured 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.
18214ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 16755ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
18215ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 16756ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
18216ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 16757ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18217ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 16758ac_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.
18561ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 17102ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
18562ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 17103ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
18563ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 17104ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18564ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 17105ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
18565 17106