aboutsummaryrefslogtreecommitdiff
path: root/acx_python.m4
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 11:53:39 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 11:53:39 +0000
commit6cacf549d3c2d5bddb0dcadd620e1db2897c7f26 (patch)
treee187e7d708a063f1628697fe779e2bb101d451b8 /acx_python.m4
parentfbdb9ac866a647da0919b224f05cca039afc02fa (diff)
Diffstat (limited to 'acx_python.m4')
-rw-r--r--acx_python.m43
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])