changeset 26214:d11ad723a659

* configure.in: Check for dynamic ptys (/dev/ptmx, /dev/pts/).
author Gerd Moellmann <gerd@gnu.org>
date Wed, 27 Oct 1999 10:24:13 +0000
parents 5c38db0e622c
children 2ee1c4c84cb2
files configure.in
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Wed Oct 27 10:22:45 1999 +0000
+++ b/configure.in	Wed Oct 27 10:24:13 1999 +0000
@@ -1881,6 +1881,14 @@
   AC_DEFINE(HAVE_AIX_SMT_EXP)
 fi
 
+AC_MSG_CHECKING(whether system supports dynamic ptys)
+if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
+  AC_MSG_RESULT(yes)
+  AC_DEFINE(HAVE_DEV_PTMX)
+else
+  AC_MSG_RESULT(no)
+fi
+
 # Set up the CFLAGS for real compilation, so we can substitute it.
 CFLAGS="$REAL_CFLAGS"