Commit graph

47 commits

Author SHA1 Message Date
Paul Smith
6374309c6d Convert the source code to use ANSI C style function definitions and
enable the automake ansi2knr capability.

Right now this doesn't quite build using a K&R compiler because of a
problem with the loadavg test program, but the rest of the code works.  I'm
asking the automake list about this problem.
2002-10-14 21:54:04 +00:00
Paul Smith
9052b52dfc Fix Debian bug #144306: pass target-specific variables into the environment
properly.

Fix configure: allow cross-compilation; fix getloadavg (still needs _lots_
of work!)

Let $(call ...) functions to be self-referencing.  Lets us do transitive
closures, for example.
2002-05-10 03:15:07 +00:00
Paul Smith
3a8a7a5d00 Updates and fixes for CVS builds.
Created a README.cvs describing the procedure.
2002-04-22 02:11:31 +00:00
Paul Smith
73846549f6 * Fix memory leaks, fd leaks, and some long-standing bugs recognizing when
targets need to have their modtimes rechecked (-n, etc.)
1999-07-20 22:34:41 +00:00
Paul Smith
2c64fb221a Checkpoint changes. Bug fixes, mostly. 1998-10-03 05:39:55 +00:00
Richard M. Stallman
b5722838c2 Treat __GNU__ line NeXT: undefine BSD and FSCALE. 1998-09-27 07:29:59 +00:00
Paul Smith
e2403327e9 GNU make release 3.77. 1998-07-30 20:54:47 +00:00
Richard M. Stallman
806c7aa46c Test __unix' along with unix'. 1997-07-22 21:35:43 +00:00
Jim Meyering
47daa6787e Add comment describing HAVE_PSTAT_GETDYNAMIC. 1997-07-15 13:21:56 +00:00
Richard M. Stallman
cf9aa5b70b [OSF_ALPHA]: Include sys/mbuf.h, sys/socket.h, net/route.h. 1997-07-06 23:43:39 +00:00
Richard M. Stallman
35f1bbbe23 [__GNU__]: Test for not NeXT. 1997-07-04 04:45:19 +00:00
Paul Smith
73fcfdbe24 Last-minute changed for 3.75.1 1997-04-07 18:02:17 +00:00
Paul Smith
0ada207e2d Changes for make 3.75.1 1997-04-07 07:21:16 +00:00
Miles Bader
30c9fcfec3 [__GNU__] (NeXT, host_self):
New macros, to make hurd systems use the NeXT code for getting load averages.
1997-02-23 03:38:49 +00:00
Jim Meyering
9012013552 [hpux && HAVE_PSTAT_GETDYNAMIC]: Use HPUX's pstat_getdynamic so
we don't need any special privileges to determine load averages.
Patch from Kaveh Ghazi, based on a sample implementation from
Richard J. Rauenzahn.
Indent cpp-directives to reflect nesting.
1997-01-16 03:33:02 +00:00
Jim Meyering
c71e4ac269 [__hpux]: Define hpux. From Eric Backus.
[__sun]: Define sun.  Reported by Kaveh Ghazi.
1996-10-10 03:29:50 +00:00
Richard M. Stallman
5206d3f2bc (getloadavg): Add new code for SUNOS_5 to use -lkstat. 1996-09-10 19:50:17 +00:00
Karl Heuer
3d3252b8de [SOLARIS2]: Define SUNOS_5. 1996-05-28 00:17:16 +00:00
Roland McGrath
d369e0531a [WIN32]: No-op as for [MSDOS]. 1996-05-22 21:47:37 +00:00
Karl Heuer
0569ceb303 Update FSF address in comment. 1996-02-01 18:44:05 +00:00
Richard M. Stallman
21fed1fbcc (getloadavg) [MSDOS]: Return 0 load instead of failing the call. 1995-12-28 23:28:35 +00:00
Roland McGrath
ee2b67af6d [ps2]: Use nlist instead of knlist #ifdef _AIX. 1995-08-07 20:48:08 +00:00
Roland McGrath
8b3f13f6ec (getloadavg): Set FD_CLOEXEC flag on /dev/kmem file descriptor. 1995-08-01 18:29:36 +00:00
Roland McGrath
3f49392b9c [convex] (LOAD_AVE_TYPE, LDAV_CVT): Define to double, no conversion. 1995-06-20 07:50:41 +00:00
Roland McGrath
7acd99c5e6 AIX support from Tim Bell <tbel@afsmail.cern.ch>:
[_AIX] (LOAD_AVE_TYPE, FSCALE, NLIST_STRUCT): Define these for AIX.
(getloadavg) [_AIX]: Use `knlist' instead of `nlist'.
1995-05-10 15:03:48 +00:00
Roland McGrath
4aa992616f Include config.h first. 1995-01-07 16:57:36 +00:00
Roland McGrath
612a29e0dd [alliant && i860] (FSCALE): Move defn before #ifndef FSCALE. 1994-10-27 00:34:56 +00:00
Roland McGrath
e9521d3447 [alliant && i860] (LOAD_AVE_TYPE, FSCALE, NLIST_STRUCT): Define. 1994-09-28 21:00:06 +00:00
David J. MacKenzie
990c39d973 REMOVE CONFIG_BROKETS 1994-09-26 21:56:21 +00:00
Richard M. Stallman
c1e20276cb (getloadavg): Add OSF_ALPHA support. 1994-09-17 00:16:57 +00:00
Roland McGrath
0cb47363e1 Put #include of errno.h and decl of errno before #ifndef HAVE_GETLOADAVG. 1994-06-04 05:24:48 +00:00
Roland McGrath
78454538f9 entered into RCS 1993-11-03 13:06:04 +00:00
Roland McGrath
492f92b9ec *** empty log message *** 1993-10-03 19:33:04 +00:00
Roland McGrath
3087dcdb2e *** empty log message *** 1993-09-20 20:02:01 +00:00
Roland McGrath
9dcfb711c1 *** empty log message *** 1993-08-12 22:17:13 +00:00
Roland McGrath
e75d998e50 *** empty log message *** 1993-08-02 20:48:12 +00:00
Roland McGrath
ae087fbb2f *** empty log message *** 1993-08-01 23:03:26 +00:00
Roland McGrath
cbeeeafde9 *** empty log message *** 1993-08-01 20:39:38 +00:00
Roland McGrath
e22a936ca5 *** empty log message *** 1993-07-30 03:20:49 +00:00
Roland McGrath
9f33e6cdcb *** empty log message *** 1993-07-27 00:37:13 +00:00
Roland McGrath
245d0b3772 *** empty log message *** 1993-07-26 17:37:11 +00:00
David J. MacKenzie
c2cc8e33fb *** empty log message *** 1993-07-12 22:13:12 +00:00
David J. MacKenzie
3a511f5874 *** empty log message *** 1993-07-06 23:07:30 +00:00
Roland McGrath
122c9699fa *** empty log message *** 1993-06-09 20:28:35 +00:00
Jim Blandy
7089c07d4e *** empty log message *** 1993-06-09 09:23:12 +00:00
Roland McGrath
f846c07d43 *** empty log message *** 1993-05-24 21:41:18 +00:00
Roland McGrath
29acbbea8d Initial revision 1993-05-20 20:22:34 +00:00