From bf61b95ed96ceab5adcb5864ba1d9fc5c4618bb7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Sat, 6 Feb 1999 20:04:44 +0100
Subject: [PATCH] Added --with-checker.

Rev: src/configure.in:1.264
---
 src/configure.in | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/configure.in b/src/configure.in
index 596470b118..1470f04625 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1,4 +1,4 @@
-AC_REVISION("$Id: configure.in,v 1.263 1999/02/05 02:43:20 mast Exp $")
+AC_REVISION("$Id: configure.in,v 1.264 1999/02/06 19:04:44 grubba Exp $")
 AC_INIT(interpret.c)
 AC_CONFIG_HEADER(machine.h)
 
@@ -186,6 +186,7 @@ AC_ARG_WITH(zlib,        [  --without-zlib         no gz compression support],[]
 AC_ARG_WITH(ssleay,      [  --without-ssleay       no support for the secure socket protocol],[],[with_ssleay=yes])
 AC_ARG_WITH(mysql,       [  --without-mysql        no support for the Mysql database],[],[with_mysql=yes])
 AC_ARG_WITH(dmalloc,     [  --with-dmalloc         enable memory-leak tests],[AC_DEFINE(DEBUG_MALLOC,10)],[])
+AC_ARG_WITH(checker,	 [  --with-checker         add extra memory checking overhead (Purify)])
 AC_ARG_WITH(profiling,   [  --with-profiling       add code used to profile pike code ],[AC_DEFINE(PROFILING)],[])
 AC_ARG_WITH(poll,        [  --with-poll            use poll instead of select],[],[
   # Neither --with-poll nor --without-poll was specified
@@ -206,6 +207,10 @@ if test "x$with_poll" = "xyes"; then
   AC_DEFINE(HAVE_AND_USE_POLL)
 else :; fi
 
+if test "x$with_checker" = "xyes"; then
+  AC_DEFINE(__CHECKER__)
+else :; fi
+
 #
 # Allow --with(out)-debug to toggle both cdebug and rtldebug, but
 # let --with(out)-{c,rtl}debug take precedence.
-- 
GitLab