Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
autotools: fix ncurses wchar detection
Author: Adam Duskett <aduskett@codeblue.com> Ncurses detection is currently broken in buildroot. This patch does the following: - Add SNGREP_CHECK_SCRIPT to configure.ac which checks for a libname, a function in that library, sets a define if found, and if not found, moves on to the next part. This is taken from the htop configure.ac. - Adds SNGREP_CHECK_LIB to configure.ac which checks for a library, a function within that library, sets a define if that function is found, and if not found, moves on to the next part. This is taken from the htop configure.ac - Modifies scrollbar.h and ui_panel.h to include <wctypes.h> instead of <ncursesw/ncurses.h> if unicode is supported.
- Loading branch information