From 119d7157ca8ba0809650d613f6bc5cda99234d81 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Thu, 15 Dec 2016 13:36:08 +0100 Subject: [PATCH] tools/xenstat: Remove redundant check for curses.h This check for curses.h does not consider cross-compilation. It only checks host paths. Luckily, commit 65da4913214120ddc95bd846cb3649a29f87146a introduced proper configure checks for ncurses so we can remove the redundant check in the Makefile. Signed-off-by: Edgar E. Iglesias Acked-by: Wei Liu --- tools/xenstat/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/xenstat/Makefile b/tools/xenstat/Makefile index 901be4a77d..09ec1b7858 100644 --- a/tools/xenstat/Makefile +++ b/tools/xenstat/Makefile @@ -6,10 +6,8 @@ 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 distclean -- 2.30.2