* configure.in: check for STREAMSPTY (hopefully)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4043
dc483132-0cff-0310-8789-
dd5450dbe970
Thu Aug 4 03:37:26 1994 Tom Yu (tlyu@dragons-lair)
+ * sys_term.h: fix linux lossage, i.e. <linux/tty.h>
+ * configure.in: check for STREAMSPTY (hopefully)
+
* Makefile.in:
* configure.in: make install changes
[cc_t foo;],,AC_DEFINE(NO_CC_T))
fi
fi
+AC_FUNC_CHECK(grantpt,AC_DEFINE(STREAMSPTY))
AC_FUNC_CHECK(gettosbyname,AC_DEFINE(HAS_GETTOS))
AC_HEADER_CHECK(sys/filio.h,AC_DEFINE(FILIO_H))
AC_HEADER_CHECK(sys/stream.h,AC_DEFINE(STREAMS))
#include <sys/resource.h>
#include <sys/proc.h>
#endif
+#ifndef linux
#include <sys/tty.h>
+#else
+#include <linux/tty.h>
+#endif
#ifdef t_erase
#undef t_erase
#undef t_kill