From 7d9adefed874152a12feb8846ad962799c8713cc Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 16 Jun 2005 18:41:06 -0400 Subject: [PATCH] Makefile.in: Add an include path specifier when building tst_ostype so that "make check" will build correctly on systems without the include files from e2fsprogs installed in the system include directory. --- lib/e2p/ChangeLog | 7 +++++++ lib/e2p/Makefile.in | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/e2p/ChangeLog b/lib/e2p/ChangeLog index 8fd227b5..d7c9af81 100644 --- a/lib/e2p/ChangeLog +++ b/lib/e2p/ChangeLog @@ -1,3 +1,10 @@ +2005-06-16 Theodore Ts'o + + * Makefile.in: Add an include path specifier when building + tst_ostype so that "make check" will build correctly on + systems without the include files from e2fsprogs installed + in the system include directory. + 2005-05-06 Theodore Ts'o * Makefile.in (tst_ostype): Add $(ALL_CFLAGS) to the tst_ostype diff --git a/lib/e2p/Makefile.in b/lib/e2p/Makefile.in index e35f7b10..ac24940a 100644 --- a/lib/e2p/Makefile.in +++ b/lib/e2p/Makefile.in @@ -66,7 +66,8 @@ e2p.pc: $(srcdir)/e2p.pc.in $(top_builddir)/config.status tst_ostype: $(srcdir)/ostype.c @echo " LD $@" - @$(CC) -DTEST_PROGRAM -o tst_ostype $(srcdir)/ostype.c $(ALL_CFLAGS) + @$(CC) -DTEST_PROGRAM -I$(top_srcdir)/lib -o tst_ostype \ + $(srcdir)/ostype.c $(ALL_CFLAGS) check:: tst_ostype ./tst_ostype