If we are compiling with debugging enabled and libefence is available,
link it to get debugging malloc.
This commit is contained in:
parent
b982b6db2b
commit
e834074dd4
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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@
|
||||
|
|
Loading…
Reference in a new issue