mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 22:25:51 +01:00
Also check for dmalloc.h
svn:r3510
This commit is contained in:
parent
1145da1e8a
commit
378172ff77
1 changed files with 1 additions and 0 deletions
|
@ -228,6 +228,7 @@ fi], [ dmalloc=0; AC_MSG_RESULT(no) ]
|
|||
)
|
||||
|
||||
if [[ $dmalloc -eq 1 ]]; then
|
||||
AC_CHECK_HEADERS(dmalloc.h, , AC_MSG_ERROR(dmalloc header file not found. Do you have the development files for dmalloc installed?))
|
||||
AC_SEARCH_LIBS(dmalloc_malloc, [dmalloc], , AC_MSG_ERROR(Libdmalloc library not found. If you enable it you better have it installed.))
|
||||
AC_DEFINE(USE_DMALLOC, 1, [Debug memory allocation library])
|
||||
AC_DEFINE(DMALLOC_FUNC_CHECK, 1, [Enable dmalloc's malloc function check])
|
||||
|
|
Loading…
Add table
Reference in a new issue