win32 example

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2607 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-03-07 22:12:01 +00:00
parent cad0ca3f5d
commit e1d2ff6f3f
3 changed files with 35 additions and 36 deletions

View File

@ -89,6 +89,8 @@ def ConfigPKG(context, name):
def CheckPKG(context, name):
context.Message( 'Checking for %s... ' % name )
if platform.system().lower() == 'windows':
return 0
ret = 1
if not CheckFramework(context, name):
if not ConfigPKG(context, name.lower()):
@ -101,6 +103,8 @@ def CheckPKG(context, name):
def CheckSDL(context, version):
context.Message( 'Checking for sdl lib version > %s... ' % version)
if platform.system().lower() == 'windows':
return 1
sdl_config = context.env.WhereIs('sdl-config')
if sdl_config == None:
ret = 0