* configure.ac: Provide prerequisite headers when checking

<term.h>.
* configure: Regenerate.
This commit is contained in:
Mark Kettenis 2005-01-16 22:51:49 +00:00
parent 1c02b2a55e
commit c401b55a77
2 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2005-01-16 Mark Kettenis <kettenis@gnu.org> 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" * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
and "bsd-uthread.h". and "bsd-uthread.h".
(amd64fbsd_jmp_buf_reg_offset): New variable. (amd64fbsd_jmp_buf_reg_offset): New variable.

View File

@ -409,7 +409,12 @@ case $host_os in
fi ;; fi ;;
esac esac
AC_CHECK_HEADERS(curses.h cursesX.h ncurses.h ncurses/ncurses.h) 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 # FIXME: kettenis/20030102: In most cases we include these
# unconditionally, so what's the point in checking these? # unconditionally, so what's the point in checking these?