]> xenbits.xensource.com Git - xen.git/commitdiff
tools/xenstat: Remove redundant check for curses.h
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Thu, 15 Dec 2016 12:36:08 +0000 (13:36 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 16 Dec 2016 10:57:23 +0000 (10:57 +0000)
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 <edgar.iglesias@xilinx.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xenstat/Makefile

index 901be4a77d36c616726fddfa785da24c5c681e2e..09ec1b785892ad973edee3c90ed5e0f888e6da32 100644 (file)
@@ -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