Last active
August 28, 2019 03:54
-
-
Save jtl999/62acb4585958129331c47d0438567c73 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/m4/ax_with_curses.m4 b/m4/ax_with_curses.m4 | |
index bd0ef29..2929031 100644 | |
--- a/m4/ax_with_curses.m4 | |
+++ b/m4/ax_with_curses.m4 | |
@@ -203,7 +203,7 @@ AC_DEFUN([AX_WITH_CURSES], [ | |
# Test for NcursesW | |
AS_IF([test "x$CURSES_LIB" = x && test "x$with_ncursesw" != xno], [ | |
- LIBS="$ax_saved_LIBS -lncursesw" | |
+ LIBS="$ax_saved_LIBS -lncursesw -ltinfow" | |
AC_CACHE_CHECK([for NcursesW wide-character library], [ax_cv_ncursesw], [ | |
AC_LINK_IFELSE([AC_LANG_CALL([], [initscr])], | |
@@ -216,7 +216,7 @@ AC_DEFUN([AX_WITH_CURSES], [ | |
AS_IF([test "x$ax_cv_ncursesw" = xyes], [ | |
ax_cv_curses=yes | |
ax_cv_curses_which=ncursesw | |
- CURSES_LIB="-lncursesw" | |
+ CURSES_LIB="-lncursesw -ltinfow" | |
AC_DEFINE([HAVE_NCURSESW], [1], [Define to 1 if the NcursesW library is present]) | |
AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment