SOLARIS: Look for ncurses in ncurses/ncurses.h
authorAndrew Deason <adeason@sinenomine.net>
Fri, 4 Jan 2013 19:18:40 +0000 (14:18 -0500)
committerDerrick Brashear <shadow@your-file-system.com>
Sat, 5 Jan 2013 14:28:22 +0000 (06:28 -0800)
commit81dd4878e7a71b5acfd7a6e6f9be26cd6ab28972
tree0ca5a2eea6ec0cffb7965bc0bc6dd7527c9d3fa8
parent936c2b02bf6fbeb3844c539665392ae89eb652fe
SOLARIS: Look for ncurses in ncurses/ncurses.h

Solaris 11+ has ncurses.h in ncurses/ncurses.h. Look for it there.

Without this, on Solaris 11.1 we will detect libncurses automatically
(because it lives in /usr/lib), but not ncurses.h (since it is in
ncurses/ncurses.h, not ncurses.h). So, we will fall back to curses.h,
but will try to link to libncurses, which, as you might guess, fails
with various undefined symbols.

Change-Id: Ia174e2a3c97318d6db2a48a6098569aede93522c
Reviewed-on: http://gerrit.openafs.org/8874
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
acinclude.m4
src/gtx/curses_test.c
src/gtx/gtxcurseswin.h