# HG changeset patch # User Paul Eggert # Date 1358055234 28800 # Node ID ccd519631b2198b0d59b3984b180628b39745618 # Parent a4996fb12971c13e1bb1ee6082f024af46ddb1c4 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 . * 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@. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2013-01-12 Paul Eggert + + 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 + . + * 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 locale: port to Solaris 2.6 and 7 + GNU gettext diff --git a/modules/c-xvasprintf-tests b/modules/c-xvasprintf-tests --- 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@' diff --git a/modules/futimens-tests b/modules/futimens-tests --- 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@ diff --git a/modules/readtokens-tests b/modules/readtokens-tests --- 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@ diff --git a/modules/utimens-tests b/modules/utimens-tests --- 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@