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
|
if test "$enable_debug" = yes ; then
|
||||||
AC_DEFINE(PATH_CONFIG_DIR, ".")
|
AC_DEFINE(PATH_CONFIG_DIR, ".")
|
||||||
AC_DEFINE(DEBUGGING)
|
AC_DEFINE(DEBUGGING)
|
||||||
|
AC_CHECK_LIB(efence, malloc)
|
||||||
else
|
else
|
||||||
AC_DEFINE_UNQUOTED(PATH_CONFIG_DIR, "$sysconfdir")
|
AC_DEFINE_UNQUOTED(PATH_CONFIG_DIR, "$sysconfdir")
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -18,6 +18,7 @@ dir-objs:=$(addprefix $(objdir)/,$(all-dirs))
|
||||||
|
|
||||||
CPPFLAGS=-I$(root-rel) -I$(srcdir)
|
CPPFLAGS=-I$(root-rel) -I$(srcdir)
|
||||||
CFLAGS=$(CPPFLAGS) @CFLAGS@
|
CFLAGS=$(CPPFLAGS) @CFLAGS@
|
||||||
|
LDFLAGS=@LIBS@
|
||||||
CC=@CC@
|
CC=@CC@
|
||||||
M4=@M4@
|
M4=@M4@
|
||||||
BISON=@BISON@
|
BISON=@BISON@
|
||||||
|
|
Loading…
Reference in a new issue