]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acfunctions.m4 (AC_FUNC_GETLOADAVG): Restore the initial value
authorAkim Demaille <akim@epita.fr>
Mon, 18 Sep 2000 10:53:01 +0000 (10:53 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 18 Sep 2000 10:53:01 +0000 (10:53 +0000)
of LIBS.  Otherwise, everyone ends up linking with -lelf for some
configurations.
Reported by Mike Stone.

ChangeLog
acfunctions.m4
lib/autoconf/functions.m4

index 20905d9a856daf57267136e058210a258a15a60b..813c6668334e0d87cacb8acc65e65e06740963f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-09-18  Jim Meyering  <meyering@lucent.com>
+
+       * acfunctions.m4 (AC_FUNC_GETLOADAVG): Restore the initial value
+       of LIBS.  Otherwise, everyone ends up linking with -lelf for some
+       configurations.
+       Reported by Mike Stone.
+
 2000-09-14  Pavel Roskin  <proski@gnu.org>
 
        * aclang.m4 (AC_PROG_CPP): Use double quotes in the for loop
index 66b1c8872a0c236f1a64ecbf80c435d74a8683af..6a14e387c031ef88471b307b7fb268486c148f97 100644 (file)
@@ -553,6 +553,8 @@ 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
 
index 66b1c8872a0c236f1a64ecbf80c435d74a8683af..6a14e387c031ef88471b307b7fb268486c148f97 100644 (file)
@@ -553,6 +553,8 @@ 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