changeset 17283:ccd519631b21

c-xvasprintf etc.: fix link errors on older Solaris These need to link with @LIBINTL@ to get libintl_gettext. Problem reported by Tom G. Christensen in <http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00086.html>. * modules/c-xvasprintf-tests (test_c_xvasprintf_LDADD): * modules/readtokens-tests (test_readtokens_LDADD): New macros. * modules/futimens-tests (test_futimens_LDADD): * modules/utimens-tests (test_utimens_LDADD): Add @LIBINTL@.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 12 Jan 2013 21:33:54 -0800
parents a4996fb12971
children 4dd985ff8805
files ChangeLog modules/c-xvasprintf-tests modules/futimens-tests modules/readtokens-tests modules/utimens-tests
diffstat 5 files changed, 15 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2013-01-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+	c-xvasprintf etc.: fix link errors on older Solaris
+	These need to link with @LIBINTL@ to get libintl_gettext.
+	Problem reported by Tom G. Christensen in
+	<http://lists.gnu.org/archive/html/bug-gnulib/2013-01/msg00086.html>.
+	* modules/c-xvasprintf-tests (test_c_xvasprintf_LDADD):
+	* modules/readtokens-tests (test_readtokens_LDADD): New macros.
+	* modules/futimens-tests (test_futimens_LDADD):
+	* modules/utimens-tests (test_utimens_LDADD): Add @LIBINTL@.
+
 2013-01-10  Paul Eggert  <eggert@cs.ucla.edu>
 
 	locale: port to Solaris 2.6 and 7 + GNU gettext
--- a/modules/c-xvasprintf-tests
+++ b/modules/c-xvasprintf-tests
@@ -15,4 +15,5 @@
 Makefile.am:
 TESTS += test-c-xvasprintf.sh
 check_PROGRAMS += test-c-xvasprintf
+test_c_xvasprintf_LDADD = $(LDADD) @LIBINTL@
 TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@'
--- a/modules/futimens-tests
+++ b/modules/futimens-tests
@@ -19,4 +19,4 @@
 Makefile.am:
 TESTS += test-futimens
 check_PROGRAMS += test-futimens
-test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)
+test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@
--- a/modules/readtokens-tests
+++ b/modules/readtokens-tests
@@ -11,3 +11,4 @@
 Makefile.am:
 TESTS += test-readtokens.sh
 check_PROGRAMS += test-readtokens
+test_readtokens_LDADD = $(LDADD) @LIBINTL@
--- a/modules/utimens-tests
+++ b/modules/utimens-tests
@@ -20,4 +20,4 @@
 Makefile.am:
 TESTS += test-utimens
 check_PROGRAMS += test-utimens
-test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)
+test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@