wscript: stop loading misc where nothing is using it
It is apparently only used in gtk2_ardour/wscript - and it seems to be enough to load it in configure(), even though it is used in build().
This commit is contained in:
parent
88cecdfaef
commit
92aca32652
@ -434,7 +434,7 @@ def options(opt):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def configure(conf):
|
def configure(conf):
|
||||||
conf.load('misc')
|
conf.load('misc') # make 'command-output' available
|
||||||
|
|
||||||
# TODO: Insert a sanity check for on OS X to ensure CoreAudio is present
|
# TODO: Insert a sanity check for on OS X to ensure CoreAudio is present
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ def options(opt):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def configure(conf):
|
def configure(conf):
|
||||||
conf.load('misc')
|
pass
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
# just the normal executable version of the GTK GUI
|
# just the normal executable version of the GTK GUI
|
||||||
|
@ -10,8 +10,6 @@ def options(opt):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def configure(conf):
|
def configure(conf):
|
||||||
conf.load('misc')
|
|
||||||
|
|
||||||
if conf.env['WINDOWS_VST_SUPPORT'] == True:
|
if conf.env['WINDOWS_VST_SUPPORT'] == True:
|
||||||
conf.check(compiler='cxx', lib='gdi32', mandatory=True, uselib_store='GDI32')
|
conf.check(compiler='cxx', lib='gdi32', mandatory=True, uselib_store='GDI32')
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@ def options(opt):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def configure(conf):
|
def configure(conf):
|
||||||
conf.load('misc')
|
|
||||||
conf.check_cc(
|
conf.check_cc(
|
||||||
header_name='stdio.h readline/readline.h',
|
header_name='stdio.h readline/readline.h',
|
||||||
lib='readline',
|
lib='readline',
|
||||||
|
@ -14,7 +14,6 @@ def configure(conf):
|
|||||||
return
|
return
|
||||||
|
|
||||||
autowaf.display_msg(conf, 'build session-utils', 'yes')
|
autowaf.display_msg(conf, 'build session-utils', 'yes')
|
||||||
conf.load('misc')
|
|
||||||
|
|
||||||
def build_ardour_util(bld, util):
|
def build_ardour_util(bld, util):
|
||||||
pgmprefix = bld.env['PROGRAM_NAME'].lower() + str(bld.env['MAJOR'])
|
pgmprefix = bld.env['PROGRAM_NAME'].lower() + str(bld.env['MAJOR'])
|
||||||
|
Loading…
Reference in New Issue
Block a user