diff options
author | Ezra Peisach <epeisach@mit.edu> | 2005-01-18 17:33:56 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2005-01-18 17:33:56 +0000 |
commit | 87f5cb6e233c4d16dc4eed9b9a070088daf02c09 (patch) | |
tree | 776fb0618760290c611fc841f65a0ca79775e6b1 /src/appl | |
parent | 7f40eeecf013fd911393f0e00be3184b4d6d0a61 (diff) | |
download | krb5-87f5cb6e233c4d16dc4eed9b9a070088daf02c09.tar.gz krb5-87f5cb6e233c4d16dc4eed9b9a070088daf02c09.tar.xz krb5-87f5cb6e233c4d16dc4eed9b9a070088daf02c09.zip |
* configure.in: When looking for setupterm() - look in
libcurses/libncurses even if termcap library found.
This is a GCC 4.0 fix.. Otherwise we get conflicting declarations of setupterm
in a header file and in the telnet client.
ticket: 2876
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17053 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl')
-rw-r--r-- | src/appl/telnet/ChangeLog | 5 | ||||
-rw-r--r-- | src/appl/telnet/configure.in | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/appl/telnet/ChangeLog b/src/appl/telnet/ChangeLog index 5457af9480..5ffe64539c 100644 --- a/src/appl/telnet/ChangeLog +++ b/src/appl/telnet/ChangeLog @@ -1,3 +1,8 @@ +2005-01-13 Ezra Peisach <epeisach@mit.edu> + + * configure.in: When looking for setupterm() - look in + libcurses/libncurses even if termcap library found. + 2004-09-22 Tom Yu <tlyu@mit.edu> * configure.in: Use KRB5_AC_LIBUTIL. diff --git a/src/appl/telnet/configure.in b/src/appl/telnet/configure.in index 818c2e45f1..92d69316bb 100644 --- a/src/appl/telnet/configure.in +++ b/src/appl/telnet/configure.in @@ -51,10 +51,10 @@ AC_CHECK_HEADERS(term.h,,,dnl ]) dnl AC_CHECK_LIB(termcap,main,AC_DEFINE(TERMCAP) -LIBS="$LIBS -ltermcap", - AC_CHECK_LIB(curses,setupterm,LIBS="$LIBS -lcurses", +LIBS="$LIBS -ltermcap") +AC_CHECK_LIB(curses,setupterm,LIBS="$LIBS -lcurses", AC_CHECK_LIB(ncurses,setupterm,LIBS="$LIBS -lncurses") -)) +) KRB5_AC_INET6 AC_CHECK_FUNCS(setupterm) AC_CHECK_HEADER(termios.h,AC_DEFINE(USE_TERMIO) ac_termio=1) |