Changeset 797 for trunk/ithildin/SConstruct
- Timestamp:
- 12/14/06 11:05:06 (5 years ago)
- File:
-
- 1 edited
-
trunk/ithildin/SConstruct (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ithildin/SConstruct
r793 r797 49 49 50 50 # Find our availabe modules 51 availab e_modules = []51 available_modules = [] 52 52 for e in os.listdir('modules'): 53 53 if os.path.exists('modules/%s/SConscript' % e): 54 availabe_modules.append(e) 54 available_modules.append(e) 55 available_modules.sort() 55 56 56 57 ############################################################################### … … 71 72 ('fdsetsize', 'Override value of FD_SETSIZE', 0), 72 73 BoolOption('ipv6', 'Enable IPv6 support', 1), 73 ListOption('modules', 'Modules to build', 'all', availab e_modules),74 ListOption('modules', 'Modules to build', 'all', available_modules), 74 75 PackageOption('openssl', 'Enable OpenSSL support', 'yes'), 75 76 ListOption('poller', 'Socket polling method', 'auto', … … 308 309 # Add the requested modules too! 309 310 if str(env['modules']) == 'all': 310 modules = str.join(',', availab e_modules)311 modules = str.join(',', available_modules) 311 312 elif str(env['modules']) == 'none': 312 313 modules = '' … … 317 318 if not m: continue 318 319 # create a modified env for each module 319 modenv = env.C opy()320 modenv = env.Clone() 320 321 env.SConscript('modules/%s/SConscript' % m, exports = ['modenv']) 321 322 del modenv
Note: See TracChangeset
for help on using the changeset viewer.
