From: Jim Meyering Date: Mon, 18 Sep 2000 06:37:01 +0000 (+0000) Subject: (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS. X-Git-Tag: FILEUTILS-4_0_27~35 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=cf19019bf9540ebb35fd45f9b93d87a3180d952c;p=thirdparty%2Fcoreutils.git (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS. Otherwise, everyone ends up linking with -lelf for some configurations. Reported by Mike Stone. --- 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