/dev/ptmx doesn't exist on AIX, they had to be different and use /dev/ptc.

Otherwise, the 2 devices seem to work the same for allocating a pseudo-tty.
This commit is contained in:
Neal Norwitz 2003-03-21 01:42:58 +00:00
parent 7d8145268e
commit 865400fd07
3 changed files with 32 additions and 1 deletions

19
configure vendored
View file

@ -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