summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-18 18:32:02 +0100
committerDavid Robillard <d@drobilla.net>2017-02-18 19:38:13 +0100
commitf240b08a1799b3aa6a29701c90388d51c0c1b2ce (patch)
tree28ec7429aa10f28710023fdcc43d07a4f0b4ebc9 /wscript
parent6141b832946006a6ec3c1a3a70bd729c0404771e (diff)
downloadingen-f240b08a1799b3aa6a29701c90388d51c0c1b2ce.tar.gz
ingen-f240b08a1799b3aa6a29701c90388d51c0c1b2ce.tar.bz2
ingen-f240b08a1799b3aa6a29701c90388d51c0c1b2ce.zip
Add experimental PortAudio driver
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript b/wscript
index 538e2b84..46f9b686 100644
--- a/wscript
+++ b/wscript
@@ -44,6 +44,9 @@ def options(opt):
help='Do not build Socket interface')
opt.add_option('--debug-urids', action='store_true', dest='debug_urids',
help='Print a trace of URI mapping')
+ opt.add_option('--portaudio', action='store_true', default=False,
+ dest='portaudio',
+ help='Build PortAudio backend')
def configure(conf):
autowaf.display_header('Ingen Configuration')
@@ -90,6 +93,8 @@ def configure(conf):
atleast_version='0.18.0', mandatory=False)
autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD',
atleast_version='0.12.0', mandatory=False)
+ autowaf.check_pkg(conf, 'portaudio-2.0', uselib_store='PORTAUDIO',
+ atleast_version='2.0.0', mandatory=False)
conf.check(function_name = 'posix_memalign',
defines = '_POSIX_C_SOURCE=200809L',