e2fsprogs/lib/et
Theodore Ts'o ae06582867 Change pkg-config files so that both <et/com_err.h> and <com_err.h> work
Change the include path in the Cflags field so that #include
<lib/foo.h> and <foo.h> will work.  We had originally used a C flags
which allowed <foo.h> to work, but many applications (especially those
not using pkg-config) had been using the <lob/foo.h> formulation which
didn't require an explicit -I{$includedir} option to the C compiler.

If those applications then converted over to pkg-config, and the
e2fsprogs libraries were installed with a prefix other than /usr, so
that the header files were in some directory such as
/usr/local/include, a program that used #include <lib/foo.h> would
fail to compile.

So change the pkg-config files to include both -I{$includedir} and
-I{$includir}/lib.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-05-14 12:45:54 -04:00
..
test_cases compile_et: generate *_err.c files that have strings marked for xgettext 2011-10-05 00:39:40 -04:00
Makefile.in Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
com_err.3 com_err.3: Fix C syntax error pointed out by ESR. 2003-12-11 11:24:44 -05:00
com_err.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
com_err.h libcom_err: add set_com_err_gettext() 2011-10-05 00:58:40 -04:00
com_err.pc.in Change pkg-config files so that both <et/com_err.h> and <com_err.h> work 2012-05-14 12:45:54 -04:00
com_err.texinfo debian: Fix FTBFS problem caused by texi2html changing its output location 2009-11-29 20:19:10 -05:00
com_right.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
compile_et.1 ChangeLog, compile_et.1: 2000-12-04 23:49:07 +00:00
compile_et.sh.in Set local environment variables to C so mk_cmds and compile_et always work 2006-11-12 10:43:31 -05:00
error_message.c libcom_err: declare com_err_gettext to be static 2011-10-05 03:03:44 -04:00
error_table.h Change compile_et to generate header files that use <et/com_err.h> 2003-03-30 22:26:13 -05:00
et_c.awk compile_et: generate *_err.c files that have strings marked for xgettext 2011-10-05 00:39:40 -04:00
et_h.awk If the .c and .h file already exist, and they have not changed, use the 2005-05-06 09:42:34 -04:00
et_name.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
init_et.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
internal.h Change compile_et to generate header files that use <et/com_err.h> 2003-03-30 22:26:13 -05:00
texinfo.tex Many files: 1997-04-26 13:21:57 +00:00
vfprintf.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00