Test linking with libsdl as part of its configure test to verify that

the library is of the correct binary format and such.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5641 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2010-06-09 19:41:17 +00:00
parent e648c6d68b
commit 9016c90d47
3 changed files with 33 additions and 52 deletions

View file

@ -24,7 +24,6 @@ def CheckFramework(context, name):
return ret
def CheckFink(context):
context.Message( 'Looking for fink... ')
prog = context.env.WhereIs('fink')
@ -90,10 +89,8 @@ def CheckPKG(context, name):
context.Result(ret)
return int(ret)
def CheckSDL(context, version):
context.Message( 'Checking for sdl lib version > %s... ' % version)
context.Message( 'Checking for SDL lib version > %s... ' % version)
if platform.system().lower() == 'windows':
return 1
sdl_config = context.env.WhereIs('sdl-config')
@ -108,6 +105,7 @@ def CheckSDL(context, version):
context.Result(ret)
if ret:
context.env.ParseConfig('sdl-config --cflags --libs')
ret = CheckLib(context, 'SDL')
return int(ret)
def CheckPortaudio(context, version):
@ -130,8 +128,6 @@ def CheckPortaudio(context, version):
context.Result(ret)
return int(ret)
def GenerateRevFile(flavour, template, output):