ncurses configure.ac check.