diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-03-04 13:29:36 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-03-04 13:29:36 +0000 |
commit | b5b593108f9d5a47729a3e5cbabb8ac3ddd5a72d (patch) | |
tree | 46bc3635a3aaf3ceec4cd32c8280179c0f27b983 /tools/xenstat | |
parent | bef098a19f6a341ffa304a4d4820d48e573df69d (diff) | |
download | xen-b5b593108f9d5a47729a3e5cbabb8ac3ddd5a72d.tar.gz xen-b5b593108f9d5a47729a3e5cbabb8ac3ddd5a72d.tar.bz2 xen-b5b593108f9d5a47729a3e5cbabb8ac3ddd5a72d.zip |
tools: Compile xentop only if curses are available.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'tools/xenstat')
-rw-r--r-- | tools/xenstat/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/xenstat/Makefile b/tools/xenstat/Makefile index 1daa628bcb..5fc3b52df5 100644 --- a/tools/xenstat/Makefile +++ b/tools/xenstat/Makefile @@ -6,8 +6,10 @@ 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 |