summaryrefslogtreecommitdiffstats
path: root/src/appl
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2002-04-12 22:19:50 +0000
committerTom Yu <tlyu@mit.edu>2002-04-12 22:19:50 +0000
commit0602bd154fd6211b1756ef594c5947b3ec590c2d (patch)
tree7c864ad772b6c64c2a4781c69847df48662b2e31 /src/appl
parent9f8272551a03e6ac4aa7c50a983151b7ec13894d (diff)
downloadkrb5-0602bd154fd6211b1756ef594c5947b3ec590c2d.tar.gz
krb5-0602bd154fd6211b1756ef594c5947b3ec590c2d.tar.xz
krb5-0602bd154fd6211b1756ef594c5947b3ec590c2d.zip
* 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
Diffstat (limited to 'src/appl')
-rw-r--r--src/appl/telnet/telnet/ChangeLog6
-rw-r--r--src/appl/telnet/telnet/configure.in8
2 files changed, 14 insertions, 0 deletions
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 <tlyu@mit.edu>
+
+ * 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 <raeburn@mit.edu>
* 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",