aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann1999-10-27 10:24:13 +0000
committerGerd Moellmann1999-10-27 10:24:13 +0000
commit27b07953f3fe39ce5fbdd5da2eb2904a3a95dd39 (patch)
tree7aae72bbae05c0cd077533e3310acd38bdd7ade9
parentffe2d21f7844cb673d0b73f5dee2fe84abaafef5 (diff)
downloademacs-27b07953f3fe39ce5fbdd5da2eb2904a3a95dd39.tar.gz
emacs-27b07953f3fe39ce5fbdd5da2eb2904a3a95dd39.zip
* configure.in: Check for dynamic ptys (/dev/ptmx, /dev/pts/).
-rw-r--r--configure.in8
1 files changed, 8 insertions, 0 deletions
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
1881 AC_DEFINE(HAVE_AIX_SMT_EXP) 1881 AC_DEFINE(HAVE_AIX_SMT_EXP)
1882fi 1882fi
1883 1883
1884AC_MSG_CHECKING(whether system supports dynamic ptys)
1885if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
1886 AC_MSG_RESULT(yes)
1887 AC_DEFINE(HAVE_DEV_PTMX)
1888else
1889 AC_MSG_RESULT(no)
1890fi
1891
1884# Set up the CFLAGS for real compilation, so we can substitute it. 1892# Set up the CFLAGS for real compilation, so we can substitute it.
1885CFLAGS="$REAL_CFLAGS" 1893CFLAGS="$REAL_CFLAGS"
1886 1894