According to Bruno Haible on 10/30/2007 7:23 PM:
> 
> Installed:
> 
> 2007-10-30  Bruno Haible  <[EMAIL PROTECTED]>
> 
>       * modules/xprintf-posix: New file.

Plus this followup, so that tests will pass on cygwin (xprintf pulls in
xalloc-die, which requires gettext).

From: Eric Blake <[EMAIL PROTECTED]>
Date: Fri, 2 Nov 2007 16:28:00 -0600
Subject: [PATCH] Fix xprintf tests on cygwin.

* modules/xprintf-posix-tests (Makefile.am): Link against -lintl.

Signed-off-by: Eric Blake <[EMAIL PROTECTED]>
---
 ChangeLog                   |    5 +++++
 modules/xprintf-posix-tests |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3101bc9..df6a7f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-02  Eric Blake  <[EMAIL PROTECTED]>
+
+       Fix tests on cygwin.
+       * modules/xprintf-posix-tests (Makefile.am): Link against -lintl.
+
 2007-11-01  Bruno Haible  <[EMAIL PROTECTED]>

        * lib/stdlib.in.h (putenv): Remove the "not POSIX compliant everywhere"
diff --git a/modules/xprintf-posix-tests b/modules/xprintf-posix-tests
index b81932b..92397b2 100644
--- a/modules/xprintf-posix-tests
+++ b/modules/xprintf-posix-tests
@@ -16,3 +16,5 @@ Makefile.am:
 TESTS += test-xprintf-posix.sh
 TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
 check_PROGRAMS += test-xfprintf-posix test-xprintf-posix
+test_xfprintf_posix_LDADD = $(LDADD) @LIBINTL@
+test_xprintf_posix_LDADD = $(LDADD) @LIBINTL@
-- 
1.5.3.2

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]


Reply via email to