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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eac949439081351060e9cf70127046ea1eaff547;p=pspp (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