summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 59786b9)
raw | patch | inline | side by side (parent: 59786b9)
author | Antoine Beaupré <anarcat@koumbit.org> | |
Tue, 3 Dec 2013 05:33:39 +0000 (00:33 -0500) | ||
committer | Antoine Beaupré <anarcat@koumbit.org> | |
Wed, 4 Dec 2013 15:41:16 +0000 (10:41 -0500) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index de0a8b0cb2fe5a85882071df399008bd6681d7f3..4cdd5028b14528c561a93676ea3c593969e9fc67 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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")