diff options
Diffstat (limited to 'acx_python.m4')
| -rw-r--r-- | acx_python.m4 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/acx_python.m4 b/acx_python.m4 index 4e83d7764bcd..2940971f1a4e 100644 --- a/acx_python.m4 +++ b/acx_python.m4 @@ -22,8 +22,7 @@ AC_DEFUN([AC_PYTHON_DEVEL],[ # Check if you have distutils, else fail # AC_MSG_CHECKING([for the distutils Python package]) - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` - if test -z "$ac_distutils_result"; then + if ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) |
