From c401b55a7719b7be446183cdb33c76d71c3b5d88 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 16 Jan 2005 22:51:49 +0000 Subject: [PATCH] * configure.ac: Provide prerequisite headers when checking . * configure: Regenerate. --- gdb/ChangeLog | 4 ++++ gdb/configure.ac | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 521d0f8616..76832efdde 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2005-01-16 Mark Kettenis + * configure.ac: Provide prerequisite headers when checking + . + * configure: Regenerate. + * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h" and "bsd-uthread.h". (amd64fbsd_jmp_buf_reg_offset): New variable. diff --git a/gdb/configure.ac b/gdb/configure.ac index 55e19c410c..7794d3b9a1 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -409,7 +409,12 @@ case $host_os in 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 +#endif +]) # FIXME: kettenis/20030102: In most cases we include these # unconditionally, so what's the point in checking these? -- 2.34.1