Skip to content

Commit

Permalink
Fix python version check
Browse files Browse the repository at this point in the history
Found by: phuzion
  • Loading branch information
vanosg committed Sep 8, 2024
1 parent dfab69d commit 495e922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod/python.mod/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ canonical name.])
PYTHON_VERSION=`echo $PYTHON_LDFLAGS | sed 's/.*-lpython\(.*[[0-9]]\).*/\1/'`

# Check for python version
AX_COMPARE_VERSION([$PYTHON_VERSION],[ge],[3.8.0], [ax_check_ver="yes"], [ax_check_ver="no"])
AX_COMPARE_VERSION([$PYTHON_VERSION],[ge],[3.8], [ax_check_ver="yes"], [ax_check_ver="no"])
AC_MSG_CHECKING([python version is >= 3.8.0])
if test "x$ax_check_ver" = x"no"; then
python_avail="false"
Expand Down

0 comments on commit 495e922

Please sign in to comment.