https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107233
--- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> --- ok, thanks for the suggestion. I've changed gcc/configure.ac to use AM_PATH_PYTHON and AM_CONDITIONAL: # Python3? AM_PATH_PYTHON(,, [:]) AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :])