[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Also check for dmalloc.h



Update of /home/or/cvsroot/tor
In directory moria.mit.edu:/tmp/cvs-serv320

Modified Files:
	configure.in 
Log Message:
Also check for dmalloc.h

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -d -r1.163 -r1.164
--- configure.in	3 Feb 2005 07:26:12 -0000	1.163
+++ configure.in	3 Feb 2005 07:29:52 -0000	1.164
@@ -228,6 +228,7 @@
 )
 
 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])