[krbdev.mit.edu #3112] telnet does not build on Fedora Core 4
src/appl/telnet/telnet/telnet.c will not build on Fedora Core 4.
FC4's /usr/include/term.h declares setupterm() but autoconf does not
detect it and therefore HAVE_SETUPTERM is not defined in the Makefile.
In addition, the variable 'ttytype' is not available unless we use
NCURSES instead of CURSES. This is also not detected by autoconf.