]> Savannah Git Hosting - gnulib.git/commitdiff
uniname/unimame-tests: don't link with -lunistring
authorDaiki Ueno <ueno@gnu.org>
Sun, 8 Feb 2015 08:38:03 +0000 (17:38 +0900)
committerDaiki Ueno <ueno@gnu.org>
Sun, 8 Feb 2015 08:41:00 +0000 (17:41 +0900)
* modules/uniname/uniname-tests (Makefile.am): Don't link against
$(LIBUNISTRING).  Document the rationale why we need to
conditionalize the test.

ChangeLog
modules/uniname/uniname-tests

index cd73197acc6d801648f2d2f85fa7ff8f2fc3d3af..4b5092dd0e475e71414ef6c411b9a7022e61ddad 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-02-08  Daiki Ueno  <ueno@gnu.org>
+
+       uniname/unimame-tests: don't link with -lunistring
+       * modules/uniname/uniname-tests (Makefile.am): Don't link against
+       $(LIBUNISTRING).  Document the rationale why we need to
+       conditionalize the test.
+
 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
 
        fstrcmp: don't assume strlen < INT_MAX
index 305e6a19ef28a51368cda44d4f7d7baa71b2de57..475a4b178ed66354617728004a05fdb44257fdaa 100644 (file)
@@ -10,10 +10,12 @@ progname
 configure.ac:
 
 Makefile.am:
+# Unlike other libunistring modules, this test passes only when the
+# same version of uniname/uniname.c is used (even if it is newer).
 if LIBUNISTRING_COMPILE_UNINAME_UNINAME
 TESTS += uniname/test-uninames.sh
 check_PROGRAMS += test-uninames
 test_uninames_SOURCES = uniname/test-uninames.c
-test_uninames_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@
+test_uninames_LDADD = $(LDADD) @LIBINTL@
 endif