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 <rep...@bugs.python.org> <http://bugs.python.org/issue26662> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com