From: Gerd Moellmann Date: Wed, 27 Oct 1999 10:24:13 +0000 (+0000) Subject: * configure.in: Check for dynamic ptys (/dev/ptmx, /dev/pts/). X-Git-Tag: emacs-pretest-21.0.90~6280 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=27b07953f3fe39ce5fbdd5da2eb2904a3a95dd39;p=emacs.git * configure.in: Check for dynamic ptys (/dev/ptmx, /dev/pts/). --- diff --git a/configure.in b/configure.in index 96e29fe719b..9fcf264126f 100644 --- a/configure.in +++ b/configure.in @@ -1881,6 +1881,14 @@ if test -f /usr/lpp/X11/bin/smt.exp; then 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"