From aa31008b631f96274a96437a99b86902ab651e04 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 11 Feb 1996 23:39:42 +0000 Subject: [PATCH] autoreconf git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@265 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/telnet/configure | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/appl/telnet/configure b/appl/telnet/configure index 9ebe80d94..238c3a156 100755 --- a/appl/telnet/configure +++ b/appl/telnet/configure @@ -1478,12 +1478,18 @@ done # Simple test for streamspty, based on the existance of getmsg(), alas # this breaks on SunOS4 which have streams but BSD-like ptys +# +# And also something wierd has happend with dec-osf1, fallback to bsd-ptys echo $ac_n "checking for streamspty""... $ac_c" 1>&6 -krb_cv_sys_streamspty="no" -if expr "`uname -sr`" : "SunOS 4" > /dev/null; then :; else +case "`uname -sr`" in +SunOS\ 4*|OSF1*) + krb_cv_sys_streamspty=no + ;; +*) krb_cv_sys_streamspty="$ac_cv_func_getmsg" -fi + ;; +esac if test "$krb_cv_sys_streamspty" = yes; then cat >> confdefs.h <<\EOF #define STREAMSPTY 1