summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-04-30 09:38:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:49 -0500
commit2ea189659172ef49684bcd0a716ae2fffcd538ef (patch)
tree611617dcd7ace2c174d6a82bf63c72054fc60bb1 /source4/lib/replace
parent201408141d4f6be501a38315d615671ccf7613f3 (diff)
downloadsamba-2ea189659172ef49684bcd0a716ae2fffcd538ef.tar.gz
samba-2ea189659172ef49684bcd0a716ae2fffcd538ef.tar.bz2
samba-2ea189659172ef49684bcd0a716ae2fffcd538ef.zip
r22598: Simplify includes for replace.
(This used to be commit e72cec408e832e0f6ce05c38febdd56de501dbf7)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/Makefile.in4
-rw-r--r--source4/lib/replace/libreplace.m41
2 files changed, 3 insertions, 2 deletions
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)