using python-config to retrieve python optios
Brought to you by:
bdiouih,
mondrian_n
The attached patch uses the python-config script to figure out the options to compile against python in unix environments.
That avoids using the PYTHON_PATH variable. The PYTHON_VERSION one is still useful but not required because python-config scripts are also versioned with python-config pointing to the default one..
I don't know if those scrips are available in windows as well but if they are, it would be interesting to use them and simplify the pro file.
Using python-config
Sorry i was logged out when i submmited this. So it was me if some one wants to comment the patch.