files but not a streams TTY interface that is widely used. More
important, strops.h breaks _IO.
* Use ptsname() before ttyname() if present; it is more likely to give
what we want.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6295
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Jul 13 17:49:54 1995 Sam Hartman <hartmans@tertius.mit.edu>
+
+ * configure.in : Short circuit the streams test for AIX to false
+ because AIX strops.h trashes definition of _IO from sys/ioctl.h.
+ I think this is fixed in AIX4, so the test is only bypassed for
+ AIX3.
+
+Tue Jul 11 12:50:16 1995 Sam Hartman <hartmans@tertius.mit.edu>
+
+ * krlogind.c (getpty): Use ptsname before ttyname; it has a higher
+ chance of doing what we want.
Fri Jul 7 15:40:42 EDT 1995 Paul Park (pjpark@mit.edu)
* Makefile.in - Remove all explcitit library handling.
dnl login.
dnl
case $krb5_cv_host in
+*-*-aix3*) # AIX has streams include files but not streams TTY
+# Moreover, strops.h trashes sys/ioctl.h
+krb5_cv_has_streams=no
+;;
alpha-dec-osf*)
AC_CHECK_LIB(security,main,
AC_DEFINE(HAVE_SETLUID)
if (grantpt(*fd) || unlockpt(*fd)) return 1;
#endif
-#ifdef HAVE_TTYNAME
- p = ttyname(*fd);
-#else
#ifdef HAVE_PTSNAME
p = ptsname(*fd);
+#else
+#ifdef HAVE_TTYNAME
+ p = ttyname(*fd);
#else
/* XXX If we don't have either what do we do */
#endif