configure.in.dmalloc
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:1k
源码类别:

通讯编程

开发平台:

Visual C++

  1. dnl autoconf rules to find dmalloc
  2. dnl $Header: /cvsroot/nsnam/conf/configure.in.dmalloc,v 1.5 1998/09/15 17:21:14 heideman Exp $ (USC/ISI)
  3. AC_ARG_WITH(dmalloc, --with-dmalloc=path specify a pathname for the dmalloc debugger (path=no disables the dmalloc), d="$withval", d="UNDEF")
  4. DMALLOC_VERS=3.2.1
  5. DMALLOC_PATH="$PWD/../dmalloc 
  6. $PWD/../dmalloc-$DMALLOC_VERS 
  7. /usr/contrib/lib 
  8. /usr/local/lib 
  9. /usr/lib 
  10. /usr/contrib/include 
  11. /usr/local/include 
  12. /usr/include 
  13. "
  14. DMALLOC_PATH_D="$d $d/lib $d/include"
  15. if test "x$d" = xUNDEF; then
  16. AC_MSG_CHECKING(dmalloc)
  17. AC_MSG_RESULT([not requested with --with-dmalloc])
  18. else
  19. NS_BEGIN_PACKAGE(dmalloc)
  20. NS_CHECK_LIB_PATH(dmalloc,$DMALLOC_PATH,$d,$DMALLOC_PATH_D,V_LIB_DMALLOC,dmalloc)
  21. NS_CHECK_HEADER_PATH(dmalloc.h,$DMALLOC_PATH,$d,$DMALLOC_PATH_D,V_HEADER_DMALLOC,dmalloc)
  22. NS_CHECK_HEADER_PATH(return.h,$DMALLOC_PATH,$d,$DMALLOC_PATH_D,V_HEADER_RETURN,dmalloc)
  23. NS_END_PACKAGE(dmalloc,no)
  24. fi