diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-05-29 14:52:18 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-05-29 14:52:18 -0700 |
commit | 6a3e57bb546b094bfc8ec24a3ec63b2bd4496d65 (patch) | |
tree | 7941b467caf44ec0c4297e4a6afb1b4ab3f0b9a0 /m4/getloadavg.m4 | |
parent | e8cbec34e8ef069f54c1189a7b6109f768047be8 (diff) | |
download | emacs-6a3e57bb546b094bfc8ec24a3ec63b2bd4496d65.tar.gz |
Adjust to recent gnulib change for @GUARD_PREFIX@.
Diffstat (limited to 'm4/getloadavg.m4')
-rw-r--r-- | m4/getloadavg.m4 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4 index e58d29b238f..0e44b694e40 100644 --- a/m4/getloadavg.m4 +++ b/m4/getloadavg.m4 @@ -7,23 +7,19 @@ # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. -#serial 2 +#serial 3 # Autoconf defines AC_FUNC_GETLOADAVG, but that is obsolescent. # New applications should use gl_GETLOADAVG instead. -# gl_GETLOADAVG(LIBOBJDIR) -# ------------------------ +# gl_GETLOADAVG +# ------------- AC_DEFUN([gl_GETLOADAVG], [AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) # Persuade glibc <stdlib.h> to declare getloadavg(). AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) -# Make sure getloadavg.c is where it belongs, at configure-time. -test -f "$srcdir/$1/getloadavg.c" || - AC_MSG_ERROR([$srcdir/$1/getloadavg.c is missing]) - gl_save_LIBS=$LIBS # getloadvg is present in libc on glibc >= 2.2, MacOS X, FreeBSD >= 2.0, |