* configure.in: If tgetent can't be found, error out
authorKen Raeburn <raeburn@mit.edu>
Thu, 16 Mar 2006 00:28:51 +0000 (00:28 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 16 Mar 2006 00:28:51 +0000 (00:28 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17741 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/ChangeLog
src/appl/telnet/configure.in

index 5fc18685ff36cfb61ef74dd5413fa670bdb1d883..6a90a87c8673e23c15e39f6e05e846bdbb9c39f8 100644 (file)
@@ -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.
index da8b31623d1c43c1fd679448c9e1e477a1719222..78d54a3d6d1f2e4831ee810e582ce4562e1dcdd8 100644 (file)
@@ -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)