mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
My package check patch.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2604 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
23
SConstruct
23
SConstruct
@ -213,18 +213,28 @@ if sys.platform == 'darwin':
|
||||
env['HAVE_SDL'] = conf.CheckSDL('1.0.0')
|
||||
|
||||
# Bluetooth for wii support
|
||||
env['HAVE_BLUEZ'] = conf.CheckPKG('bluez')
|
||||
if sys.platform == 'win32':
|
||||
env['HAVE_BLUEZ'] = 0
|
||||
else:
|
||||
env['HAVE_BLUEZ'] = conf.CheckPKG('bluez')
|
||||
|
||||
# needed for sound
|
||||
env['HAVE_AO'] = conf.CheckPKG('ao')
|
||||
if sys.platform == 'win32':
|
||||
env['HAVE_AO'] = 0
|
||||
else:
|
||||
env['HAVE_AO'] = conf.CheckPKG('ao')
|
||||
|
||||
# needed for mic
|
||||
env['HAVE_PORTAUDIO'] = conf.CheckPortaudio(1890)
|
||||
if sys.platform == 'win32':
|
||||
env['HAVE_PORTAUDIO'] = 0
|
||||
else:
|
||||
env['HAVE_PORTAUDIO'] = conf.CheckPortaudio(1890)
|
||||
|
||||
# sfml
|
||||
env['HAVE_SFML'] = 0
|
||||
if conf.CheckPKG('sfml') and conf.CheckCHeader("SFML/Audio.hpp"):
|
||||
env['HAVE_SFML'] = 1;
|
||||
if sys.platform != 'win32':
|
||||
if conf.CheckPKG('sfml') and conf.CheckCHeader("SFML/Audio.hpp"):
|
||||
env['HAVE_SFML'] = 1;
|
||||
|
||||
#osx 64 specifics
|
||||
if sys.platform == 'darwin':
|
||||
@ -236,6 +246,9 @@ if sys.platform == 'darwin':
|
||||
if not env['osx'] == '32x11':
|
||||
env['HAVE_X11'] = 0
|
||||
env['HAVE_COCOA'] = 1
|
||||
elif sys.platform == 'win32':
|
||||
env['HAVE_X11'] = 0
|
||||
env['HAVE_COCOA'] = 0
|
||||
else:
|
||||
env['HAVE_X11'] = conf.CheckPKG('x11')
|
||||
env['HAVE_COCOA'] = 0
|
||||
|
Reference in New Issue
Block a user