diff --git a/configure.in b/configure.in index 94fd61e08..c78ab16c8 100644 --- a/configure.in +++ b/configure.in @@ -737,16 +737,16 @@ else # First figure out the name of the Python3 executable if test "x$PY3BIN" = xyes; then - AC_CHECK_PROGS(PYTHON3, [python3 python3.0 python3.1]) + AC_CHECK_PROGS(PYTHON3, [python3 python3.0 python3.1 python3.2 python3.3 python3.4 python3.5 python3.6]) else PYTHON3="$PY3BIN" fi # Check for Python 3.x development tools (header files, static library and python3-config) if test "x$PYTHON3" = x; then - AC_CHECK_PROGS(PY3CONFIG, [python3-config python3.0-config python3.1-config]) + AC_CHECK_PROGS(PY3CONFIG, [python3-config python3.0-config python3.1-config python3.2-config python3.3-config python3.4-config python3.5-config python3.6-config]) else - AC_CHECK_PROGS(PY3CONFIG, [$PYTHON3-config python3-config python3.0-config python3.1-config]) + AC_CHECK_PROGS(PY3CONFIG, [$PYTHON3-config python3-config python3.0-config python3.1-config python3.2-config python3.3-config python3.4-config python3.5-config python3.6-config]) fi if test -n "$PYTHON3" -a -n "$PY3CONFIG"; then