From: Bruno Haible <bruno@clisp.org>
Date: Fri, 17 Jun 2011 10:41:19 +0000 (+0200)
Subject: Fix tests link errors.
X-Git-Tag: v0.1~2249
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=edca61feba2256cd711f71850bbed0e68e98d522;p=gnulib.git

Fix tests link errors.

* modules/ceil-ieee-tests (Makefile.am): Use CEIL_LIBM, not FLOOR_LIBM.
* modules/chown-tests (Makefile.am): Don't link test-chown with
LIBINTL.
* modules/lchown-tests (Makefile.am): Don't link test-lchown with
LIBINTL.
* modules/utimens-tests (Makefile.am): Don't link test-utimens with
LIBINTL.
* modules/futimens-tests (Makefile.am): Don't link test-futimens with
LIBINTL.
---

diff --git a/ChangeLog b/ChangeLog
index be2d3fd2b1..5a3cbe55ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2011-06-17  Bruno Haible  <bruno@clisp.org>
+
+	Fix tests link errors.
+	* modules/ceil-ieee-tests (Makefile.am): Use CEIL_LIBM, not FLOOR_LIBM.
+	* modules/chown-tests (Makefile.am): Don't link test-chown with
+	LIBINTL.
+	* modules/lchown-tests (Makefile.am): Don't link test-lchown with
+	LIBINTL.
+	* modules/utimens-tests (Makefile.am): Don't link test-utimens with
+	LIBINTL.
+	* modules/futimens-tests (Makefile.am): Don't link test-futimens with
+	LIBINTL.
+
 2011-06-16  Bruno Haible  <bruno@clisp.org>
 
 	crypto/gc-sha1: Fix recent regression.
diff --git a/modules/ceil-ieee-tests b/modules/ceil-ieee-tests
index 178ffb758d..897c2471a5 100644
--- a/modules/ceil-ieee-tests
+++ b/modules/ceil-ieee-tests
@@ -12,4 +12,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-ceil-ieee
 check_PROGRAMS += test-ceil-ieee
-test_ceil_ieee_LDADD = $(LDADD) @FLOOR_LIBM@
+test_ceil_ieee_LDADD = $(LDADD) @CEIL_LIBM@
diff --git a/modules/chown-tests b/modules/chown-tests
index 359ba1be7e..e4945ea2dc 100644
--- a/modules/chown-tests
+++ b/modules/chown-tests
@@ -21,4 +21,3 @@ AC_CHECK_FUNCS_ONCE([getegid])
 Makefile.am:
 TESTS += test-chown
 check_PROGRAMS += test-chown
-test_chown_LDADD = $(LDADD) @LIBINTL@
diff --git a/modules/futimens-tests b/modules/futimens-tests
index 124b62f49b..356f67e2dd 100644
--- a/modules/futimens-tests
+++ b/modules/futimens-tests
@@ -17,4 +17,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-futimens
 check_PROGRAMS += test-futimens
-test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@
+test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)
diff --git a/modules/lchown-tests b/modules/lchown-tests
index 72ab3c10f4..256dbe5e12 100644
--- a/modules/lchown-tests
+++ b/modules/lchown-tests
@@ -20,4 +20,3 @@ AC_CHECK_FUNCS_ONCE([getegid])
 Makefile.am:
 TESTS += test-lchown
 check_PROGRAMS += test-lchown
-test_lchown_LDADD = $(LDADD) @LIBINTL@
diff --git a/modules/utimens-tests b/modules/utimens-tests
index d0566a6161..7335c5df52 100644
--- a/modules/utimens-tests
+++ b/modules/utimens-tests
@@ -19,4 +19,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-utimens
 check_PROGRAMS += test-utimens
-test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) @LIBINTL@
+test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)