Trent Mick points out that the BSD DB also provides an ndbm compatibility

layer.  If that is available, consider that as an option as well.
This commit is contained in:
Fred Drake 2000-09-15 03:38:12 +00:00
parent bbba66eb7d
commit ae90f8da24
4 changed files with 298 additions and 291 deletions

View File

@ -13,6 +13,8 @@
*/
#if defined(HAVE_NDBM_H)
#include <ndbm.h>
#elif defined(HAVE_DB1_NDBM_H)
#include <db1/ndbm.h>
#elif defined(HAVE_GDBM_NDBM_H)
#include <gdbm/ndbm.h>
#else

View File

@ -524,6 +524,9 @@
/* Define if you have the <db_185.h> header file. */
#undef HAVE_DB_185_H
/* Define if you have the <db1/ndbm.h> header file. */
#undef HAVE_DB1_NDBM_H
/* Define if you have the <db.h> header file. */
#undef HAVE_DB_H

581
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -371,7 +371,8 @@ AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h locale.h ncurses.h poll.h pthread.h \
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h \
sys/audioio.h sys/file.h sys/lock.h db_185.h db.h \
sys/param.h sys/select.h sys/socket.h sys/time.h sys/times.h \
sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h ndbm.h gdbm/ndbm.h)
sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
ndbm.h db1/ndbm.h gdbm/ndbm.h)
AC_HEADER_DIRENT
# checks for typedefs