From f1c5c36fa53367df783c80c6d61c061a998ad7fd Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Fri, 25 Aug 2017 17:00:54 +0100 Subject: [PATCH] Accept curses.h as a valid curses header (#733) This fixes the build on NetBSD 7.1_RC2 with curses from base (no ncurses package). --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a400a886e..a572199ee 100644 --- a/configure.ac +++ b/configure.ac @@ -395,7 +395,10 @@ dnl --- ncurses [cf_cv_ncurses_header="ncurses/ncurses.h"], AC_CHECK_HEADERS(ncurses.h, [cf_cv_ncurses_header="ncurses.h"], - AC_MSG_ERROR(Unable to find ncurses headers) + AC_CHECK_HEADERS(curses.h, + [cf_cv_ncurses_header="curses.h"], + AC_MSG_ERROR(Unable to find ncurses headers) + ) ) ) ) -- 2.40.0