mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-17 14:00:30 +08:00
Add detection of dmalloc library.
This commit is contained in:
parent
b5973eba5d
commit
a5eee14f72
@ -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],
|
OL_ARG_ENABLE(x_compile,[ --enable-x-compile enable cross compiling],
|
||||||
no, [yes no])dnl
|
no, [yes no])dnl
|
||||||
|
|
||||||
|
|
||||||
dnl General "with" options
|
dnl General "with" options
|
||||||
|
OL_ARG_ENABLE(dmalloc,[ --enable-dmalloc enable debug malloc support], no)dnl
|
||||||
|
|
||||||
OL_ARG_WITH(kerberos,[ --with-kerberos use Kerberos],
|
OL_ARG_WITH(kerberos,[ --with-kerberos use Kerberos],
|
||||||
auto, [auto k5 k4 afs yes no])
|
auto, [auto k5 k4 afs yes no])
|
||||||
OL_ARG_WITH(threads,[ --with-threads use threads],
|
OL_ARG_WITH(threads,[ --with-threads use threads],
|
||||||
@ -986,6 +989,11 @@ if test $ol_enable_wrappers = yes ; then
|
|||||||
|
|
||||||
fi
|
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)
|
# ud needs termcap (should insert check here)
|
||||||
ol_link_termcap=no
|
ol_link_termcap=no
|
||||||
AC_CHECK_HEADERS(termcap.h ncurses.h)
|
AC_CHECK_HEADERS(termcap.h ncurses.h)
|
||||||
|
@ -440,6 +440,9 @@ is provided ``as is'' without express or implied warranty.
|
|||||||
/* Define if you have the <dirent.h> header file. */
|
/* Define if you have the <dirent.h> header file. */
|
||||||
#undef HAVE_DIRENT_H
|
#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. */
|
/* Define if you have the <errno.h> header file. */
|
||||||
#undef HAVE_ERRNO_H
|
#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). */
|
/* Define if you have the V3 library (-lV3). */
|
||||||
#undef HAVE_LIBV3
|
#undef HAVE_LIBV3
|
||||||
|
|
||||||
|
/* Define if you have the dmalloc library (-ldmalloc). */
|
||||||
|
#undef HAVE_LIBDMALLOC
|
||||||
|
|
||||||
/* Define if you have the gen library (-lgen). */
|
/* Define if you have the gen library (-lgen). */
|
||||||
#undef HAVE_LIBGEN
|
#undef HAVE_LIBGEN
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user