SCons: new NoBug version 201005.1 and linking against -lrt for clock_gettime
Fixes #618 and #619 for SCons build
This commit is contained in:
parent
792a595041
commit
3ca17af42f
1 changed files with 7 additions and 4 deletions
11
SConstruct
11
SConstruct
|
|
@ -232,7 +232,7 @@ def configurePlatform(env):
|
||||||
else:
|
else:
|
||||||
print 'Valgrind not found. The use of Valgrind is optional; building without.'
|
print 'Valgrind not found. The use of Valgrind is optional; building without.'
|
||||||
|
|
||||||
if not conf.CheckPkgConfig('nobugmt', 201002.1):
|
if not conf.CheckPkgConfig('nobugmt', 201005.1):
|
||||||
problems.append('Did not find NoBug [http://www.lumiera.org/nobug_manual.html].')
|
problems.append('Did not find NoBug [http://www.lumiera.org/nobug_manual.html].')
|
||||||
else:
|
else:
|
||||||
conf.env.mergeConf('nobugmt')
|
conf.env.mergeConf('nobugmt')
|
||||||
|
|
@ -251,6 +251,12 @@ def configurePlatform(env):
|
||||||
problems.append('We need the boost regular expression lib (incl. binary lib for linking).')
|
problems.append('We need the boost regular expression lib (incl. binary lib for linking).')
|
||||||
|
|
||||||
|
|
||||||
|
if conf.CheckLib(symbol='clock_gettime'):
|
||||||
|
print 'Using function clock_gettime() as defined in the C-lib...'
|
||||||
|
else:
|
||||||
|
if not conf.CheckLib(symbol='clock_gettime', library='rt'):
|
||||||
|
problems.append('No library known to provide the clock_gettime() function.')
|
||||||
|
|
||||||
if not conf.CheckPkgConfig('gavl', 1.0):
|
if not conf.CheckPkgConfig('gavl', 1.0):
|
||||||
problems.append('Did not find Gmerlin Audio Video Lib [http://gmerlin.sourceforge.net/gavl.html].')
|
problems.append('Did not find Gmerlin Audio Video Lib [http://gmerlin.sourceforge.net/gavl.html].')
|
||||||
else:
|
else:
|
||||||
|
|
@ -283,9 +289,6 @@ def configurePlatform(env):
|
||||||
|
|
||||||
if not conf.CheckPkgConfig('xv') : problems.append('Need libXv...')
|
if not conf.CheckPkgConfig('xv') : problems.append('Need libXv...')
|
||||||
if not conf.CheckPkgConfig('xext'): problems.append('Need libXext.')
|
if not conf.CheckPkgConfig('xext'): problems.append('Need libXext.')
|
||||||
# if not conf.CheckPkgConfig('sm'): Exit(1)
|
|
||||||
#
|
|
||||||
# obviously not needed?
|
|
||||||
|
|
||||||
|
|
||||||
# report missing dependencies
|
# report missing dependencies
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue