From: Bruno Haible Date: Sun, 21 Jun 2009 17:19:33 +0000 (+0200) Subject: Make two consecutive identical invocations of AC_LIB_HAVE_LINKFLAGS work. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2b11d69685799a4b3f1b17eebd43df3611003d6;p=pspp Make two consecutive identical invocations of AC_LIB_HAVE_LINKFLAGS work. --- diff --git a/ChangeLog b/ChangeLog index 91a213f2b4..379dcf37ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-06-21 Bruno Haible + + Make two consecutive identical invocations of AC_LIB_HAVE_LINKFLAGS + work. + * m4/lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Reset HAVE_LIB${NAME} + together with LIB${NAME}, LTLIB${NAME}. + Reported by Sam Steingold . + 2009-06-20 Jim Meyering tests: make sc_require_test_exit_idiom more generic diff --git a/m4/lib-link.m4 b/m4/lib-link.m4 index 21442033c8..f811055dbd 100644 --- a/m4/lib-link.m4 +++ b/m4/lib-link.m4 @@ -1,4 +1,4 @@ -# lib-link.m4 serial 19 (gettext-0.18) +# lib-link.m4 serial 20 (gettext-0.18) dnl Copyright (C) 2001-2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -210,6 +210,9 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY], LTLIB[]NAME= INC[]NAME= LIB[]NAME[]_PREFIX= + dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been + dnl computed. So it has to be reset here. + HAVE_LIB[]NAME= rpathdirs= ltrpathdirs= names_already_handled=