summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-05-11 16:10:56 (GMT)
committerFred Drake <fdrake@acm.org>2001-05-11 16:10:56 (GMT)
commit2ca5f3b7523052d032a54222a6969934ad4acbfc (patch)
tree862bdd2a2b7ac577d8c10493d81464f96c7d5279
parent886f113ba9df655890dddf079a1e36a66230064b (diff)
downloadcpython-2ca5f3b7523052d032a54222a6969934ad4acbfc.zip
cpython-2ca5f3b7523052d032a54222a6969934ad4acbfc.tar.gz
cpython-2ca5f3b7523052d032a54222a6969934ad4acbfc.tar.bz2
Add a check for sys/modem.h, needed by termios on HP-UX.
-rw-r--r--config.h.in3
-rw-r--r--configure.in2
2 files changed, 4 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in
index 1e97f97..6753327 100644
--- a/config.h.in
+++ b/config.h.in
@@ -590,6 +590,9 @@
/* Define if you have the <sys/lock.h> header file. */
#undef HAVE_SYS_LOCK_H
+/* Define if you have the <sys/modem.h> header file. */
+#undef HAVE_SYS_MODEM_H
+
/* Define if you have the <sys/ndir.h> header file. */
#undef HAVE_SYS_NDIR_H
diff --git a/configure.in b/configure.in
index c17ead7..890aae2 100644
--- a/configure.in
+++ b/configure.in
@@ -381,7 +381,7 @@ dnl AC_MSG_RESULT($cpp_type)
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 termios.h \
-sys/audioio.h sys/file.h sys/lock.h db_185.h db.h \
+sys/audioio.h sys/file.h sys/lock.h sys/modem.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 db1/ndbm.h gdbm/ndbm.h)