summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-01-16 15:01:26 (GMT)
committerEric S. Raymond <esr@thyrsus.com>2001-01-16 15:01:26 (GMT)
commit1360359bb943cf1a92c9c088d88d79876509bd78 (patch)
tree89ef36189602fd262bb559f0440683409ef422d5
parent844c297da92fd9690bc396be1045855954066289 (diff)
downloadcpython-1360359bb943cf1a92c9c088d88d79876509bd78.zip
cpython-1360359bb943cf1a92c9c088d88d79876509bd78.tar.gz
cpython-1360359bb943cf1a92c9c088d88d79876509bd78.tar.bz2
Make HAVE_TERMIOS_H and associated config.sh shell variable available
when configure detects the presence of termios.h; later we'll use this for correct configuration of edline/readline. Also, fix a bug in acconfig.h -- somebody forgot to add an undef to cover the LIBNDBM configure symbol, which was preventing autoheader from working properly.
-rw-r--r--acconfig.h6
-rw-r--r--configure.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/acconfig.h b/acconfig.h
index 23f06ea..27a0a31 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -78,6 +78,9 @@
(e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h> */
#undef HAVE_STDARG_PROTOTYPES
+/* Define if you have termios available */
+#undef HAVE_TERMIOS_H
+
/* Define this if you have the type uintptr_t */
#undef HAVE_UINTPTR_T
@@ -169,6 +172,9 @@
/* Define if you want to use BSD db. */
#undef WITH_LIBDB
+/* Define if you want to use ndbm. */
+#undef WITH_LIBNDBM
+
/* Define if you want to produce an OpenStep/Rhapsody framework
(shared library plus accessory files). */
#undef WITH_NEXT_FRAMEWORK
diff --git a/configure.in b/configure.in
index 8fa11e8..61dead1 100644
--- a/configure.in
+++ b/configure.in
@@ -406,7 +406,7 @@ dnl AC_MSG_RESULT($cpp_type)
# checks for header files
AC_HEADER_STDC
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 \
+signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h termios.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 \