Hash :
a01be164
Author :
Date :
2020-06-28T13:18:11
getrandom: do not depend on ‘open’ on mingw Similarly for at-internal, getloadavg. These modules do not call the ‘open’ function when they are compiled on mingw. On mingw, this avoids having to compile open.c when building Emacs, which does its own thing with ‘open’. * modules/at-internal, modules/getloadavg, modules/getrandom: (Depends-on): Don’t depend on ‘open’ on mingw. (Depends-on): Require AC_CANONICAL_HOST, for host_os. * modules/getloadavg (Depends-on): Depend on intprops, open, stdbool, stdlib only if compiling getloadavg.c.
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