summaryrefslogtreecommitdiff
path: root/lib/make/configure.in
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-02-12 10:50:45 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-02-12 10:50:45 +0000
commitc58ade798ab1a168fe9dab4818d69ee95025977f (patch)
tree85ffdddc3a0fd19c25dfc394cd2334479bfa76d6 /lib/make/configure.in
parent503a59f91ca7573b555686c48e3e187316e7ac76 (diff)
Define CCTK_DEBUG if 'DEBUG=yes' was set as a configure option.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3134 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/configure.in')
-rw-r--r--lib/make/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/make/configure.in b/lib/make/configure.in
index 2d12969f..6a43d376 100644
--- a/lib/make/configure.in
+++ b/lib/make/configure.in
@@ -720,6 +720,7 @@ AC_SUBST(FCOMPILEONLY)
# Define the type of debugging to use
if test -n "$DEBUG" -a "x$DEBUG" != 'xno' ; then
+ AC_DEFINE(CCTK_DEBUG)
case "$DEBUG" in
MEMORY)
AC_DEFINE(CCTK_TRACEMEMORY)
@@ -733,7 +734,6 @@ if test -n "$DEBUG" -a "x$DEBUG" != 'xno' ; then
ALL)
AC_DEFINE(CCTK_TRACEMEMORY)
DEBUG_FLAGS="yes"
- AC_DEFINE(CCTK_DEBUG)
;;
*)
AC_ERROR(Didn't recognize setting of DEBUG=\"$DEBUG\")