Code

switch to ncursesw in the build chain
authorAntoine Beaupré <anarcat@koumbit.org>
Tue, 3 Dec 2013 05:33:39 +0000 (00:33 -0500)
committerAntoine Beaupré <anarcat@koumbit.org>
Wed, 4 Dec 2013 15:41:16 +0000 (10:41 -0500)
configure.ac

index de0a8b0cb2fe5a85882071df399008bd6681d7f3..4cdd5028b14528c561a93676ea3c593969e9fc67 100644 (file)
@@ -186,10 +186,10 @@ AC_CHECK_FUNCS(nanosleep, [],
 AM_CONDITIONAL(BUILD_WITH_LIBRT, test "x$nanosleep_needs_rt" = "xyes")
 
 with_ncurses="yes"
-AC_CHECK_HEADERS(ncurses.h, [with_ncurses="yes"], [with_ncurses="no"])
+AC_CHECK_HEADERS(ncursesw/ncurses.h, [with_ncurses="yes"], [with_ncurses="no"])
 if test "x$with_ncurses" = "xyes"
 then
-       AC_CHECK_LIB(ncurses, mvwprintw, [with_ncurses="yes"], [with_ncurses="no"])
+       AC_CHECK_LIB(ncursesw, mvwprintw, [with_ncurses="yes"], [with_ncurses="no"])
 fi
 AM_CONDITIONAL(BUILD_WITH_LIBNCURSES, test "x$with_ncurses" = "xyes")