summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-04-19 18:35:42 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-04-19 18:35:42 +0000
commit1524fc2b1487a730b1e6fd8cfb9265f2b1af8e1c (patch)
treee4259349691bd023ae39a21bfade4ad35963a7de /SConstruct
parent78564e2470a12706a97516bc8eb00ae7ca0b08df (diff)
provide WITH_CARBON scons argument to be able to disable support of Carbon AU GUIs, which is not possible on 64 bit builds on OS X starting with Snow Leopard
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12034 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index f60f68171d..958fb76f46 100644
--- a/SConstruct
+++ b/SConstruct
@@ -63,7 +63,8 @@ opts.AddVariables(
BoolVariable('FREEDESKTOP', 'Install MIME type, icons and .desktop file as per the freedesktop.org spec (requires xdg-utils and shared-mime-info). "scons uninstall" removes associations in desktop database', 0),
BoolVariable('TRANZPORT', 'Compile with support for Frontier Designs (if libusb is available)', 1),
BoolVariable('AUBIO', "Use Paul Brossier's aubio library for feature detection", 1),
- BoolVariable('AUSTATE', "Build with support for AU settings & presets saving/loading", 0)
+ BoolVariable('AUSTATE', "Build with support for AU settings & presets saving/loading", 0),
+ BoolVariable('WITH_CARBON', "Build with support for Carbon AU GUIs", 1),
)
#----------------------------------------------------------------------
@@ -703,6 +704,7 @@ if re.search ("darwin[0-9]", config[config_kernel]) == None:
env['COREAUDIO'] = 0
env['AUDIOUNITS'] = 0
env['AUSTATE'] = 0
+ env['WITH_CARBON'] = 0
if config[config_cpu] == 'powerpc' and env['DIST_TARGET'] != 'none':
#