Fixes #304361.
Original commit message from CVS: * acinclude.m4: Use pythonX.Y-config to detect the include path for the python version and use the old values as fallback if pythonX.Y-config doesn't exist.
Original commit message from CVS: fix underquotedness
Original commit message from CVS: initial python bindings