Our configure test checks the presence of a Python2, but then uses
"python" as interpreter, which is a problem nowadays as the default
python is set to be Python 3 on some distributions (and this will be
more and more the case). So GIMP may end up trying to run our plug-ins
through Python 3 (which would fail) even if Python 2 is present.
Now AM_PATH_PYTHON2() m4 macro will set $PYTHON to a more accurate
Python version as priority.
Similarly let's use "python2" in the binfmt string for extension search.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| alsa.m4 | ||
| ax_compare_version.m4 | ||
| ax_cxx_compile_stdcxx.m4 | ||
| ax_gcc_func_attribute.m4 | ||
| ax_prog_cc_for_build.m4 | ||
| ax_prog_perl_version.m4 | ||
| binreloc.m4 | ||
| detectcflags.m4 | ||
| gimp-3.0.m4 | ||
| Makefile.am | ||
| pythondev.m4 | ||