view modules/getloadavg @ 15053:d8eeaab555f5

mktime: Respect rules for use of AC_LIBOBJ. * m4/mktime.m4 (AC_FUNC_MKTIME): Remove macro. (gl_FUNC_MKTIME): Inline it here. Set gl_cv_func_working_mktime. Move AC_LIBOBJ and gl_PREREQ_MKTIME invocations from here... (gl_FUNC_MKTIME_INTERNAL): ... and here... * modules/mktime (configure.ac): ... to here. * modules/mktime-internal (configure.ac): ... and here. * m4/timegm.m4 (gl_FUNC_TIMEGM): Update.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 16:14:17 +0200
parents 952734b45495
children
line wrap: on
line source

Description:
Return the current system load averages.

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

Depends-on:
extensions
intprops
stdbool
stdlib

configure.ac:
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