summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-08-19 18:55:24 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-08-19 18:55:24 -0300
commitb003636958377ecad3ee5df4ca2de8717c4530b9 (patch)
tree187106d1eae07e5f1dfd8dfb3a63d288863f3e8a /configure.ac
parent3e93f9b85243e1edf1d3b73658fdf3f8a5b13032 (diff)
Support for NCurses 6.0 and mouse wheel
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 3852d3ba..f9e58eea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -143,9 +143,11 @@ fi
AC_ARG_ENABLE(unicode, [AC_HELP_STRING([--enable-unicode], [enable Unicode support])], ,enable_unicode="yes")
if test "x$enable_unicode" = xyes; then
- AC_CHECK_LIB([ncursesw], [refresh], [], [
- missing_libraries="$missing_libraries libncursesw"
- AC_MSG_ERROR([You may want to use --disable-unicode or install libncursesw.])
+ AC_CHECK_LIB([ncursesw6], [refresh], [], [
+ AC_CHECK_LIB([ncursesw], [refresh], [], [
+ missing_libraries="$missing_libraries libncursesw"
+ AC_MSG_ERROR([You may want to use --disable-unicode or install libncursesw.])
+ ])
])
AC_CHECK_HEADERS([ncursesw/curses.h],[:],
[AC_CHECK_HEADERS([ncurses/ncurses.h],[:],

© 2014-2024 Faster IT GmbH | imprint | privacy policy