diff options
| -rw-r--r-- | src/appl/telnet/ChangeLog | 4 | ||||
| -rw-r--r-- | src/appl/telnet/configure.in | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/appl/telnet/ChangeLog b/src/appl/telnet/ChangeLog index 5fc18685f..6a90a87c8 100644 --- a/src/appl/telnet/ChangeLog +++ b/src/appl/telnet/ChangeLog @@ -1,3 +1,7 @@ +2006-03-15 Ken Raeburn <raeburn@mit.edu> + + * configure.in: If tgetent can't be found, error out. + 2005-08-20 Ken Raeburn <raeburn@mit.edu> * configure.in: Use K5_AC_INIT instead of AC_INIT. diff --git a/src/appl/telnet/configure.in b/src/appl/telnet/configure.in index da8b31623..78d54a3d6 100644 --- a/src/appl/telnet/configure.in +++ b/src/appl/telnet/configure.in @@ -55,6 +55,7 @@ LIBS="$LIBS -ltermcap") AC_CHECK_LIB(curses,setupterm,LIBS="$LIBS -lcurses", AC_CHECK_LIB(ncurses,setupterm,LIBS="$LIBS -lncurses") ) +AC_CHECK_FUNC(tgetent, , [AC_MSG_ERROR([Could not find tgetent; are you missing a curses/ncurses library?])]) KRB5_AC_INET6 AC_CHECK_FUNCS(setupterm) AC_CHECK_HEADER(termios.h,AC_DEFINE(USE_TERMIO) ac_termio=1) |
