From 9ce64a5cfb20cf69824cf59e1429989bd2c5706f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 22 Mar 2020 01:14:57 +0900 Subject: [PATCH] [build] Fix curses.h header check --- config.d/curses.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.d/curses.m4 b/config.d/curses.m4 index 073e98217..02d9ce7f4 100644 --- a/config.d/curses.m4 +++ b/config.d/curses.m4 @@ -2,7 +2,9 @@ AC_ARG_ENABLE(curses, [ --disable-curses disable curses support] ) if test "x$enable_curses" != "xno"; then - AC_CHECK_HEADER(curses.h) + AC_CHECK_HEADER([curses.h], + [AC_DEFINE([HAVE_CURSES_H], [1], + [Define to 1 if you have .])]) AC_CHECK_LIB(ncurses, initscr, CURSES_LIBS=-lncurses, AC_CHECK_LIB(pdcurses, initscr,