https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126863
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Gaius Mulley <[email protected]>: https://gcc.gnu.org/g:dec6b80c937ebe580d81c0a6441dd3d0f668c50e commit r17-3586-gdec6b80c937ebe580d81c0a6441dd3d0f668c50e Author: Gaius Mulley <[email protected]> Date: Mon Aug 24 12:24:16 2026 +0100 PR modula2/126847: Fix to detect Python version in libgm2. This patch addresses PR modula2/126847 and PR modula2/126863 which were raised after the patch to PR modula2/125129 was applied. It provides a new file ax_python_interpreter.m4 containing AC_PYTHON_INTERPRETER allowing for a Python version check. The libgm2 build will check for Python >= 3.0 and use mktargetsrc.py otherwise it reduces the functionality of libraries. libgm2/ChangeLog: PR modula2/126847 PR modula2/125129 PR modula2/126863 * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Call AC_PYTHON_INTERPRETER. Remove call to AC_PYTHON_DEVEL. * libm2cor/Makefile.in: Regenerate. * libm2iso/Makefile.in: Regenerate. * libm2log/Makefile.in: Regenerate. * libm2min/Makefile.in: Regenerate. * libm2pim/Makefile.in: Regenerate. * ax_python_devel.m4: Removed. * ax_python_interpreter.m4: New file. Signed-off-by: Gaius Mulley <[email protected]>
