]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Make two consecutive identical invocations of AC_LIB_HAVE_LINKFLAGS work.
authorBruno Haible <bruno@clisp.org>
Sun, 28 Jun 2009 19:56:58 +0000 (21:56 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 28 Jun 2009 19:56:58 +0000 (21:56 +0200)
autoconf-lib-link/m4/ChangeLog
autoconf-lib-link/m4/lib-link.m4

index 14b721ad96f51a36d85dec09bdfab2c790edfa24..6b3fe941ae5ef89b998c70052cfe013ff920fca0 100644 (file)
@@ -1,3 +1,11 @@
+2009-06-21  Bruno Haible  <bruno@clisp.org>
+
+       Make two consecutive identical invocations of AC_LIB_HAVE_LINKFLAGS
+       work.
+       * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Reset HAVE_LIB${NAME} together
+       with LIB${NAME}, LTLIB${NAME}.
+       Reported by Sam Steingold <sds@gnu.org>.
+
 2009-04-26  Bruno Haible  <bruno@clisp.org>
 
        Make the lib vs. lib64 recognition work on openSUSE 11 with "gcc -m32".
index 21442033c87bd65912d4337d2f3fe686da708e01..f811055dbd94367f8d46b1c8f52fa7a0f263c1a1 100644 (file)
@@ -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=