]> granicus.if.org Git - procps-ng/commitdiff
fix basic ncurses check
authorSamuli Suominen <ssuominen@gentoo.org>
Tue, 24 Jan 2012 18:01:13 +0000 (13:01 -0500)
committerSami Kerola <kerolasa@iki.fi>
Thu, 26 Jan 2012 20:16:57 +0000 (21:16 +0100)
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 <ssuominen@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
configure.ac

index 709868a75c624d27d9e7600f8680ac8031a8830c..838d4a45297ba314149d2d235462afda49e27163 100644 (file)
@@ -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)])