aboutsummaryrefslogtreecommitdiffstats
path: root/config/ax_python_devel.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/ax_python_devel.m4')
-rw-r--r--config/ax_python_devel.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4
index c51b45b7d..faf6c2b0d 100644
--- a/config/ax_python_devel.m4
+++ b/config/ax_python_devel.m4
@@ -148,8 +148,7 @@ variable to configure. See ``configure --help'' for reference.
# 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 $? -eq 0; then
+ if ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])