aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@entel.upc.edu>2012-03-13 15:23:35 +0000
committerRoger Pau Monne <roger.pau@entel.upc.edu>2012-03-13 15:23:35 +0000
commit65da4913214120ddc95bd846cb3649a29f87146a (patch)
tree0184962f72ff86a39430e6a0958ee15fcbcfb977 /config
parent77b8dfec88acdc71138e3af7e2603ad8d72eb926 (diff)
downloadxen-65da4913214120ddc95bd846cb3649a29f87146a.tar.gz
xen-65da4913214120ddc95bd846cb3649a29f87146a.tar.bz2
xen-65da4913214120ddc95bd846cb3649a29f87146a.zip
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>
Diffstat (limited to 'config')
-rw-r--r--config/NetBSD.mk2
-rw-r--r--config/StdGNU.mk1
-rw-r--r--config/SunOS.mk1
-rw-r--r--config/Tools.mk.in1
4 files changed, 1 insertions, 4 deletions
diff --git a/config/NetBSD.mk b/config/NetBSD.mk
index 7aed0e7440..274bfb0107 100644
--- a/config/NetBSD.mk
+++ b/config/NetBSD.mk
@@ -1,8 +1,6 @@
include $(XEN_ROOT)/config/StdGNU.mk
# Override settings for this OS
-CURSES_LIBS = -lcurses
-
LIBLEAFDIR_x86_64 = lib
LIBEXEC = $(PREFIX)/libexec
PRIVATE_BINDIR = $(BINDIR)
diff --git a/config/StdGNU.mk b/config/StdGNU.mk
index 2af2841ccc..e2c9335db4 100644
--- a/config/StdGNU.mk
+++ b/config/StdGNU.mk
@@ -67,7 +67,6 @@ XEN_CONFIG_DIR = $(CONFIG_DIR)/xen
XEN_SCRIPT_DIR = $(XEN_CONFIG_DIR)/scripts
SOCKET_LIBS =
-CURSES_LIBS = -lncurses
PTHREAD_LIBS = -lpthread
UTIL_LIBS = -lutil
DLOPEN_LIBS = -ldl
diff --git a/config/SunOS.mk b/config/SunOS.mk
index 6fa0e817dd..ba809f5f5b 100644
--- a/config/SunOS.mk
+++ b/config/SunOS.mk
@@ -47,7 +47,6 @@ SunOS_LIBDIR = /usr/sfw/lib
SunOS_LIBDIR_x86_64 = /usr/sfw/lib/amd64
SOCKET_LIBS = -lsocket
-CURSES_LIBS = -lcurses
PTHREAD_LIBS = -lpthread
UTIL_LIBS =
DLOPEN_LIBS = -ldl
diff --git a/config/Tools.mk.in b/config/Tools.mk.in
index 881bb05f03..68de1e4cf0 100644
--- a/config/Tools.mk.in
+++ b/config/Tools.mk.in
@@ -43,3 +43,4 @@ CONFIG_SYSTEM_LIBAIO:= @system_aio@
CONFIG_LIBICONV := @libiconv@
CONFIG_GCRYPT := @libgcrypt@
CONFIG_EXT2FS := @libext2fs@
+CURSES_LIBS := @CURSES_LIBS@