Check for wxWidgets 2.9.2 (trunk really) which the OS X build now requires.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7115 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-02-08 12:26:47 +00:00
parent 00c35451f6
commit c163237d6f
2 changed files with 21 additions and 15 deletions

View File

@ -27,9 +27,9 @@ def SystemWXConfig(env, args):
# Check version of wx-config
# It succeeds with a warning if version check failed.
def CheckWXConfigVersion(context, version):
releaseversion = SystemWXConfig(context.env,'--release')[1]
releaseversion = SystemWXConfig(context.env,'--version-full')[1]
try:
if float(version) > float(releaseversion.strip()):
if float(version) > float(releaseversion.replace('.', '')) / 1000:
return False
except (ValueError, TypeError):
context.Message('version check failed, but ok... ')