]> git.michaelhowe.org Git - packages/o/openafs.git/commit
SOLARIS: Look for ncurses in ncurses/ncurses.h
authorAndrew Deason <adeason@sinenomine.net>
Fri, 4 Jan 2013 19:18:40 +0000 (14:18 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 10 Jan 2013 16:04:23 +0000 (08:04 -0800)
commit9754a288e7439413ae71f1d1e89e387224494dc8
tree2ac2ef42ceb74c13799da3e0db8bd444af0a2ce9
parent5be413b079dfceae7b6881913c14a67561907db7
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.

Reviewed-on: http://gerrit.openafs.org/8874
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit 81dd4878e7a71b5acfd7a6e6f9be26cd6ab28972)

Change-Id: I139296ae267ec057fc5ee11634d19ba36c8f8d6c
Reviewed-on: http://gerrit.openafs.org/8890
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Paul Smeddle <paul.smeddle@gmail.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
acinclude.m4
src/gtx/curses_test.c
src/gtx/gtxcurseswin.h