comparison build/linux2-config-dist.py @ 0:4a0efb7baf70

* Datasets becomes the new trunk and retires after that :-)
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 29 Jun 2008 18:44:17 +0000
parents
children b49714fff478
comparison
equal deleted inserted replaced
-1:000000000000 0:4a0efb7baf70
1 def initEnvironment(env):
2 return env
3
4 def addExtras(context):
5 context.env.Append(LIBS = 'm')
6 context.env.Replace(LIBPATH = ['/opt/lib', '%s/ext/install/lib' % context.env['SCONS_ROOT_PATH']])
7 context.env.Append(CPPPATH = ['/opt/include',
8 '/usr/include/vorbis',
9 '/usr/include/python2.5',
10 '%s/ext/install/include' % context.env['SCONS_ROOT_PATH']])
11 context.env.Append(CPPPATH = [])
12
13 context.checkSimpleLib(['vorbisfile'], 'vorbisfile.h')
14 context.checkSimpleLib(['openal_soft'], 'AL/al.h')
15 context.checkSimpleLib(['python', 'python2.5'], ['python2.5/Python.h'])
16 context.checkSimpleLib(['SDL'], 'SDL.h')
17 context.checkSimpleLib(['SDL_ttf'], 'SDL_ttf.h')
18 context.checkSimpleLib(['SDL_image'], 'SDL_image.h')
19 context.checkSimpleLib(['guichan'])
20 context.checkSimpleLib(['guichan_sdl'])
21 context.checkSimpleLib(['boost_filesystem', 'boost_filesystem-gcc', 'boost_filesystem-gcc41'])
22 context.checkSimpleLib(['boost_regex', 'boost_regex-gcc', 'boost_regex-gcc41'])
23 context.checkSimpleLib(['png'], 'png.h');
24
25 if context.env['opengl']:
26 context.env.Append(LIBS = ['GL', 'GLU'])
27 context.env.Append(LIBPATH = ['/usr/X11R6/lib'])
28 context.checkSimpleLib(['guichan_opengl'])