diff options
author | Jim Meyering <jim@meyering.net> | 2000-09-18 06:37:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-09-18 06:37:01 +0000 |
commit | cf19019bf9540ebb35fd45f9b93d87a3180d952c (patch) | |
tree | 49d87772d53c035d388df5a9951b4530cee4e62f /m4 | |
parent | eccfa6b591ec0fe77ec50ab46b086be90d31b16d (diff) | |
download | coreutils-cf19019bf9540ebb35fd45f9b93d87a3180d952c.tar.xz |
(AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
Otherwise, everyone ends up linking with -lelf for some configurations.
Reported by Mike Stone.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/getloadavg.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4 index d0ab2b85c..edcce0dd0 100644 --- a/m4/getloadavg.m4 +++ b/m4/getloadavg.m4 @@ -99,5 +99,7 @@ if test "x$ac_save_LIBS" = x; then else GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"` fi +LIBS=$ac_save_LIBS + AC_SUBST(GETLOADAVG_LIBS)dnl ])# AC_FUNC_GETLOADAVG |