summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-06-14 22:18:58 +0000
committerwtc%netscape.com <devnull@localhost>2001-06-14 22:18:58 +0000
commitd54d64de2f03393fe0ffe9ff67cef9da6a03100a (patch)
treebcbd42b949d2e786eeeb1d9fff4adb12a5e09e6b
parent099d24315d7f9adc3be9144e14b1097ce884300e (diff)
downloadnspr-hg-d54d64de2f03393fe0ffe9ff67cef9da6a03100a.tar.gz
Search in the Mozilla and boehm include directories only if
GC_LEAK_DETECTOR is defined.
-rw-r--r--pr/src/memory/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/pr/src/memory/Makefile.in b/pr/src/memory/Makefile.in
index 4933a1c7..3ea547fd 100644
--- a/pr/src/memory/Makefile.in
+++ b/pr/src/memory/Makefile.in
@@ -50,7 +50,11 @@ endif
TARGETS = $(OBJS)
-INCLUDES = -I$(dist_includedir) -I$(dist_includedir)/.. -I$(dist_includedir)/../boehm -I$(topsrcdir)/pr/include -I$(topsrcdir)/pr/include/private
+INCLUDES = -I$(dist_includedir) -I$(topsrcdir)/pr/include -I$(topsrcdir)/pr/include/private
+
+ifdef GC_LEAK_DETECTOR
+INCLUDES += -I$(dist_includedir)/.. -I$(dist_includedir)/../boehm
+endif
DEFINES += -D_NSPR_BUILD_