summaryrefslogtreecommitdiff
path: root/MCONFIG.in
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-01-20 03:17:31 +0100
committerMatthias Andree <matthias.andree@gmx.de>2005-01-20 03:17:31 +0100
commit290806abc331cdb22105d6243cc53feb0566353b (patch)
treeab399560dee6d48ebd2ee30085fbadfe9bad7201 /MCONFIG.in
parentc6cdada26f774ad0a0755290c7721cf7a7a7b8b4 (diff)
downloade2fsprogs-290806abc331cdb22105d6243cc53feb0566353b.tar.gz
MCONFIG.in:
Rearrange -I options to give local includes precedence over /usr/local/include, to unbreak the build when an older e2fsprogs version (with includes) is installed under /usr/local (for instance, on FreeBSD).
Diffstat (limited to 'MCONFIG.in')
-rw-r--r--MCONFIG.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/MCONFIG.in b/MCONFIG.in
index 4da61a59..88aaf8a5 100644
--- a/MCONFIG.in
+++ b/MCONFIG.in
@@ -34,11 +34,10 @@ CC = @CC@
BUILD_CC = @BUILD_CC@
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
CFLAGS = @CFLAGS@
-CPPFLAGS = @CPPFLAGS@
+CPPFLAGS = -I$(top_builddir)/lib -I$(top_srcdir)/lib @CPPFLAGS@
INTL_FLAGS = @INTL_FLAGS@
ALL_CFLAGS = $(CPPFLAGS) $(DEFS) $(USE_WFLAGS) $(CFLAGS) $(XTRA_CFLAGS) \
- $(INTL_FLAGS) -I$(top_builddir)/lib -I$(top_srcdir)/lib \
- $(LINUX_INCLUDE)
+ $(INTL_FLAGS) $(LINUX_INCLUDE)
LDFLAGS = @LDFLAGS@
ALL_LDFLAGS = $(LDFLAGS)
RM = @RM@