Le 26/10/2011 02:07, Julien Rioux a écrit :
One approach to use the correct `python' (e.g., it could be `python2'
because `python' points to version >3.0) is to have configure generate
the affected files.

Summary:
Rename os.cpp -> os.cpp.in
Rename configure.py -> configure.py.in
Replace `python' with @python@ in those files, to be replaced by
configure with the correct name for the python interpreter.

For os.cpp, I would prefer to add a #define PYTHON in config.h

for configure.py is it only for the #! line?

JMarc

Reply via email to