Mercurial > hg > octave-kai > gnulib-hg
annotate modules/getloadavg @ 17431:744044c581c4
getcwd-lgpl: port to Tru64
* lib/getcwd-lgpl.c: Include <stdlib.h>, for malloc etc.
Problem reported by Steven M. Schweda in
<http://lists.gnu.org/archive/html/bug-gzip/2013-06/msg00010.html>.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 11 Jun 2013 19:52:46 -0700 |
parents | 952734b45495 |
children |
rev | line source |
---|---|
4110 | 1 Description: |
4172 | 2 Return the current system load averages. |
4110 | 3 |
4 Files: | |
5 lib/getloadavg.c | |
7243
519053e57f74
* modules/getloadavg (Files): Add m4/getloadavg.m4.
Paul Eggert <eggert@cs.ucla.edu>
parents:
6657
diff
changeset
|
6 m4/getloadavg.m4 |
4110 | 7 |
8 Depends-on: | |
12577
64b96a2d148c
maint: remove useless inclusions of "alloca.h"
Jim Meyering <meyering@redhat.com>
parents:
10665
diff
changeset
|
9 extensions |
6657
25df81cf2f51
* modules/intprops: New file.
Paul Eggert <eggert@cs.ucla.edu>
parents:
6275
diff
changeset
|
10 intprops |
5820
aec0a1f23054
(Depends-on): Add stdbool.
Paul Eggert <eggert@cs.ucla.edu>
parents:
5813
diff
changeset
|
11 stdbool |
12577
64b96a2d148c
maint: remove useless inclusions of "alloca.h"
Jim Meyering <meyering@redhat.com>
parents:
10665
diff
changeset
|
12 stdlib |
4110 | 13 |
14 configure.ac: | |
14835
7740f92f7ee8
getloadavg: Remove an unreliable safety check.
Bruno Haible <bruno@clisp.org>
parents:
14363
diff
changeset
|
15 gl_GETLOADAVG |
14965
952734b45495
getloadavg: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14835
diff
changeset
|
16 if test $HAVE_GETLOADAVG = 0; then |
952734b45495
getloadavg: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14835
diff
changeset
|
17 AC_LIBOBJ([getloadavg]) |
952734b45495
getloadavg: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14835
diff
changeset
|
18 gl_PREREQ_GETLOADAVG |
952734b45495
getloadavg: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14835
diff
changeset
|
19 fi |
10665
5394a3a10398
Add a getloadavg() declaration to <stdlib.h>.
Bruno Haible <bruno@clisp.org>
parents:
7497
diff
changeset
|
20 gl_STDLIB_MODULE_INDICATOR([getloadavg]) |
4110 | 21 |
22 Makefile.am: | |
23 | |
24 Include: | |
10665
5394a3a10398
Add a getloadavg() declaration to <stdlib.h>.
Bruno Haible <bruno@clisp.org>
parents:
7497
diff
changeset
|
25 <stdlib.h> |
4110 | 26 |
14363
d937d219a168
getloadavg: Fix link error on Solaris 2.6.
Bruno Haible <bruno@clisp.org>
parents:
14313
diff
changeset
|
27 Link: |
d937d219a168
getloadavg: Fix link error on Solaris 2.6.
Bruno Haible <bruno@clisp.org>
parents:
14313
diff
changeset
|
28 $(GETLOADAVG_LIBS) |
d937d219a168
getloadavg: Fix link error on Solaris 2.6.
Bruno Haible <bruno@clisp.org>
parents:
14313
diff
changeset
|
29 |
5251
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
4979
diff
changeset
|
30 License: |
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
4979
diff
changeset
|
31 GPL |
42b53a22aee5
Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents:
4979
diff
changeset
|
32 |
4197 | 33 Maintainer: |
34 Jim Meyering |