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 | |
parent | e8cbec34e8ef069f54c1189a7b6109f768047be8 (diff) | |
download | emacs-6a3e57bb546b094bfc8ec24a3ec63b2bd4496d65.tar.gz |
Adjust to recent gnulib change for @GUARD_PREFIX@.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/getloadavg.m4 | 10 | ||||
-rw-r--r-- | m4/gl-comp.m4 | 2 |
2 files changed, 4 insertions, 8 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, diff --git a/m4/gl-comp.m4 b/m4/gl-comp.m4 index c2f80323441..cb9f11a6284 100644 --- a/m4/gl-comp.m4 +++ b/m4/gl-comp.m4 @@ -96,7 +96,7 @@ gl_MD5 gl_SHA1 AC_REQUIRE([gl_C99_STRTOLD]) gl_FILEMODE -gl_GETLOADAVG([$gl_source_base]) +gl_GETLOADAVG gl_STDLIB_MODULE_INDICATOR([getloadavg]) gl_FUNC_GETOPT_GNU gl_MODULE_INDICATOR_FOR_TESTS([getopt-gnu]) |