From: Edgar E. Iglesias Date: Thu, 15 Dec 2016 12:36:08 +0000 (+0100) Subject: tools/xenstat: Remove redundant check for curses.h X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~3125 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=119d7157ca8ba0809650d613f6bc5cda99234d81;p=xen.git 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 --- 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