check curses-libs by configure
authorChristof Hanke <christof.hanke@rzg.mpg.de>
Sun, 21 Nov 2010 22:01:53 +0000 (23:01 +0100)
committerDerrick Brashear <shadow@dementia.org>
Sat, 27 Nov 2010 15:45:30 +0000 (07:45 -0800)
commit4a6a00d6f45bd0ac94e2eb05adee41552073643a
tree8627c150d6333288c6769c7abebd3004f6809cc5
parentc1e874b4e2250438e0e6b0fe54ecd265356b3ee6
check curses-libs by configure

Presently, the used curses-library are determined by OS.
The leads to a build error when no curses-headers are installed.
Use configure to test if curses.h or ncurses.h is present.
ncurses takes precedence over curses.h.
If neither the curses- nor ncurses-libs are available, do not build
afsmonitor and scout.
A summary at the end of the configure should make this clear to
everyone.
The variable TXLIBS has been renamed to LIB_curses.

Change-Id: I3f661e0b6199be41818dc22149b061e3d599b77f
Reviewed-on: http://gerrit.openafs.org/3345
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Makefile.in
acinclude.m4
configure.ac
src/afsmonitor/Makefile.in
src/cf/osconf.m4
src/config/Makefile.config.in
src/gtx/Makefile.in
src/gtx/curses_test.c
src/gtx/curseswindows.c
src/gtx/gtxcurseswin.h
src/scout/Makefile.in