From b6426fc192e01338f9983c8c9943515af191afd6 Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Fri, 31 Oct 2014 01:44:58 -0700 Subject: Add color support for Clang! Bug: 18187181 We were missing the HAVE_TERMINFO define, as well as proper linkage against ncurses to enable this. Change-Id: I985e1720fadbce4e20ec3608e7d5f0f67d1a74e9 --- host/include/llvm/Config/config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host') diff --git a/host/include/llvm/Config/config.h b/host/include/llvm/Config/config.h index 42115e4..8135848 100644 --- a/host/include/llvm/Config/config.h +++ b/host/include/llvm/Config/config.h @@ -472,6 +472,9 @@ /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 +/* Define if the setupterm() function is supported this platform. */ +#define HAVE_TERMINFO 1 + /* Define to 1 if you have the header file. */ #define HAVE_TERMIOS_H 1 -- cgit v1.1