From 71269d21372a4d344d3cc2af0dbf2ef6d8aa741c Mon Sep 17 00:00:00 2001 From: Packit Service Date: Jan 05 2021 08:10:58 +0000 Subject: Apply patch 0001-fix-stupid-ax_python_devel.patch patch_name: 0001-fix-stupid-ax_python_devel.patch present_in_specfile: true location_in_specfile: 3 --- diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 index 55f0cff..e185284 100644 --- a/m4/ax_python_devel.m4 +++ b/m4/ax_python_devel.m4 @@ -137,7 +137,7 @@ variable to configure. See ``configure --help'' for reference. # 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 test $? -eq 0; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no])