From ff6d8a87f9569a42c7827428f2329280c9b633b9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 1 Aug 2016 01:16:15 -0400 Subject: Implement LV2 log extension as host Only print color logs if output is a terminal. --- wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index ce3ab0b5..f898b24a 100644 --- a/wscript +++ b/wscript @@ -86,6 +86,12 @@ def configure(conf): define_name = 'HAVE_POSIX_MEMALIGN', mandatory = False) + conf.check(function_name = 'isatty', + header_name = 'unistd.h', + defines = '_POSIX_SOURCE=1', + define_name = 'HAVE_ISATTY', + mandatory = False) + if not Options.options.no_socket: conf.check(function_name = 'socket', header_name = 'sys/socket.h', -- cgit v1.2.1