diff options
author | Karel Zak | 2007-01-04 14:39:17 +0100 |
---|---|---|
committer | Karel Zak | 2007-01-04 14:39:17 +0100 |
commit | 8174c9ca720fdcb98f0da09de792ecea9d340691 (patch) | |
tree | 40e4503fc4d1a9038ed1db90c3cae7eecda74372 /config | |
parent | tests: add basic infrastructure for regression tests (diff) | |
download | kernel-qcow2-util-linux-8174c9ca720fdcb98f0da09de792ecea9d340691.tar.gz kernel-qcow2-util-linux-8174c9ca720fdcb98f0da09de792ecea9d340691.tar.xz kernel-qcow2-util-linux-8174c9ca720fdcb98f0da09de792ecea9d340691.zip |
build-sys: remove DEFAULT_INCLUDES workaround
The automake stuff uses "-I.". as a default gcc option for includes. This is a
problem for source code where is local includes with a same name like system
includes (e.g. mntent.h, paths.h). Possible workaround is overwrite the
automake DEFAULT_INCLUDES variable. But this solution produces warnings. The
best way (this patch) is probably rename the files and remove DEFAULT_INCLUDES.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/include-Makefile.am | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/config/include-Makefile.am b/config/include-Makefile.am index dceb914ce..d3fffa760 100644 --- a/config/include-Makefile.am +++ b/config/include-Makefile.am @@ -6,7 +6,5 @@ mandir = $(datadir)/man AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include -DEFAULT_INCLUDES = - DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ |