mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +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
|
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 New Issue
Block a user