From cecc3ceea0c111ea11daa073bf048b9a161d54f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Arg=C3=BCelles?= Date: Sat, 24 Aug 2013 18:41:06 -0400 Subject: [PATCH] Fix configure script for ncurses without ncursesw On debian systems it is possible not to have libncursesw5-dev and still have ncursesw5-config pointing to where it should be, ncursesw5-config is provided by libncursesw5. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d92b769..5fd25ef 100644 --- a/configure.ac +++ b/configure.ac @@ -122,7 +122,9 @@ if test -n "$PKG_CONFIG"; then [ NCURSES_WIDECHAR_SUPPORT="no" PKG_CHECK_MODULES([NCURSES], [ncurses], - [], + [ + NCURSES_FOUND="yes" + ], [ AC_MSG_WARN([$NCURSES_PKG_ERRORS]) ])