Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly report which version of libncurses was linked
Later versions of ncurses (20111030 and up) support NCURSES_WIDECHAR even when compiling with libncurses instead of libncursesw. Have tig correctly report whether it was linked against libncursesw or libncurses based off the same defines we set in the build script and use to determine which headers to include. Per the build system, either of HAVE_NCURSESW_H or HAVE_NCURSESW_CURSES_H may indicate the presence of ncursesw, so both are checked. (See #1240 as an example of where `tig --version` incorrectly reports `ncursesw` instead of `ncurses`).
- Loading branch information