autoconf: add check for curses library
authorRoger Pau Monne <roger.pau@entel.upc.edu>
Tue, 13 Mar 2012 15:23:35 +0000 (15:23 +0000)
committerRoger Pau Monne <roger.pau@entel.upc.edu>
Tue, 13 Mar 2012 15:23:35 +0000 (15:23 +0000)
commit65da4913214120ddc95bd846cb3649a29f87146a
tree0184962f72ff86a39430e6a0958ee15fcbcfb977
parent77b8dfec88acdc71138e3af7e2603ad8d72eb926
autoconf: add check for curses library

Check for a curses compatible library (curses or ncurses basically).
One of those is needed to compile Xen tools (gtraceview and xentop).

Modify Makefiles/sources to use configure output (fetch CURSES_LIBS
from tools/Tools.mk and header to include from tools/config.h)

Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
12 files changed:
config/NetBSD.mk
config/StdGNU.mk
config/SunOS.mk
config/Tools.mk.in
tools/config.h.in
tools/configure
tools/configure.ac
tools/m4/curses.m4 [new file with mode: 0644]
tools/misc/Makefile
tools/misc/gtraceview.c
tools/xenstat/xentop/Makefile
tools/xenstat/xentop/xentop.c