changeset 37488:f0b941ba6592

uniname/uniname-tests: skip if system's libunistring is used * modules/uniname/uniname-tests (Makefile.am): Skip test if uniname/uniname module is not compiled.
author Daiki Ueno <ueno@gnu.org>
date Thu, 27 Nov 2014 18:46:43 +0900
parents 7da9037a5510
children dc6acfd3dd30
files ChangeLog modules/uniname/uniname-tests
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Nov 27 11:17:07 2014 +0000
+++ b/ChangeLog	Thu Nov 27 18:46:43 2014 +0900
@@ -1,3 +1,9 @@
+2014-11-27  Daiki Ueno  <ueno@gnu.org>
+
+	uniname/uniname-tests: skip if system's libunistring is used
+	* modules/uniname/uniname-tests (Makefile.am): Skip test if
+	uniname/uniname module is not compiled.
+
 2014-11-27  Pádraig Brady  <P@draigBrady.com>
 
 	printf: fix configure check on big endian systems
--- a/modules/uniname/uniname-tests	Thu Nov 27 11:17:07 2014 +0000
+++ b/modules/uniname/uniname-tests	Thu Nov 27 18:46:43 2014 +0900
@@ -10,8 +10,10 @@
 configure.ac:
 
 Makefile.am:
+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@
+endif