summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-12-31 12:55:15 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-12-31 12:55:15 (GMT)
commit24a880b499a53436de52ef9ef107db001e59e24b (patch)
tree0df738c031c6bb0618ef3505b58d28224758d9dd /configure.in
parentb70557f13dc3fe40f1a0e604855acf3e41500c97 (diff)
downloadcpython-24a880b499a53436de52ef9ef107db001e59e24b.zip
cpython-24a880b499a53436de52ef9ef107db001e59e24b.tar.gz
cpython-24a880b499a53436de52ef9ef107db001e59e24b.tar.bz2
Patch #656590: /dev/ptmx support for ptys.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index e461658..48fa694 100644
--- a/configure.in
+++ b/configure.in
@@ -2486,6 +2486,17 @@ then
[Define if WINDOW in curses.h offers a field _flags.])
fi
+AC_MSG_CHECKING(for /dev/ptmx)
+
+if test -e /dev/ptmx
+then
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_DEV_PTMX, 1,
+ [Define if we have /dev/ptmx.])
+else
+ AC_MSG_RESULT(no)
+fi
+
AC_CHECK_TYPE(socklen_t,,
AC_DEFINE(socklen_t,int,
Define to `int' if <sys/socket.h> does not define.),[