+Fri Jun 21 21:12:52 1996 Sam Hartman <hartmans@mit.edu>
+
+ * configure.in : Make sure it works with the built-in libkrb4.a again.
+
+Fri Jun 14 13:19:30 1996 Sam Hartman <hartmans@mit.edu>
+
+ * login.c: Add define to deal with krb_save_credentials possibly
+ being called save_credentials, and to define krb_get_err_text if
+ it is not defined by the krb4 library.
+
+ * configure.in : check for krb_save_credentials and krb_get_err_text
+
+Thu Jun 13 14:24:50 1996 Sam Hartman <hartmans@mit.edu>
+
+ * krlogind.c (doit): If using vendor login, make sure output flags
+ are reasonable.
+
+
Sat Jun 15 04:03:32 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* configure.in: Cleanup of tests whose results are not longer used
CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDE) $(DEFINES)
-LOCALINCLUDE=-I$(SRCTOP)/include/kerberosIV
+LOCALINCLUDE=
SETENVSRC=@SETENVSRC@
SETENVOBJ=@SETENVOBJ@
USE_KRB5UTIL_LIBRARY
KRB5_LIBRARIES
V5_USE_SHARED_LIB
+if test "$krb5_cv_build_krb4_libs" = yes; then
+ AC_DEFINE(HAVE_KRB_GET_ERR_TEXT)
+ AC_DEFINE(HAVE_KRB_SAVE_CREDENTIALS)
+else
+ oldlibs=$LIBS
+ LIBS=" $KRB4_LIB -lkrb5 -lcrypto -lcom_err"
+ AC_CHECK_FUNCS(krb_get_err_text krb_save_credentials)
+ LIBS=$oldlibs
+fi
+
+AC_CHECK_HEADERS(krb4-proto.h)
V5_AC_OUTPUT_MAKEFILE
new_termio.c_iflag &= ~(IXON|IXANY|BRKINT|INLCR|ICRNL);
#else
new_termio.c_lflag |= (ICANON|ECHO|ISIG|IEXTEN);
+ new_termio.c_oflag |= (ONLCR|OPOST|TAB3);
new_termio.c_iflag|= (IXON|IXANY|BRKINT|INLCR|ICRNL);
#endif /*Do we need binary stream?*/
new_termio.c_iflag &= ~(ISTRIP);
#include <krb.h>
#include <netdb.h>
#include <netinet/in.h>
+#ifdef HAVE_KRB4_PROTO_H
#include <krb4-proto.h>
+#endif
#include <arpa/inet.h>
#ifdef BIND_HACK
#include <arpa/nameser.h>
#include <arpa/resolv.h>
#endif /* BIND_HACK */
+
+/* Hacks to maintain compatability with Athena libkrb*/
+#ifndef HAVE_KRB_SAVE_CREDENTIALS
+#define krb_save_credentials save_credentials
+#endif /*HAVE_KRB_SAVE_CREDENTIALS*/
+
+#ifndef HAVE_KRB_GET_ERR_TEXT
+
+static const char * krb_get_err_text(kerror)
+ int kerror;
+{
+ return krb_err_txt[kerror];
+}
+
+#endif /*HAVE_KRB_GET_ERR_TEXT*/
#endif /* KRB4 */
#ifndef __STDC__