From 2ea189659172ef49684bcd0a716ae2fffcd538ef Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 30 Apr 2007 09:38:25 +0000 Subject: r22598: Simplify includes for replace. (This used to be commit e72cec408e832e0f6ce05c38febdd56de501dbf7) --- source4/lib/replace/Makefile.in | 4 ++-- source4/lib/replace/libreplace.m4 | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'source4/lib/replace') diff --git a/source4/lib/replace/Makefile.in b/source4/lib/replace/Makefile.in index f4c79749a6..41454f6ec4 100644 --- a/source4/lib/replace/Makefile.in +++ b/source4/lib/replace/Makefile.in @@ -11,9 +11,9 @@ srcdir = @srcdir@ builddir = @builddir@ INSTALL = @INSTALL@ -.PHONY: test +.PHONY: test all showflags install installcheck clean distclean realdistclean -CFLAGS=-I. -I@libreplacedir@ @CFLAGS@ +CFLAGS=-I. @CFLAGS@ OBJS = @LIBREPLACEOBJ@ diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4 index e9b19b7cf5..fa00f2c1c4 100644 --- a/source4/lib/replace/libreplace.m4 +++ b/source4/lib/replace/libreplace.m4 @@ -354,6 +354,7 @@ AC_LIBREPLACE_LOCATION_CHECKS AC_LIBREPLACE_CC_CHECKS AC_LIBREPLACE_BROKEN_CHECKS AC__LIBREPLACE_ALL_CHECKS_END +CFLAGS="$CFLAGS -I$libreplacedir" ]) m4_include(libreplace_cc.m4) -- cgit