Commit 02ac6ebc authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Handle --with-traced-allocations.

parent 4596c18e
dnl $Id: configure.in,v 1.59 1999/05/12 13:24:01 byers Exp $
dnl $Id: configure.in,v 1.60 1999/05/15 23:06:30 ceder Exp $
dnl Configuration for LysKOM
dnl Copyright (C) 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
dnl
......@@ -18,7 +18,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
dnl
dnl Please mail bug reports to bug-lyskom@lysator.liu.se.
dnl
AC_REVISION($Revision: 1.59 $)
AC_REVISION($Revision: 1.60 $)
AC_INIT(src/server/lyskomd.h)
AM_CONFIG_HEADER(config.h)
AC_CONFIG_AUX_DIR(scripts)
......@@ -54,6 +54,12 @@ AC_ARG_WITH([gcov],
[use_gcov=$withval],
[use_gcov=no])
AC_ARG_WITH([traced-allocations],
[ --with-traced-allocations trace allocations ]dnl
[(see src/server/ram-smalloc.c)],
[use_traced_allocations=$withval],
[use_traced_allocations=no])
AC_ARG_WITH([optimization],
[ --with-optimization select level of optimization],
[opt_level=$withval],
......@@ -105,6 +111,12 @@ then]
EFENCE=1
[fi]
AC_SUBST(TRACED_ALLOCATIONS)
[if test "$use_traced_allocations" = "yes"
then]
AC_DEFINE(TRACED_ALLOCATIONS)
[fi]
AC_SUBST(DEBUG_CALLS)
[if test "$use_debug_calls" = "yes"
then]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment