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 | eac949439081351060e9cf70127046ea1eaff547 (patch) | |
tree | 5f462bc01271fdff3a80645bf05fe8cab498a965 /m4/getloadavg.m4 | |
parent | f7aee7431e94dcef216d52c775e006bb57471968 (diff) | |
download | gnulib-eac949439081351060e9cf70127046ea1eaff547.tar.gz |
(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/getloadavg.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 d0ab2b85cb..edcce0dd01 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 |