]> git.michaelhowe.org Git - packages/o/openafs.git/commit
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>
Sun, 27 Feb 2011 11:45:24 +0000 (03:45 -0800)
commit65ddae68df10eae5884376be85185329c036ce9a
tree8bf511c96500ab8fab7f57b140bad0d28a182517
parent41da26a9fdb9565565159daa46f923cc1d371a09
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.

(cherry picked from commit 4a6a00d6f45bd0ac94e2eb05adee41552073643a)
Reviewed-on: http://gerrit.openafs.org/3345
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Change-Id: Iea866ca6dfe758d95ef890f0d95e1c38012048b4
Reviewed-on: http://gerrit.openafs.org/4078
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
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