summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2015-03-12 11:59:13 +0900
committerDaiki Ueno <ueno@gnu.org>2015-03-12 11:59:13 +0900
commit700cc2e2110851750a318508083ed72d46aff365 (patch)
tree4cb78e8bfba121c27da78a9325ebe3b4ff6cacbc /gettext-tools/tests
parentdbd6103dcb7349260ca175af21cf19bb2393c592 (diff)
downloadexternal_gettext-700cc2e2110851750a318508083ed72d46aff365.zip
external_gettext-700cc2e2110851750a318508083ed72d46aff365.tar.gz
external_gettext-700cc2e2110851750a318508083ed72d46aff365.tar.bz2
build: Fix VPATH build
Diffstat (limited to 'gettext-tools/tests')
-rw-r--r--gettext-tools/tests/ChangeLog5
-rw-r--r--gettext-tools/tests/Makefile.am2
2 files changed, 6 insertions, 1 deletions
diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog
index 72a46d4..872ca71 100644
--- a/gettext-tools/tests/ChangeLog
+++ b/gettext-tools/tests/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-12 Daiki Ueno <ueno@gnu.org>
+
+ * Makefile.am (sentence_CPPFLAGS): Add -I$(top_srcdir)/src and
+ $(AM_CPPFLAGS).
+
2015-03-05 Daiki Ueno <ueno@gnu.org>
* format-kde-kuit-1: New file.
diff --git a/gettext-tools/tests/Makefile.am b/gettext-tools/tests/Makefile.am
index a4decaf..6816d9c 100644
--- a/gettext-tools/tests/Makefile.am
+++ b/gettext-tools/tests/Makefile.am
@@ -257,7 +257,7 @@ gettextpo_1_prg_CPPFLAGS = \
# self contained.
gettextpo_1_prg_LDADD = ../libgettextpo/libgettextpo.la $(LDADD)
sentence_SOURCES = sentence.c
-sentence_CPPFLAGS = -I../src -I../gnulib-lib
+sentence_CPPFLAGS = $(AM_CPPFLAGS) -I../src -I$(top_srcdir)/src
sentence_LDADD = ../src/libgettextsrc.la $(LDADD)
# Clean up after Solaris cc.