Clean up Python embedding to build on zizzer (where python2.4
authorSteve Reinhardt <stever@eecs.umich.edu>
Tue, 30 May 2006 23:44:57 +0000 (19:44 -0400)
committerSteve Reinhardt <stever@eecs.umich.edu>
Tue, 30 May 2006 23:44:57 +0000 (19:44 -0400)
commite371dc32a94b0c4ffe7192aad634b425b5b43437
tree5a690fafbcf1eb4a6c82530c34ae98fe7663fb1a
parent0337db3388db335ea23f02f3aa00bca9d483ef1c
Clean up Python embedding to build on zizzer (where python2.4
is currently in /usr/local instead of /usr).

SConstruct:
    Use information from the Python interpreter used to run scons
    to find the version & paths for include & library files.
    This means that linking with a different interpreter requires
    invoking scons with that interpreter... add comment to that effect.
src/sim/main.cc:
    Check return codes of Python interpreter calls for errors.
    Get rid of include of obsolete header.

--HG--
extra : convert_revision : 90916bd8690fe1e6c9afdb0dfa1aa0d352a73a46
SConstruct
src/sim/main.cc