https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107233

--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- 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" != :])

But wouldn't this pick up a version of python < 3.0 if nothing else is
present?  If the python code inside gcc/m2 does require 3.x, shouldn't
this be

AM_PATH_PYTHON([3.0],, [:])

(or whatever is the minimum) instead?

Reply via email to