summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-14 15:47:06 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-14 15:47:06 (GMT)
commit641fbe66e732dd435d774b70b4902bbd764c37ab (patch)
tree715c3045e48e5b5c4024c3bbc98b7640738bcc1d /configure.in
parente108a027235fd99193fc8b617dd6a6b0f531a40c (diff)
downloadcpython-641fbe66e732dd435d774b70b4902bbd764c37ab.zip
cpython-641fbe66e732dd435d774b70b4902bbd764c37ab.tar.gz
cpython-641fbe66e732dd435d774b70b4902bbd764c37ab.tar.bz2
Allow configure to detect whether ndbm.h or gdbm/ndbm.h is installed.
This allows dbmmodule.c to use either without having to add additional options to the Modules/Setup file or make source changes. (At least some Linux systems use gdbm to emulate ndbm, but only install the ndbm.h header as /usr/include/gdbm/ndbm.h.)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index be8ee9b..af4056e 100644
--- a/configure.in
+++ b/configure.in
@@ -371,7 +371,7 @@ 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)
+sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h ndbm.h gdbm/ndbm.h)
AC_HEADER_DIRENT
# checks for typedefs