diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-02-26 23:54:18 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-02-26 23:54:18 +0000 |
commit | 4ab5bf08d410582ceef1ab30bfbdba9e3e71b7c2 (patch) | |
tree | 76a6573e85cc798d6869d031a65b8f3a23775c2c /SConstruct | |
parent | 869c58fb780b10d3db6f416295bdd2c84424581c (diff) |
compile tranzport stuff by default but do not allow compilation if libusb is not found
git-svn-id: svn://localhost/ardour2/trunk@1518 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index d08b1badab..78de60206b 100644 --- a/SConstruct +++ b/SConstruct @@ -44,7 +44,7 @@ opts.AddOptions( BoolOption('UNIVERSAL', 'Compile as universal binary. Requires that external libraries are already universal.', 0), BoolOption('VERSIONED', 'Add revision information to ardour/gtk executable name inside the build directory', 0), BoolOption('VST', 'Compile with support for VST', 0), - BoolOption('TRANZPORT', 'Compile with support for Frontier Designs (if libusb is available)', 0) + BoolOption('TRANZPORT', 'Compile with support for Frontier Designs (if libusb is available)', 1) ) #---------------------------------------------------------------------- @@ -961,7 +961,10 @@ surface_subdirs = [ 'libs/surfaces/control_protocol', 'libs/surfaces/generic_mid if env['SURFACES']: if have_libusb: - env['TRANZPORT'] = 'yes' + env['TRANZPORT'] = 1 + else: + env['TRANZPORT'] = 0 + print 'Disabled building Tranzport code because libusb could not be found' if os.access ('libs/surfaces/sony9pin', os.F_OK): surface_subdirs += [ 'libs/surfaces/sony9pin' ] |