[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tools: Compile xentop only if curses are available.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1204637376 0
# Node ID 166995f1d5881fbbf435716de207763ba76dfef9
# Parent  96453af916b9351bf8b6f319c4949c77082919fb
tools: Compile xentop only if curses are available.
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 tools/xenstat/Makefile |    2 ++
 1 files changed, 2 insertions(+)

diff -r 96453af916b9 -r 166995f1d588 tools/xenstat/Makefile
--- a/tools/xenstat/Makefile    Tue Mar 04 13:28:00 2008 +0000
+++ b/tools/xenstat/Makefile    Tue Mar 04 13:29:36 2008 +0000
@@ -6,7 +6,9 @@ SUBDIRS += libxenstat
 
 # This doesn't cross-compile (cross-compile environments rarely have curses)
 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
+ifeq ($(wildcard /usr/include/curses.h),/usr/include/curses.h)
 SUBDIRS += xentop
+endif
 endif
 
 .PHONY: all install clean

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.