From daba6c88c61ed2d06e73cc003d6b372c20eb61a8 Mon Sep 17 00:00:00 2001 From: Daniele Rapetti <5535617+Iximiel@users.noreply.github.com> Date: Wed, 20 Dec 2023 10:06:09 +0100 Subject: [PATCH] changed python to python3 in configure --- configure | 2 +- configure.ac | 2 +- plugins/pycv/compileConfiguration.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index eab0c618a3..eac5a6373f 100755 --- a/configure +++ b/configure @@ -8983,7 +8983,7 @@ fi # if PYTHON_BIN is defined, it is expected to be the full path to python # Otherwise, search from a list of names: if test -z "$PYTHON_BIN" ; then - for ac_prog in python python3 + for ac_prog in python3 do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 diff --git a/configure.ac b/configure.ac index dc444c6f9e..3f2a480861 100644 --- a/configure.ac +++ b/configure.ac @@ -852,7 +852,7 @@ AC_SUBST(PYTHON_CFLAGS) # if PYTHON_BIN is defined, it is expected to be the full path to python # Otherwise, search from a list of names: if test -z "$PYTHON_BIN" ; then - AC_CHECK_PROGS([PYTHON_BIN],[python python3]) + AC_CHECK_PROGS([PYTHON_BIN],[python3]) fi if test -n "$PYTHON_BIN" ; then AC_MSG_NOTICE([Python executable is $PYTHON_BIN]) diff --git a/plugins/pycv/compileConfiguration.sh b/plugins/pycv/compileConfiguration.sh index ee27007cae..e9eac1fdbe 100644 --- a/plugins/pycv/compileConfiguration.sh +++ b/plugins/pycv/compileConfiguration.sh @@ -51,4 +51,4 @@ else pybind11_cflags="$(${python_bin} -m pybind11 --includes) -fvisibility=hidden" python_cf_embedded=$(${python_config} --cflags --embed) python_ld_embedded=$(${python_config} --ldflags --embed) -fi \ No newline at end of file +fi