diff options
-rwxr-xr-x | tools/configure | 2 | ||||
-rw-r--r-- | tools/m4/python_version.m4 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure index b1bad1323a..cd4a93de9a 100755 --- a/tools/configure +++ b/tools/configure @@ -6127,7 +6127,7 @@ then fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python version >= 2.3 " >&5 $as_echo_n "checking for python version >= 2.3 ... " >&6; } -`$PYTHON -c 'import sys; exit(eval("sys.version_info < (2, 3)"))'` +`$PYTHON -c 'import sys; sys.exit(eval("sys.version_info < (2, 3)"))'` if test "$?" != "0" then python_version=`$PYTHON -V 2>&1` diff --git a/tools/m4/python_version.m4 b/tools/m4/python_version.m4 index ced76aaf19..4e2b594654 100644 --- a/tools/m4/python_version.m4 +++ b/tools/m4/python_version.m4 @@ -1,6 +1,6 @@ AC_DEFUN([AX_CHECK_PYTHON_VERSION], [AC_MSG_CHECKING([for python version >= $1.$2 ]) -`$PYTHON -c 'import sys; exit(eval("sys.version_info < ($1, $2)"))'` +`$PYTHON -c 'import sys; sys.exit(eval("sys.version_info < ($1, $2)"))'` if test "$?" != "0" then python_version=`$PYTHON -V 2>&1` |