summaryrefslogtreecommitdiff
path: root/modules/getloadavg
blob: 21955b782f60f883713bed63db39b65e47033dbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Description:
Return the current system load averages.

Files:
lib/getloadavg.c
m4/getloadavg.m4

Depends-on:
extensions
intprops  [test $HAVE_GETLOADAVG = 0]
open      [case $host_os in mingw*) false;; *) test $HAVE_GETLOADAVG = 0;; esac]
stdbool   [test $HAVE_GETLOADAVG = 0]
stdlib    [test $HAVE_GETLOADAVG = 0]

configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
gl_GETLOADAVG
if test $HAVE_GETLOADAVG = 0; then
  AC_LIBOBJ([getloadavg])
  gl_PREREQ_GETLOADAVG
fi
gl_STDLIB_MODULE_INDICATOR([getloadavg])

Makefile.am:

Include:
<stdlib.h>

Link:
$(GETLOADAVG_LIBS)

License:
GPL

Maintainer:
Jim Meyering