Index: gettext-0.19.2/gettext-runtime/tests/Makefile.am =================================================================== --- gettext-0.19.2.orig/gettext-runtime/tests/Makefile.am +++ gettext-0.19.2/gettext-runtime/tests/Makefile.am @@ -19,7 +19,7 @@ AUTOMAKE_OPTIONS = 1.11 gnits no-dependencies color-tests subdir-objects EXTRA_DIST = -TESTS = test-lock +TESTS = AM_CPPFLAGS = \ -I.. \ Index: gettext-0.19.2/gettext-runtime/tests/Makefile.in =================================================================== --- gettext-0.19.2.orig/gettext-runtime/tests/Makefile.in +++ gettext-0.19.2/gettext-runtime/tests/Makefile.in @@ -77,7 +77,7 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -TESTS = test-lock$(EXEEXT) +TESTS = noinst_PROGRAMS = test-lock$(EXEEXT) subdir = tests DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \