Don't bother using autoconfiguration to find the OpenCL and Cg

frameworks on OS X.

Try to be a little clearer about which configuration options apply    
to which platform(s). Should pave the way slightly for win32 scons. 
 
We have accidentally been using LUA_USE_LINUX on OS X all along.
Turns out that LUA_USE_MACOSX is for an ancient version of OS X and
LUA_USE_LINUX is a reasonable set of defaults for modern Unices, so
just keep using that.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5804 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2010-06-26 19:17:43 +00:00
parent 9de9ec1fb6
commit d18085c3ad
7 changed files with 102 additions and 135 deletions

View File

@ -3,7 +3,7 @@
import sys
Import('env')
if (env['HAVE_BLUEZ'] != 1 and sys.platform != 'darwin'):
if (sys.platform == 'linux2' and env['HAVE_BLUEZ'] != 1):
env['HAVE_WIIUSE'] = 0
Return()
@ -13,7 +13,7 @@ files = [
"wiiuse.c",
]
if env['HAVE_BLUEZ']:
if sys.platform == 'linux2' and env['HAVE_BLUEZ']:
files += [ "io_nix.c", ]
if sys.platform == 'darwin':