If we are compiling with debugging enabled and libefence is available,

link it to get debugging malloc.
This commit is contained in:
Martin Mares 1999-03-01 22:42:47 +00:00
parent b982b6db2b
commit e834074dd4
2 changed files with 2 additions and 0 deletions

View file

@ -109,6 +109,7 @@ BIRD_CHECK_TIME_T
if test "$enable_debug" = yes ; then
AC_DEFINE(PATH_CONFIG_DIR, ".")
AC_DEFINE(DEBUGGING)
AC_CHECK_LIB(efence, malloc)
else
AC_DEFINE_UNQUOTED(PATH_CONFIG_DIR, "$sysconfdir")
fi

View file

@ -18,6 +18,7 @@ dir-objs:=$(addprefix $(objdir)/,$(all-dirs))
CPPFLAGS=-I$(root-rel) -I$(srcdir)
CFLAGS=$(CPPFLAGS) @CFLAGS@
LDFLAGS=@LIBS@
CC=@CC@
M4=@M4@
BISON=@BISON@