From 290806abc331cdb22105d6243cc53feb0566353b Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 20 Jan 2005 03:17:31 +0100 Subject: [PATCH] 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). --- MCONFIG.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MCONFIG.in b/MCONFIG.in index 4da61a5..88aaf8a 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@ -- 1.8.3.1