test for x11 and xxf86vm
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@666 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
76dc8a86b3
commit
d4711a605f
|
@ -1,7 +1,10 @@
|
||||||
# -*- python -*-
|
# -*- python -*-
|
||||||
|
|
||||||
Import('env')
|
Import('env')
|
||||||
|
# can we import path in one place?
|
||||||
import sys
|
import sys
|
||||||
|
sys.path.append('../../../SconsTests')
|
||||||
|
import utils
|
||||||
|
|
||||||
files = [
|
files = [
|
||||||
'BPStructs.cpp',
|
'BPStructs.cpp',
|
||||||
|
@ -52,6 +55,18 @@ else:
|
||||||
platform = 'linux'
|
platform = 'linux'
|
||||||
# By default, GLX is used on Linux to setup OpenGL, but you can select SDL
|
# By default, GLX is used on Linux to setup OpenGL, but you can select SDL
|
||||||
# instead if you like, by changing the line below.
|
# instead if you like, by changing the line below.
|
||||||
|
tests = {'CheckPKG' : utils.CheckPKG}
|
||||||
|
|
||||||
|
conf = gfxenv.Configure(custom_tests = tests)
|
||||||
|
|
||||||
|
if not conf.CheckPKG('x11'):
|
||||||
|
Exit(1)
|
||||||
|
|
||||||
|
if not conf.CheckPKG('xxf86vm'):
|
||||||
|
Exit(1)
|
||||||
|
|
||||||
|
gfxenv = conf.Finish()
|
||||||
|
|
||||||
useSDL = False
|
useSDL = False
|
||||||
gfxenv.ParseConfig("pkg-config x11 --cflags --libs")
|
gfxenv.ParseConfig("pkg-config x11 --cflags --libs")
|
||||||
gfxenv.ParseConfig("pkg-config xxf86vm --cflags --libs")
|
gfxenv.ParseConfig("pkg-config xxf86vm --cflags --libs")
|
||||||
|
|
Loading…
Reference in New Issue