From: Ken Raeburn Date: Thu, 16 Mar 2006 00:28:51 +0000 (+0000) Subject: * configure.in: If tgetent can't be found, error out X-Git-Tag: krb5-1.5-alpha1~164 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fc02dc6d9efc065cb6b95ef3246d968dc2a8e32;p=thirdparty%2Fkrb5.git * configure.in: If tgetent can't be found, error out git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17741 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/telnet/ChangeLog b/src/appl/telnet/ChangeLog index 5fc18685ff..6a90a87c86 100644 --- a/src/appl/telnet/ChangeLog +++ b/src/appl/telnet/ChangeLog @@ -1,3 +1,7 @@ +2006-03-15 Ken Raeburn + + * configure.in: If tgetent can't be found, error out. + 2005-08-20 Ken Raeburn * 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 da8b31623d..78d54a3d6d 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)