From 8174c9ca720fdcb98f0da09de792ecea9d340691 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 4 Jan 2007 14:39:17 +0100 Subject: 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 --- config/include-Makefile.am | 2 -- 1 file changed, 2 deletions(-) (limited to 'config/include-Makefile.am') 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@ -- cgit v1.2.3-55-g7522