Changeset 640
- Timestamp:
- 09/15/07 12:40:49 (5 years ago)
- Files:
-
- trunk/libffado/admin/pkgconfig.py (modified) (2 diffs)
- trunk/libffado/SConstruct (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/admin/pkgconfig.py
r601 r640 3 3 # 4 4 # Taken from http://www.scons.org/wiki/UsingPkgConfig 5 # and heavily modified 5 6 # 6 7 … … 62 63 return ret 63 64 65 def generate( env, **kw ): 66 env['PKGCONFIG_TESTS' ] = { 'CheckForPKGConfig' : CheckForPKGConfig, 'CheckForPKG' : CheckForPKG, 'GetPKGFlags' : GetPKGFlags } 67 68 def exists( env ): 69 return 1 70 71 trunk/libffado/SConstruct
r638 r640 2 2 3 3 import os 4 import sys5 sys.path.append( "./admin" )6 from pkgconfig import *7 4 from string import Template 8 5 … … 66 63 67 64 68 env = Environment( tools=['default','scanreplace','pyuic','dbus','doxygen' ], toolpath=['admin'], ENV = buildenv, options=opts )65 env = Environment( tools=['default','scanreplace','pyuic','dbus','doxygen','pkgconfig'], toolpath=['admin'], ENV = buildenv, options=opts ) 69 66 70 67 … … 107 104 return ret 108 105 106 tests = { 'CheckForApp' : CheckForApp } 107 tests.update( env['PKGCONFIG_TESTS'] ) 109 108 110 109 if not env.GetOption('clean'): 111 110 conf = Configure( env, 112 custom_tests ={ 'CheckForPKGConfig' : CheckForPKGConfig, 'CheckForPKG' : CheckForPKG, 'GetPKGFlags' : GetPKGFlags, 'CheckForApp' : CheckForApp },113 conf_dir ="cache/" + build_base,114 log_file ="cache/" + build_base + 'config.log' )111 custom_tests = tests, 112 conf_dir = "cache/" + build_base, 113 log_file = "cache/" + build_base + 'config.log' ) 115 114 116 115 #
