ia64/xen-unstable

changeset 17184:166995f1d588

tools: Compile xentop only if curses are available.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 04 13:29:36 2008 +0000 (2008-03-04)
parents 96453af916b9
children 2909b03e05de
files tools/xenstat/Makefile
line diff
     1.1 --- a/tools/xenstat/Makefile	Tue Mar 04 13:28:00 2008 +0000
     1.2 +++ b/tools/xenstat/Makefile	Tue Mar 04 13:29:36 2008 +0000
     1.3 @@ -6,8 +6,10 @@ SUBDIRS += libxenstat
     1.4  
     1.5  # This doesn't cross-compile (cross-compile environments rarely have curses)
     1.6  ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
     1.7 +ifeq ($(wildcard /usr/include/curses.h),/usr/include/curses.h)
     1.8  SUBDIRS += xentop
     1.9  endif
    1.10 +endif
    1.11  
    1.12  .PHONY: all install clean
    1.13