| 10 |
|
def read_plat(env, args, fn): |
| 11 |
|
cfig = ConfigParser.ConfigParser(env.Dictionary()) |
| 12 |
|
cfig.read(fn) |
| 13 |
< |
buildvars = [['CC'], # replace |
| 13 |
> |
buildvars = [['CC', |
| 14 |
> |
'TIFFINCLUDE', # where to find preinstalled tifflib headers |
| 15 |
> |
'TIFFLIB', # where to find a preinstalled tifflib library |
| 16 |
> |
], # replace |
| 17 |
|
['CPPPATH', 'CPPDEFINES', 'CPPFLAGS', 'CCFLAGS', |
| 18 |
|
'LIBPATH', 'LINKFLAGS', |
| 19 |
|
'EZXML_CPPDEFINES', # build flags specific to ezxml.c |
| 23 |
|
['RAD_BASEDIR', 'RAD_BINDIR', 'RAD_RLIBDIR', 'RAD_MANDIR'], |
| 24 |
|
[]], |
| 25 |
|
['code', |
| 26 |
< |
[], # replace |
| 26 |
> |
[ # replace |
| 27 |
> |
], |
| 28 |
|
[ # append |
| 29 |
|
'RAD_COMPAT', # theoretically obsolete (src/common/strcmp.c) |
| 30 |
|
'RAD_MATHCOMPAT', # erf.c floating point error function |