+2001-06-21 Ezra Peisach <epeisach@mit.edu>
+
+ * configure.in: Test for parsetos() prototype and presence of
+ curses.h and term.h header files.
+
+ * telnet.c: Include term.h and curses.h if present for setupterm()
+ prototype.
+
+ * main.c: Declare prototype for parsetos() if needed.
+
2001-06-19 Ezra Peisach <epeisach@mit.edu>
* telnet.c (telrcv): Ensure variable set before use.
CONFIG_RULES
AC_PROG_INSTALL
AC_FUNC_VFORK
-AC_CHECK_HEADERS(string.h arpa/nameser.h unistd.h sys/select.h stdlib.h arpa/inet.h sys/filio.h)
+AC_CHECK_HEADERS(string.h arpa/nameser.h unistd.h sys/select.h stdlib.h arpa/inet.h sys/filio.h curses.h term.h)
AC_CHECK_LIB(termcap,main,AC_DEFINE(TERMCAP)
LIBS="$LIBS -ltermcap",
AC_CHECK_LIB(curses,setupterm,LIBS="$LIBS -lcurses",
fi
fi
fi
+KRB5_NEED_PROTO([#include <unistd.h>
+#include <stdlib.h>],parsetos,1)
CHECK_SIGNALS
if test "$KRB4_LIB" = ''; then
AC_MSG_RESULT(No Kerberos 4 authentication)