From 65da4913214120ddc95bd846cb3649a29f87146a Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Tue, 13 Mar 2012 15:23:35 +0000 Subject: 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 Acked-by: Ian Jackson Committed-by: Ian Jackson --- tools/configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/configure.ac') diff --git a/tools/configure.ac b/tools/configure.ac index c4afe1cf77..cf376bf05f 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -33,6 +33,7 @@ m4_include([m4/default_lib.m4]) m4_include([m4/set_cflags_ldflags.m4]) m4_include([m4/uuid.m4]) m4_include([m4/pkg.m4]) +m4_include([m4/curses.m4]) # Enable/disable options AX_ARG_ENABLE_AND_EXPORT([githttp], [Download GIT repositories via HTTP]) @@ -98,6 +99,7 @@ AS_IF([test "x$pythontools" = "xy"], [ ]) AX_PATH_PROG_OR_FAIL([XGETTEXT], [xgettext]) AX_CHECK_UUID +AX_CHECK_CURSES PKG_CHECK_MODULES(glib, glib-2.0) # Check library path -- cgit v1.2.3