summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-02-03 07:29:52 +0000
committerPeter Palfrader <peter@palfrader.org>2005-02-03 07:29:52 +0000
commit378172ff77e42c2dc9a2fff4e6876afddfd43110 (patch)
tree4721eb23b21f27f0fb6bc00ff961afacf0774118 /configure.in
parent1145da1e8a25fa5a541dd190b6b6120fcae24359 (diff)
downloadtor-378172ff77e42c2dc9a2fff4e6876afddfd43110.tar.gz
tor-378172ff77e42c2dc9a2fff4e6876afddfd43110.zip
Also check for dmalloc.h
svn:r3510
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 1dd4eb02f7..e8e80fe5ee 100644
--- a/configure.in
+++ b/configure.in
@@ -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])