Add detection of dmalloc library.

This commit is contained in:
Kurt Zeilenga 1998-12-20 19:12:20 +00:00
parent b5973eba5d
commit a5eee14f72
3 changed files with 518 additions and 390 deletions

894
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -49,7 +49,10 @@ OL_ARG_ENABLE(cldap,[ --enable-cldap enable connectionless ldap], no)dnl
OL_ARG_ENABLE(x_compile,[ --enable-x-compile enable cross compiling],
no, [yes no])dnl
dnl General "with" options
OL_ARG_ENABLE(dmalloc,[ --enable-dmalloc enable debug malloc support], no)dnl
OL_ARG_WITH(kerberos,[ --with-kerberos use Kerberos],
auto, [auto k5 k4 afs yes no])
OL_ARG_WITH(threads,[ --with-threads use threads],
@ -986,6 +989,11 @@ if test $ol_enable_wrappers = yes ; then
fi
if test $ol_enable_dmalloc != no ; then
AC_CHECK_HEADERS(dmalloc.h)
AC_CHECK_LIB(dmalloc, dmalloc_shutdown)
fi
# ud needs termcap (should insert check here)
ol_link_termcap=no
AC_CHECK_HEADERS(termcap.h ncurses.h)

View File

@ -440,6 +440,9 @@ is provided ``as is'' without express or implied warranty.
/* Define if you have the <dirent.h> header file. */
#undef HAVE_DIRENT_H
/* Define if you have the <dmalloc.h> header file. */
#undef HAVE_DMALLOC_H
/* Define if you have the <errno.h> header file. */
#undef HAVE_ERRNO_H
@ -578,6 +581,9 @@ is provided ``as is'' without express or implied warranty.
/* Define if you have the V3 library (-lV3). */
#undef HAVE_LIBV3
/* Define if you have the dmalloc library (-ldmalloc). */
#undef HAVE_LIBDMALLOC
/* Define if you have the gen library (-lgen). */
#undef HAVE_LIBGEN