ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/build_utils/load_plat.py
(Generate patch)

Comparing ray/build_utils/load_plat.py (file contents):
Revision 1.7 by schorsch, Mon Sep 19 11:30:09 2005 UTC vs.
Revision 1.10 by schorsch, Mon Apr 21 07:31:27 2008 UTC

# Line 1 | Line 1
1  
2   import os
3   import sys
4 import string
4   import ConfigParser
5  
6  
# Line 27 | Line 26 | def read_plat(env, args, fn):
26                          'RAD_NETCOMPAT',  # [win_]netproc.c for ranimate
27                          'RAD_MLIB',       # usually 'm', or any fastlib available
28                          'RAD_SOCKETLIB',  # ws_2_32 on Windows (VC links it automatically)
29 <                        'RAD_PROCESS']],  # our process abstraction and win_popen()
29 >                        'RAD_PROCESS',    # our process abstraction and win_popen()
30 >                        'RAD_PCALLS',     # more custom process abstraction
31 >                        ]],
32          ]
33          if args.get('RAD_DEBUG',0):
34                  vars.insert(0, ['debug'] + buildvars)
# Line 42 | Line 43 | def read_plat(env, args, fn):
43                          for p in section[2]: # multiple items to append
44                                  try: v = cfig.get(section[0], p)
45                                  except ConfigParser.NoOptionError: continue
46 <                                apply(env.Append,[],{p:string.split(v)})
46 <                                #print '%s: %s' % (p, env[p])
46 >                                apply(env.Append,[],{p:env.Split(v)})
47          # XXX Check that basedir exists.
48          for k in ['RAD_BINDIR', 'RAD_RLIBDIR', 'RAD_MANDIR']:
49                  if (env.has_key('RAD_BASEDIR') and env.has_key(k)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines