From b6556d60c3285e864e2dd70e846f9d27c19fe276 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Fri, 30 Jan 1998 02:56:24 +0100
Subject: [PATCH] Added option to enable dmalloc, and moved irix -g3 option.

Rev: src/configure.in:1.155
---
 src/configure.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/configure.in b/src/configure.in
index 226a8890cb..cce598b702 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1,4 +1,4 @@
-AC_REVISION("$Id: configure.in,v 1.154 1998/01/28 00:31:14 hubbe Exp $")
+AC_REVISION("$Id: configure.in,v 1.155 1998/01/30 01:56:24 grubba Exp $")
 AC_INIT(interpret.c)
 AC_CONFIG_HEADER(machine.h)
 
@@ -97,6 +97,7 @@ AC_ARG_WITH(threads,   [  --without-threads      no threads support],[],[with_th
 AC_ARG_WITH(zlib,      [  --without-zlib         no gz compression support],[],[with_zlib=yes])
 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)],[])
 AC_ARG_WITH(profiling, [  --with-profiling       add code used to profile pike code ],[AC_DEFINE(PROFILING)],[])
 
 #
@@ -270,9 +271,11 @@ if test $cflags_is_set = no; then
   # -n32 moved to smartlink so it will affekt cc as well as linker
   # this way the user can override it by setting LDFLAGS and/or CFLAGS
   # AC_SYS_OS_COMPILER_FLAG(IRIX,-n32,n32,CFLAGS)
-  AC_SYS_OS_COMPILER_FLAG(IRIX,-g3,g3,OPTIMIZE)
   AC_SYS_OS_COMPILER_FLAG(IRIX,-fullwarn,fullwarn,WARN)
   if test x$with_cdebug = xyes ; then
+    AC_SYS_OS_COMPILER_FLAG(IRIX,-g3,g3,OPTIMIZE)
+  fi
+  if test x$with_rtldebug = xyes ; then
     AC_SYS_OS_COMPILER_FLAG(IRIX,-trapuw,trapuw,WARN)
   fi
 
-- 
GitLab