+Thu Sep 29 17:55:57 1994 Mark Eichin (eichin@tweedledumber.cygnus.com)
+
+ * krlogin.c (mode): ifdef VLNEXT instead of svr4 for ^V fixing.
+ (doit): ditto.
+ krlogin.c, configure.in: include sys/tty.h and sys/ttold.h only if
+ they're both there.
+
+
Wed Sep 28 20:57:24 1994 Mark Eichin (eichin@tweedledumber.cygnus.com)
* configure.in (srand48): check for srand48, and if it exists,
substitute it for srandom (and lrand48 for random.)
+ (K4LIB): add libdes.a, needed for des_pcbc_encrypt.
Wed Sep 28 14:36:29 1994 Mark Eichin (eichin@rtl.cygnus.com)
[#include <signal.h>],
[sigset_t x],
AC_DEFINE(POSIX_SIGNALS)))
-AC_HAVE_HEADERS(sys/filio.h sys/sockio.h unistd.h sys/label.h ttyent.h sys/ptyvar.h lastlog.h sys/select.h)
+AC_HAVE_HEADERS(sys/filio.h sys/sockio.h unistd.h sys/label.h ttyent.h sys/ptyvar.h lastlog.h sys/select.h sys/tty.h sys/ttold.h)
AC_REPLACE_FUNCS(getdtablesize)
CHECK_DIRENT
CHECK_FCNTL
/****** MWE *****/
/****** MWE *****/
-#ifdef __svr4__
+/* formerly __svr4__ but that's not defined by suncc */
+#if defined(HAVE_SYS_TTY_H) && defined(HAVE_SYS_TTOLD_H)
#include <sys/tty.h>
#include <sys/ttold.h>
#ifdef HAVE_SYS_PTYVAR_H
{
#ifdef POSIX_TERMIOS
(void) tcgetattr(0, &deftty);
-#ifdef __svr4__
+/* was __svr4__ */
+#ifdef VLNEXT
/* there's a POSIX way of doing this, but do we need it general? */
deftty.c_cc[VLNEXT] = 0;
#endif
break;
case 1:
(void) tcgetattr(0, &newtty);
-#ifdef __svr4__
+/* was __svr4__ */
+#ifdef VLNEXT
/* there's a POSIX way of doing this, but do we need it general? */
newtty.c_cc[VLNEXT] = 0;
#endif