IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10998 for trunk/psLib


Ignore:
Timestamp:
Jan 9, 2007, 12:23:05 PM (20 years ago)
Author:
jhoblitt
Message:

add memory backtracing support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/configure.ac

    r10950 r10998  
    8181   [tests=false])
    8282AM_CONDITIONAL(BUILD_TESTS, test x$tests = xtrue)
     83
     84dnl turn on mem leak backtracing
     85AC_ARG_ENABLE(backtrace,
     86  [AS_HELP_STRING(--enable-backtrace, enable memory allocation backtracing)],
     87  [AC_MSG_RESULT(memory allocation backtracing enabled)
     88    AC_DEFINE([PS_MEM_BACKTRACE], 1, [Define to 1 if you want memory backtracing])
     89  ]
     90)
     91AC_CHECK_FUNCS_ONCE([backtrace])
    8392
    8493AC_LANG(C)
Note: See TracChangeset for help on using the changeset viewer.