[issue26662] configure/Makefile doesn't check if "python" command works, needed to build Objects/typeslots.inc

Martin Panter report at bugs.python.org
Tue Mar 29 19:41:27 EDT 2016


Martin Panter added the comment:

Maybe the configure.ac code for generating opcode.h is a better alternative. It looks like it prints a warning but would continue with the build:

if test "$PYTHON" = not-found; then
    OPCODEHGEN="@echo python: $PYTHON! cannot run Tools/scripts/generate_opcode_h.py"
else
    OPCODEHGEN="$PYTHON"
fi

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26662>
_______________________________________


More information about the Python-bugs-list mailing list