mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-21 09:11:54 +00:00
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
@ -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 New Issue
Block a user