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
+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.
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",