mirror of
https://github.com/mirror/make.git
synced 2025-02-05 09:10:12 +08:00
Last-minute changed for 3.75.1
This commit is contained in:
parent
0ada207e2d
commit
73fcfdbe24
@ -2,9 +2,16 @@ Mon Apr 7 02:06:22 1997 Paul D. Smith <psmith@baynetworks.com>
|
|||||||
|
|
||||||
* Version 3.75.1
|
* Version 3.75.1
|
||||||
|
|
||||||
* compatMakefile (objs): Define & use theo $(GLOB) variable so
|
* compatMakefile (objs): Define & use the $(GLOB) variable so
|
||||||
that it's removed correctly from build.sh.in when it's built.
|
that it's removed correctly from build.sh.in when it's built.
|
||||||
|
|
||||||
|
* configure.in: On Solaris we can use the kstat_*() functions to
|
||||||
|
get load averages without needing special permissions. Add a
|
||||||
|
check for -lkstat to see if we have it.
|
||||||
|
|
||||||
|
* getloadavg.c (getloadavg): Use HAVE_LIBKSTAT instead of SUN5 as
|
||||||
|
the test to enable kstat_open(), etc. processing.
|
||||||
|
|
||||||
Fri Apr 4 20:21:18 1997 Eli Zaretskii <eliz@is.elta.co.il>
|
Fri Apr 4 20:21:18 1997 Eli Zaretskii <eliz@is.elta.co.il>
|
||||||
|
|
||||||
* <lots>: Fixes to work in the DJGPP DOS environment.
|
* <lots>: Fixes to work in the DJGPP DOS environment.
|
||||||
|
@ -38,9 +38,6 @@
|
|||||||
/* Define if your system has a working fnmatch function. */
|
/* Define if your system has a working fnmatch function. */
|
||||||
#undef HAVE_FNMATCH
|
#undef HAVE_FNMATCH
|
||||||
|
|
||||||
/* Define if your system has its own `getloadavg' function. */
|
|
||||||
#undef HAVE_GETLOADAVG
|
|
||||||
|
|
||||||
/* Define if you have the getmntent function. */
|
/* Define if you have the getmntent function. */
|
||||||
#undef HAVE_GETMNTENT
|
#undef HAVE_GETMNTENT
|
||||||
|
|
||||||
@ -185,6 +182,9 @@
|
|||||||
/* Define if you have the getgroups function. */
|
/* Define if you have the getgroups function. */
|
||||||
#undef HAVE_GETGROUPS
|
#undef HAVE_GETGROUPS
|
||||||
|
|
||||||
|
/* Define if you have the getloadavg function. */
|
||||||
|
#undef HAVE_GETLOADAVG
|
||||||
|
|
||||||
/* Define if you have the memmove function. */
|
/* Define if you have the memmove function. */
|
||||||
#undef HAVE_MEMMOVE
|
#undef HAVE_MEMMOVE
|
||||||
|
|
||||||
@ -266,5 +266,8 @@
|
|||||||
/* Define if you have the dgc library (-ldgc). */
|
/* Define if you have the dgc library (-ldgc). */
|
||||||
#undef HAVE_LIBDGC
|
#undef HAVE_LIBDGC
|
||||||
|
|
||||||
|
/* Define if you have the kstat library (-lkstat). */
|
||||||
|
#undef HAVE_LIBKSTAT
|
||||||
|
|
||||||
/* Define if you have the sun library (-lsun). */
|
/* Define if you have the sun library (-lsun). */
|
||||||
#undef HAVE_LIBSUN
|
#undef HAVE_LIBSUN
|
||||||
|
@ -46,6 +46,7 @@ AC_FUNC_ALLOCA
|
|||||||
AC_FUNC_VFORK
|
AC_FUNC_VFORK
|
||||||
AC_FUNC_SETVBUF_REVERSED
|
AC_FUNC_SETVBUF_REVERSED
|
||||||
AC_FUNC_GETLOADAVG
|
AC_FUNC_GETLOADAVG
|
||||||
|
AC_CHECK_LIB(kstat, kstat_open)
|
||||||
AC_FUNC_STRCOLL
|
AC_FUNC_STRCOLL
|
||||||
|
|
||||||
# Check out the wait reality.
|
# Check out the wait reality.
|
||||||
|
@ -541,7 +541,7 @@ getloadavg (loadavg, nelem)
|
|||||||
elem = -1;
|
elem = -1;
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if !defined (LDAV_DONE) && defined (SUNOS_5)
|
# if !defined (LDAV_DONE) && defined (HAVE_LIBKSTAT)
|
||||||
/* Use libkstat because we don't have to be root. */
|
/* Use libkstat because we don't have to be root. */
|
||||||
# define LDAV_DONE
|
# define LDAV_DONE
|
||||||
kstat_ctl_t *kc;
|
kstat_ctl_t *kc;
|
||||||
@ -586,7 +586,7 @@ getloadavg (loadavg, nelem)
|
|||||||
}
|
}
|
||||||
|
|
||||||
kstat_close (kc);
|
kstat_close (kc);
|
||||||
# endif /* SUNOS_5 */
|
# endif /* HAVE_LIBKSTAT */
|
||||||
|
|
||||||
# if !defined (LDAV_DONE) && defined (hpux) && defined (HAVE_PSTAT_GETDYNAMIC)
|
# if !defined (LDAV_DONE) && defined (hpux) && defined (HAVE_PSTAT_GETDYNAMIC)
|
||||||
/* Use pstat_getdynamic() because we don't have to be root. */
|
/* Use pstat_getdynamic() because we don't have to be root. */
|
||||||
|
Loading…
Reference in New Issue
Block a user