Better way to test for ncurses library
Better way to test for ncurses library

Use AC_CHECK_HEADER and AC_SEARCH_LIBS to test for an installed
ncurses library.

Thanks to Thomas Termin who supplied the idea and patch.

b52/mysmartctl,b52/mysmartctl