13
0

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:
Mads Kiilerich 2022-01-23 22:46:10 +01:00 committed by Paul Davis
parent 88cecdfaef
commit 92aca32652
5 changed files with 2 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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')

View File

@ -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',

View File

@ -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'])