]> git.sur5r.net Git - kconfig-frontends/blobdiff - configure.ac
configure: fixup extended colors in wide-char-enabled ncurses
[kconfig-frontends] / configure.ac
index 4e02c50ee8f66d8982b405103a2040209b66a935..8b5bc5d0bd94f6d9e4b817e996cf894b1d6ae581 100644 (file)
@@ -270,6 +270,9 @@ AS_IF(
             [test "$need_curses" = "yes"],
             [AC_MSG_ERROR([could not find curses headers (frontends: mconf/nconf)])],
             [has_curses=no])])
+     AS_CASE(
+        [$CURSES_LOC],
+        [ncursesw/*],[ncurses_mconf_CPPFLAGS="$ncurses_mconf_CPPFLAGS -DNCURSES_WIDECHAR=1"])
      AC_SEARCH_LIBS(
         [initscr],
         [ncursesw ncurses curses],