]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Don't add 'gnulib-lib' to include path when compiling libgettextpo tests.
authorDaiki Ueno <ueno@gnu.org>
Fri, 30 Aug 2013 08:23:50 +0000 (17:23 +0900)
committerDaiki Ueno <ueno@gnu.org>
Fri, 20 Dec 2013 03:59:46 +0000 (12:59 +0900)
gettext-tools/tests/ChangeLog
gettext-tools/tests/Makefile.am

index 8e8b4dce5858fcaca09fe2da5a6167058ac896a6..fff1ace0f010cc32733cec574df1304cc36fb1ab 100644 (file)
@@ -1,3 +1,10 @@
+2013-08-30  Daiki Ueno  <ueno@gnu.org>
+
+       * Makefile.am (gettextpo_1_prg_CPPFLAGS): Don't add 'gnulib-lib'
+       to the include path.
+       Reported by Perry Smith in
+       <https://lists.gnu.org/archive/html/bug-gettext/2013-08/msg00053.html>.
+
 2013-08-12  Daiki Ueno  <ueno@gnu.org>
 
        * xgettext-glade-7: Add a test for multi-line extracted comments.
index 37e7bbc6ffdb1b34ddd2e7d126f98de596074876..0293c4c19cd7121b9c37171c7b2c673f4038143c 100644 (file)
@@ -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)