From: Samuli Suominen Date: Tue, 24 Jan 2012 18:01:13 +0000 (-0500) Subject: fix basic ncurses check X-Git-Tag: v3.3.3~69^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62c0cf67f665419b6169788b5996ad7238604281;p=procps-ng fix basic ncurses check The first check for ncurses is for the non-wide variant, so drop the "w". The wide version gets checked later on based on watch8bit. Signed-off-by: Samuli Suominen Signed-off-by: Mike Frysinger --- diff --git a/configure.ac b/configure.ac index 709868a7..838d4a45 100644 --- a/configure.ac +++ b/configure.ac @@ -133,7 +133,7 @@ AC_ARG_WITH([ncurses], if test "x$with_ncurses" = xno; then AM_CONDITIONAL(WITH_NCURSES, false) else - AC_CHECK_LIB(ncursesw, initscr, [have_ncurses=yes], [have_ncurses=no]) + AC_CHECK_LIB(ncurses, initscr, [have_ncurses=yes], [have_ncurses=no]) AC_CHECK_HEADERS(curses.h ncurses.h term.h, [], [have_ncurses=no], AC_INCLUDES_DEFAULT) if test "x$have_ncurses" = xno; then AC_MSG_ERROR([ncurses support missing/incomplete (for partial build use --without-ncurses)])