Skip to content

Commit be912ec

Browse files
committed
Merge branch 'master' of git://github.com/tuttleofx/sconsProject into precompiled_header_proposal
Conflicts: __init__.py
2 parents fa869ec + baaeee7 commit be912ec

31 files changed

+451
-162
lines changed

__init__.py

Lines changed: 190 additions & 61 deletions
Large diffs are not rendered by default.

autoconf/_base.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ def privateCheckFrameworkWithHeader( self, conf, framework, header, language, ca
153153
#conf.env.Append( LINKFLAGS = fwk )
154154
#conf.env.Append( CCFLAGS = fwk ) # ?
155155
conf.env.Append( FRAMEWORKS = p_framework )
156-
self.privateCheckLibWithHeader( conf, libs=[], header=header, language=language )
157-
return True
156+
return self.privateCheckLibWithHeader( conf, libs=[], header=header, language=language )
158157

159158
def privateCheckLib( self, conf, libs ):
160159
if conf.env['check_libs'] and not self.checkDone:
@@ -171,8 +170,7 @@ def privateCheckFramework( self, conf, framework, language, call=False ):
171170
p_framework = asList(framework)
172171
#conf.env.Append( LINKFLAGS = reduce(add, [ ['-framework',f] for f in framework], []) )
173172
conf.env.Append( FRAMEWORKS = p_framework )
174-
self.privateCheckLib( conf, libs=[] )
175-
return True
173+
return self.privateCheckLib( conf, libs=[] )
176174

177175
def CheckLibWithHeader( self, conf, libs, header, language, call=False ):
178176
if self.useFramework(conf.env):

autoconf/avcodec.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from _external import *
2+
3+
avcodec = LibWithHeaderChecker(
4+
'avcodec',
5+
'libavcodec/avcodec.h',
6+
'c',
7+
)

autoconf/avfilter.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from _external import *
2+
3+
avfilter = LibWithHeaderChecker(
4+
'avfilter',
5+
'libavfilter/avfilter.h',
6+
'c',
7+
)

autoconf/avformat.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from _external import *
2+
3+
avformat = LibWithHeaderChecker(
4+
'avformat',
5+
'libavformat/avformat.h',
6+
'c',
7+
)

autoconf/avresample.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from _external import *
2+
3+
avresample = LibWithHeaderChecker(
4+
'avresample',
5+
'libavresample/avresample.h',
6+
'c',
7+
)

autoconf/avutil.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from _external import *
2+
3+
avutil = LibWithHeaderChecker(
4+
'avutil',
5+
'libavutil/avutil.h',
6+
'c',
7+
)

autoconf/boost_thread.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
'boost_thread',
77
'boost/thread.hpp',
88
'c++',
9-
name='boost_thread',
109
dependencies=[boost, boost_system]
1110
)
1211

autoconf/boost_timer.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from _external import *
2+
from boost import *
3+
4+
boost_timer = LibWithHeaderChecker(
5+
'boost_timer',
6+
'boost/timer/timer.hpp',
7+
'c++',
8+
dependencies=[boost],
9+
)
10+

autoconf/cairo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from _external import *
2+
3+
cairo = LibWithHeaderChecker('cairo','cairo.h','c' )
4+

0 commit comments

Comments
 (0)