diff options
Diffstat (limited to 'gl/m4/lib-link.m4')
-rw-r--r-- | gl/m4/lib-link.m4 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gl/m4/lib-link.m4 b/gl/m4/lib-link.m4 index 2144203..90e1ac9 100644 --- a/gl/m4/lib-link.m4 +++ b/gl/m4/lib-link.m4 | |||
@@ -1,5 +1,5 @@ | |||
1 | # lib-link.m4 serial 19 (gettext-0.18) | 1 | # lib-link.m4 serial 20 (gettext-0.18) |
2 | dnl Copyright (C) 2001-2009 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2001-2010 Free Software Foundation, Inc. |
3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
@@ -82,7 +82,7 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], | |||
82 | ]) | 82 | ]) |
83 | if test "$ac_cv_lib[]Name" = yes; then | 83 | if test "$ac_cv_lib[]Name" = yes; then |
84 | HAVE_LIB[]NAME=yes | 84 | HAVE_LIB[]NAME=yes |
85 | AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib[]$1 library.]) | 85 | AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) |
86 | AC_MSG_CHECKING([how to link with lib[]$1]) | 86 | AC_MSG_CHECKING([how to link with lib[]$1]) |
87 | AC_MSG_RESULT([$LIB[]NAME]) | 87 | AC_MSG_RESULT([$LIB[]NAME]) |
88 | else | 88 | else |
@@ -210,6 +210,9 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY], | |||
210 | LTLIB[]NAME= | 210 | LTLIB[]NAME= |
211 | INC[]NAME= | 211 | INC[]NAME= |
212 | LIB[]NAME[]_PREFIX= | 212 | LIB[]NAME[]_PREFIX= |
213 | dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been | ||
214 | dnl computed. So it has to be reset here. | ||
215 | HAVE_LIB[]NAME= | ||
213 | rpathdirs= | 216 | rpathdirs= |
214 | ltrpathdirs= | 217 | ltrpathdirs= |
215 | names_already_handled= | 218 | names_already_handled= |