summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-01 01:16:15 -0400
committerDavid Robillard <d@drobilla.net>2016-08-01 03:43:56 -0400
commitff6d8a87f9569a42c7827428f2329280c9b633b9 (patch)
treed7ccbeaac5381e8cfd07c4ad5efd0872de65fd45 /wscript
parent7eb24a2761deb9604f1c6b813e6de69876088f9e (diff)
downloadingen-ff6d8a87f9569a42c7827428f2329280c9b633b9.tar.gz
ingen-ff6d8a87f9569a42c7827428f2329280c9b633b9.tar.bz2
ingen-ff6d8a87f9569a42c7827428f2329280c9b633b9.zip
Implement LV2 log extension as host
Only print color logs if output is a terminal.
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 6 insertions, 0 deletions
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',