Whamcloud - gitweb
Makefile.in: Add an include path specifier when building
authorTheodore Ts'o <tytso@mit.edu>
Thu, 16 Jun 2005 22:41:06 +0000 (18:41 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 16 Jun 2005 22:41:06 +0000 (18:41 -0400)
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
lib/e2p/Makefile.in

index 8fd227b..d7c9af8 100644 (file)
@@ -1,3 +1,10 @@
+2005-06-16  Theodore Ts'o  <tytso@mit.edu>
+
+       * 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  <tytso@mit.edu>
 
        * Makefile.in (tst_ostype): Add $(ALL_CFLAGS) to the tst_ostype
index e35f7b1..ac24940 100644 (file)
@@ -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