Heyla,
here's a patch for pty/tty type detection.  It may be necessary on
some Linux systems which would try to use STREAMS instead of GLIBC
type.

Regards,
Geoff

--- autoconf/configure.in-1.108 Mon Apr  9 19:53:19 2001
+++ autoconf/configure.in       Thu Apr 26 15:37:13 2001
@@ -1,6 +1,6 @@
 dnl# -*- sh -*-
 dnl#
-dnl# $Id: configure.in,v 1.108 2001/04/09 06:03:36 gcw Exp $
+dnl# $Id: configure.in,v 1.109 2001/04/20 03:13:33 gcw Exp $
 dnl#
 dnl# Process this file with autoconf to produce a configure script.
 dnl#
@@ -904,13 +904,13 @@
     rxvt_cv_ptys=SCO
  else if test -c /dev/ptym/clone; then
     rxvt_cv_ptys=HPUX
- else if test x$ac_cv_func_getpt = xyes; then
+ else if test x$rxvt_cv_func_getpt = xyes; then
     rxvt_cv_ptys=GLIBC
  else if test -c /dev/ptc -a -c /dev/pts; then
     rxvt_cv_ptys=PTC
  else if test -c /dev/ptmx -a -c /dev/pts/0; then
     rxvt_cv_ptys=STREAMS
- else if test x$rxvt_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then
+ else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then
 dnl# catch CYGWIN
     rxvt_cv_ptys=STREAMS
  else
--- configure.orig      Fri Apr 13 00:47:09 2001
+++ configure   Thu Apr 26 15:38:07 2001
@@ -8836,13 +8836,13 @@
     rxvt_cv_ptys=SCO
  else if test -c /dev/ptym/clone; then
     rxvt_cv_ptys=HPUX
- else if test x$ac_cv_func_getpt = xyes; then
+ else if test x$rxvt_cv_func_getpt = xyes; then
     rxvt_cv_ptys=GLIBC
  else if test -c /dev/ptc -a -c /dev/pts; then
     rxvt_cv_ptys=PTC
  else if test -c /dev/ptmx -a -c /dev/pts/0; then
     rxvt_cv_ptys=STREAMS
- else if test x$rxvt_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then
+ else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then
     rxvt_cv_ptys=STREAMS
  else
     rxvt_cv_ptys=BSD

-- 
Geoff Wing : <[EMAIL PROTECTED]>
Rxvt Stuff : <[EMAIL PROTECTED]>
Zsh Stuff  : <[EMAIL PROTECTED]>

Reply via email to