From 0602bd154fd6211b1756ef594c5947b3ec590c2d Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 12 Apr 2002 22:19:50 +0000 Subject: [PATCH] * configure.in: Sepcial-case solaris+gcc to always find curses.h, since it fails to find it otherwise due to some macro redefinition warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14395 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/telnet/telnet/ChangeLog | 6 ++++++ src/appl/telnet/telnet/configure.in | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/src/appl/telnet/telnet/ChangeLog b/src/appl/telnet/telnet/ChangeLog index 8973d8775..af380bf20 100644 --- a/src/appl/telnet/telnet/ChangeLog +++ b/src/appl/telnet/telnet/ChangeLog @@ -1,3 +1,9 @@ +2002-04-12 Tom Yu + + * configure.in: Sepcial-case solaris+gcc to always find curses.h, + since it fails to find it otherwise due to some macro redefinition + warnings. + 2002-03-26 Ken Raeburn * commands.c: Include fake-addrinfo.h, not fake-addrinfo.c. diff --git a/src/appl/telnet/telnet/configure.in b/src/appl/telnet/telnet/configure.in index 3a77cd646..f1f96fa33 100644 --- a/src/appl/telnet/telnet/configure.in +++ b/src/appl/telnet/telnet/configure.in @@ -3,6 +3,14 @@ CONFIG_RULES AC_PROG_INSTALL AC_FUNC_VFORK AC_HEADER_STDARG +case $krb5_cv_host in +*-*-solaris*) + if test "$krb5_cv_prog_gcc" = yes; then + # Solaris 8 at least has curses.h that is noisy under gcc + ac_cv_header_curses_h=yes + fi + ;; +esac AC_CHECK_HEADERS(string.h arpa/nameser.h unistd.h sys/select.h stdlib.h arpa/inet.h sys/filio.h curses.h term.h) AC_CHECK_LIB(termcap,main,AC_DEFINE(TERMCAP) LIBS="$LIBS -ltermcap", -- 2.26.2