aboutsummaryrefslogtreecommitdiff
path: root/src/appl
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-03-16 00:28:51 +0000
committerKen Raeburn <raeburn@mit.edu>2006-03-16 00:28:51 +0000
commit5fc02dc6d9efc065cb6b95ef3246d968dc2a8e32 (patch)
treed10651ce8d369d7e3410fc487d14a528313b231e /src/appl
parenta2fa7371ff2b427d74bdfb849951e8e1f428e80c (diff)
downloadkrb5-5fc02dc6d9efc065cb6b95ef3246d968dc2a8e32.zip
krb5-5fc02dc6d9efc065cb6b95ef3246d968dc2a8e32.tar.gz
krb5-5fc02dc6d9efc065cb6b95ef3246d968dc2a8e32.tar.bz2
* 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
Diffstat (limited to 'src/appl')
-rw-r--r--src/appl/telnet/ChangeLog4
-rw-r--r--src/appl/telnet/configure.in1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/appl/telnet/ChangeLog b/src/appl/telnet/ChangeLog
index 5fc1868..6a90a87 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 da8b316..78d54a3 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)