summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2009-04-21 10:28:40 +0000
committerDave Beckett <dave@dajobe.org>2009-04-21 10:28:40 +0000
commit37fa2af40c05b610f220dc5605f7d6043ea17379 (patch)
tree0c4f50aab6fa261d418701949e97eb56eac83bf1 /utils
parenta6168df2c0ecb0d954a4cddc29276a6370733dc7 (diff)
downloadraptor-37fa2af40c05b610f220dc5605f7d6043ea17379.tar.gz
Add --enable-debug configure option.
use AM_CPPFLAGS for defines and include options Remove unused STANDARD_CFLAGS
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile.am16
1 files changed, 3 insertions, 13 deletions
diff --git a/utils/Makefile.am b/utils/Makefile.am
index be373c04..e52a4a05 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -2,7 +2,7 @@
#
# Makefile.am - automake file for Raptor utils
#
-# Copyright (C) 2000-2008, David Beckett http://www.dajobe.org/
+# Copyright (C) 2000-2009, David Beckett http://www.dajobe.org/
# Copyright (C) 2000-2004, University of Bristol, UK http://www.bristol.ac.uk/
#
# This package is Free Software and part of Redland http://librdf.org/
@@ -29,21 +29,11 @@ man_MANS = rapper.1
CLEANFILES=rdfdiff
-# Memory debugging alternatives
+# Memory debugging
MEM=@MEM@
MEM_LIBS=@MEM_LIBS@
-# 1) None (use standard functions directly)
-#MEM=
-#MEM_LIBS=
-
-# 2) Use dmalloc library
-#MEM=-DRAPTOR_MEMORY_DEBUG_DMALLOC=1
-#MEM_LIBS=-ldmalloc
-
-AM_CPPFLAGS= -I$(top_srcdir)/src
-AM_CFLAGS= $(MEM)
-STANDARD_CFLAGS= @STANDARD_CFLAGS@ $(MEM)
+AM_CPPFLAGS= $(MEM) -I$(top_srcdir)/src
LIBS=@LIBS@ $(MEM_LIBS)