<term.h>.
* configure: Regenerate.
2005-01-16 Mark Kettenis <kettenis@gnu.org>
+ * configure.ac: Provide prerequisite headers when checking
+ <term.h>.
+ * configure: Regenerate.
+
* amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
and "bsd-uthread.h".
(amd64fbsd_jmp_buf_reg_offset): New variable.
fi ;;
esac
AC_CHECK_HEADERS(curses.h cursesX.h ncurses.h ncurses/ncurses.h)
-AC_CHECK_HEADERS(ncurses/term.h term.h)
+AC_CHECK_HEADERS(ncurses/term.h)
+AC_CHECK_HEADERS(term.h, [], [],
+[#if HAVE_CURSES_H
+# include <curses.h>
+#endif
+])
# FIXME: kettenis/20030102: In most cases we include these
# unconditionally, so what's the point in checking these?