changeset 13906:fdacdce28472

regex: Mention link dependencies. * modules/regex (Link): New section. * modules/rpmatch (Link): Likewise. * modules/regex-quote-tests (Makefile.am): Link with $(LIBINTL).
author Bruno Haible <bruno@clisp.org>
date Sat, 27 Nov 2010 18:22:51 +0100
parents 9c0ddeee304d
children 7538e932b775
files ChangeLog modules/regex modules/regex-quote-tests modules/rpmatch
diffstat 4 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-11-27  Bruno Haible  <bruno@clisp.org>
+
+	regex: Mention link dependencies.
+	* modules/regex (Link): New section.
+	* modules/rpmatch (Link): Likewise.
+	* modules/regex-quote-tests (Makefile.am): Link with $(LIBINTL).
+
 2010-11-27  Bruno Haible  <bruno@clisp.org>
 
 	ftoastr: Fix compilation error on Solaris.
--- a/modules/regex
+++ b/modules/regex
@@ -38,6 +38,9 @@
 Include:
 <regex.h>
 
+Link:
+$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
+
 License:
 LGPLv2+
 
--- a/modules/regex-quote-tests
+++ b/modules/regex-quote-tests
@@ -11,3 +11,4 @@
 Makefile.am:
 TESTS += test-regex-quote
 check_PROGRAMS += test-regex-quote
+test_regex_quote_LDADD = $(LDADD) $(LIBINTL)
--- a/modules/rpmatch
+++ b/modules/rpmatch
@@ -22,6 +22,9 @@
 Include:
 <stdlib.h>
 
+Link:
+$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
+
 License:
 GPL