makesetup problem

Robin Becker robin at jessikat.fsnet.co.uk
Thu May 29 08:20:56 EDT 2003


Whilst trying to build a bespoke python I came across the following
problem

I wanted to add a define argument so thoughtless used the line


mod mod.c -DTHING=8

in Setup.local, but it seems as though the makesetup script treats any
line containing an '=' as being of the form ID=value at the line

                case $line in
                *=*)    DEFS="$line$NL$DEFS"; continue;;


to get round this I had to use the rather odd looking construct

MY8==8
mod mod.c -DTHING$(MY8)

is this considered a bug?
-- 
Robin Becker




More information about the Python-list mailing list