Commit Graph

8 Commits

Author SHA1 Message Date
0e8cdd0f74 m4macros: fix pythondev.m4.
My previous commit was bugged. Fix it and simplify the code a bit. No
need to check for existence for non-versionned include directory on
Windows. Just add the non-versionned dirs at the end, without other
condition that the target platform being Windows. This way, whether the
headers are installed in the versionned or non-versionned dirs, they
will be found.
2019-08-06 19:09:00 +02:00
ac0c81b38f m4macros: Windows may have a versioned directory for headers.
Basically the same fix as 61c11b04c1, on
pythondev.m4 (for Python2) instead of python3dev.m4.
2019-08-06 16:38:49 +02:00
03ea9cac54 m4macros, plug-ins: run more accurately the "python2" interpreter.
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.
2018-06-16 02:05:08 +02:00
d249ec348b Bug 735828 - configure fails for python < 2.7.
sys.version_info named components only available since 2.7, though GIMP
is supposed to support 2.5.0 and over. Used numerical tuple index
instead.
2014-09-07 16:33:34 +02:00
6714a414a7 configure: search only Python 2 interpreter and headers.
Do not accept Python 3 interpreter/headers, even when this is the
default installed Python. Search only for Python 2.
2014-05-30 09:59:51 +00:00
77087aba2d m4macros/pythondev.m4: Python 3 compatibility 2013-05-03 15:32:21 -04:00
19ea886842 python headers on Win32 don't live in a versioned subdir. Handle that
2005-08-28  Manish Singh  <yosh@gimp.org>

        * m4macros/pythondev.m4: python headers on Win32 don't live in a
        versioned subdir. Handle that case.
2005-08-28 16:59:56 +00:00
cbee4c51de split out into separate files...
2005-06-24  Manish Singh  <yosh@gimp.org>

        * acinclude.m4: split out into separate files...

        * m4macros/alsa.m4
        * m4macros/gimpprint.m4
        * m4macros/gtk-doc.m4
        * m4macros/pythondev.m4: ... and put them here.

        * m4macros/Makefile.am: dist the above files.
2005-06-24 21:17:57 +00:00