From: Daiki Ueno Date: Fri, 30 Aug 2013 08:23:50 +0000 (+0900) Subject: Don't add 'gnulib-lib' to include path when compiling libgettextpo tests. X-Git-Tag: v0.18.3.2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf8cf5cef685b8918820ab51c6a8252421c08519;p=thirdparty%2Fgettext.git Don't add 'gnulib-lib' to include path when compiling libgettextpo tests. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 8e8b4dce5..fff1ace0f 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,10 @@ +2013-08-30 Daiki Ueno + + * Makefile.am (gettextpo_1_prg_CPPFLAGS): Don't add 'gnulib-lib' + to the include path. + Reported by Perry Smith in + . + 2013-08-12 Daiki Ueno * xgettext-glade-7: Add a test for multi-line extracted comments. diff --git a/gettext-tools/tests/Makefile.am b/gettext-tools/tests/Makefile.am index 37e7bbc6f..0293c4c19 100644 --- a/gettext-tools/tests/Makefile.am +++ b/gettext-tools/tests/Makefile.am @@ -253,7 +253,12 @@ fc4_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) fc5_SOURCES = format-c-5-prg.c fc5_LDADD = ../gnulib-lib/libgettextlib.la $(LDADD) gettextpo_1_prg_SOURCES = gettextpo-1-prg.c -gettextpo_1_prg_CPPFLAGS = -I../libgettextpo -I$(top_srcdir)/libgettextpo $(AM_CPPFLAGS) +# Don't add 'gnulib-lib' to the include path here. Some header files +# there may interfere with the ones in 'libgettextpo'. +gettextpo_1_prg_CPPFLAGS = \ + -I.. \ + -I../libgettextpo -I$(top_srcdir)/libgettextpo \ + -I../intl # Don't add more libraries here. This test must check whether libgettextpo is # self contained. gettextpo_1_prg_LDADD = ../libgettextpo/libgettextpo.la $(LDADD)