mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
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
This commit is contained in:
parent
869c58fb78
commit
4ab5bf08d4
1 changed files with 5 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ opts.AddOptions(
|
||||||
BoolOption('UNIVERSAL', 'Compile as universal binary. Requires that external libraries are already universal.', 0),
|
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('VERSIONED', 'Add revision information to ardour/gtk executable name inside the build directory', 0),
|
||||||
BoolOption('VST', 'Compile with support for VST', 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 env['SURFACES']:
|
||||||
if have_libusb:
|
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):
|
if os.access ('libs/surfaces/sony9pin', os.F_OK):
|
||||||
surface_subdirs += [ 'libs/surfaces/sony9pin' ]
|
surface_subdirs += [ 'libs/surfaces/sony9pin' ]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue