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.19~170 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9479ba454161926511014c99706b1a4edd4d010;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 7a12a0147..f9cb507eb 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-13 Miguel Angel Arruga Vivas * xgettext-glade-5: Add a test for --extract-all option behavior. diff --git a/gettext-tools/tests/Makefile.am b/gettext-tools/tests/Makefile.am index c03c60605..e1e0df265 100644 --- a/gettext-tools/tests/Makefile.am +++ b/gettext-tools/tests/Makefile.am @@ -235,7 +235,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)