summaryrefslogtreecommitdiff
path: root/m4/getloadavg.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-06-15 15:27:54 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-06-15 15:27:54 -0700
commit8aeb5be96aa28c4770299a54758a8fb339993a97 (patch)
treedbf3821be90ab7a043a6552aa9b838a6259677e4 /m4/getloadavg.m4
parent4bba86e6210a74326e843a8fdc8409127105e1fe (diff)
downloademacs-8aeb5be96aa28c4770299a54758a8fb339993a97.tar.gz
Merge from gnulib: lib/gnulib.mk, m4/*.m4.
Diffstat (limited to 'm4/getloadavg.m4')
-rw-r--r--m4/getloadavg.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4
index 0e44b694e40..967dfd797fb 100644
--- a/m4/getloadavg.m4
+++ b/m4/getloadavg.m4
@@ -7,7 +7,7 @@
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-#serial 3
+#serial 4
# Autoconf defines AC_FUNC_GETLOADAVG, but that is obsolescent.
# New applications should use gl_GETLOADAVG instead.
@@ -24,6 +24,7 @@ gl_save_LIBS=$LIBS
# getloadvg is present in libc on glibc >= 2.2, MacOS X, FreeBSD >= 2.0,
# NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7.
+HAVE_GETLOADAVG=1
AC_CHECK_FUNC([getloadavg], [],
[gl_have_func=no
@@ -52,8 +53,7 @@ AC_CHECK_FUNC([getloadavg], [],
# Set up the replacement function if necessary.
if test $gl_have_func = no; then
- AC_LIBOBJ([getloadavg])
- gl_PREREQ_GETLOADAVG
+ HAVE_GETLOADAVG=0
fi])
if test "x$gl_save_LIBS" = x; then