From 3708134bd0c822415d20c9dcb89bdd5ad6b2724e Mon Sep 17 00:00:00 2001 From: Thibaut Paumard Date: Fri, 25 Oct 2019 15:54:25 +0200 Subject: [PATCH] m4/python.m4: bugfix (actually support Python >=3.8) --- configure | 2 +- m4/python.m4 | 2 +- plugins/python/configure | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 101b5afd..2f879521 100755 --- a/configure +++ b/configure @@ -16087,7 +16087,7 @@ $as_echo "no" >&6; } fi -if test "x" = "xyes" && $PYTHON_CONFIGURE --embed; then : +if test "x" = "xyes" && $PYTHON_CONFIG --embed; then : PYTHON_EMBED_FLAG="--embed" else PYTHON_EMBED_FLAG="" diff --git a/m4/python.m4 b/m4/python.m4 index 345a2aaa..3d5ab537 100644 --- a/m4/python.m4 +++ b/m4/python.m4 @@ -175,7 +175,7 @@ m4_define([_PYTHON_BASENAME], [`basename $PYTHON`]) m4_ifval([$1], [AC_PATH_PROGS(PYTHON_CONFIG, [$1 _PYTHON_BASENAME-config])], [AC_PATH_PROG(PYTHON_CONFIG, _PYTHON_BASENAME-config)]) -AS_IF([test "x$2" = "xyes" && $PYTHON_CONFIGURE --embed], +AS_IF([test "x$2" = "xyes" && $PYTHON_CONFIG --embed], [PYTHON_EMBED_FLAG="--embed"], [PYTHON_EMBED_FLAG=""]) ]) # PC_PYTHON_PROG_PYTHON_CONFIG diff --git a/plugins/python/configure b/plugins/python/configure index 39e94d8a..c6f74265 100755 --- a/plugins/python/configure +++ b/plugins/python/configure @@ -17008,7 +17008,7 @@ $as_echo "no" >&6; } fi -if test "xyes" = "xyes" && $PYTHON_CONFIGURE --embed; then : +if test "xyes" = "xyes" && $PYTHON_CONFIG --embed; then : PYTHON_EMBED_FLAG="--embed" else PYTHON_EMBED_FLAG=""