13
0

remove warning about native linux VST build; make default be platform-sensitive

git-svn-id: svn://localhost/ardour2/branches/3.0@10447 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-11-04 21:14:27 +00:00
parent 96806925b6
commit 503dfe2a3f

View File

@ -45,8 +45,10 @@ i18n_children = [
if sys.platform != 'darwin':
children += [ 'tools/sanity_check' ]
lxvst_default = True
else:
children += [ 'libs/appleutility' ]
lxvst_default = False
# Version stuff
@ -251,9 +253,6 @@ def set_compiler_flags (conf,opt):
if opt.lxvst:
if conf.env['build_target'] == 'x86_64':
print("\n\n********************************************************")
print("* Building with 64Bit linuxVST support is experimental *")
print("********************************************************\n\n")
conf.env.append_value('CXXFLAGS', "-DLXVST_64BIT")
else:
conf.env.append_value('CXXFLAGS', "-DLXVST_32BIT")
@ -375,7 +374,7 @@ def options(opt):
help='Compile for use with gprofile')
opt.add_option('--lv2', action='store_true', default=False, dest='lv2',
help='Compile with support for LV2 (if Lilv+Suil is available)')
opt.add_option('--lxvst', action='store_true', default=True, dest='lxvst',
opt.add_option('--lxvst', action='store_true', default=lxvst_default, dest='lxvst',
help='Compile with support for linuxVST plugins')
opt.add_option('--nls', action='store_true', default=True, dest='nls',
help='Enable i18n (native language support) (default)')