[cig-commits] r12687 - in short/3D/PyLith/trunk: . libsrc/utils
brad at geodynamics.org
brad at geodynamics.org
Wed Aug 20 12:02:39 PDT 2008
Author: brad
Date: 2008-08-20 12:02:39 -0700 (Wed, 20 Aug 2008)
New Revision: 12687
Modified:
short/3D/PyLith/trunk/configure.ac
short/3D/PyLith/trunk/libsrc/utils/sievetypes.hh
Log:
Added argument to configure for memory logging. Removed memory logging define from sievetypes.hh.
Modified: short/3D/PyLith/trunk/configure.ac
===================================================================
--- short/3D/PyLith/trunk/configure.ac 2008-08-20 02:21:19 UTC (rev 12686)
+++ short/3D/PyLith/trunk/configure.ac 2008-08-20 19:02:39 UTC (rev 12687)
@@ -54,6 +54,15 @@
[enable_tetgen=no])
AM_CONDITIONAL([ENABLE_TETGEN], [test "$enable_tetgen" = yes])
+# MEMORY LOGGING
+AC_ARG_ENABLE([memory_logging],
+ [AC_HELP_STRING([--enable-memory-logging],
+ [enable memory logging @<:@default=no@:>@])],
+ [enable_memory_logging=yes
+ CXXFLAGS="-DALE_MEM_LOGGING $CXXFLAGS"; export CXXFLAGS],
+ [enable_memory_logging=no])
+AM_CONDITIONAL([ENABLE_MEMORY_LOGGING], [test "$enable_memory_logging" = yes])
+
# DOCUMENTATION w/doxygen
AC_ARG_ENABLE([documentation],
[AC_HELP_STRING([--enable-documentation],
Modified: short/3D/PyLith/trunk/libsrc/utils/sievetypes.hh
===================================================================
--- short/3D/PyLith/trunk/libsrc/utils/sievetypes.hh 2008-08-20 02:21:19 UTC (rev 12686)
+++ short/3D/PyLith/trunk/libsrc/utils/sievetypes.hh 2008-08-20 19:02:39 UTC (rev 12687)
@@ -10,9 +10,6 @@
// ======================================================================
//
-// This turns on memory debugging, see ALE_mem.hh
-#define ALE_MEM_LOGGING
-
/**
* @file pylith/utils/sievetypes.hh
*
More information about the cig-commits
mailing list