* configure.in: Sepcial-case solaris+gcc to always find curses.h,
authorTom Yu <tlyu@mit.edu>
Fri, 12 Apr 2002 22:19:50 +0000 (22:19 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 12 Apr 2002 22:19:50 +0000 (22:19 +0000)
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
src/appl/telnet/telnet/configure.in

index 8973d87750796eb6fc289d8c46bcf9dc72ad0b62..af380bf20ef8563b759058407d0bb7e25aec6e34 100644 (file)
@@ -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.
index 3a77cd64637d76d62e0d0769dbeeb0e5bbfce187..f1f96fa3376c209e48775793396b6a79e1a0fd48 100644 (file)
@@ -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",