summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure19
-rw-r--r--configure.in11
-rw-r--r--pyconfig.h.in3
3 files changed, 32 insertions, 1 deletions
diff --git a/configure b/configure
index 9e9224a..0d9e495 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.393 .
+# From configure.in Revision: 1.394 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
@@ -16821,6 +16821,23 @@ else
echo "${ECHO_T}no" >&6
fi
+echo "$as_me:$LINENO: checking for /dev/ptc" >&5
+echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6
+
+if test -e /dev/ptc
+then
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_DEV_PTC 1
+_ACEOF
+
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
echo "$as_me:$LINENO: checking for socklen_t" >&5
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
if test "${ac_cv_type_socklen_t+set}" = set; then
diff --git a/configure.in b/configure.in
index 229caef..bc57591 100644
--- a/configure.in
+++ b/configure.in
@@ -2602,6 +2602,17 @@ else
AC_MSG_RESULT(no)
fi
+AC_MSG_CHECKING(for /dev/ptc)
+
+if test -e /dev/ptc
+then
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_DEV_PTC, 1,
+ [Define if we have /dev/ptc.])
+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.),[
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 37fd5fc..e0ab1b9 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -68,6 +68,9 @@
/* Define to 1 if you have the device macros. */
#undef HAVE_DEVICE_MACROS
+/* Define if we have /dev/ptc. */
+#undef HAVE_DEV_PTC
+
/* Define if we have /dev/ptmx. */
#undef HAVE_DEV_PTMX