Blame SOURCES/0001-fix-stupid-ax_python_devel.patch

888196
From b0eabea4b1232ee7f45d13b8add928d463f37444 Mon Sep 17 00:00:00 2001
888196
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
888196
Date: Wed, 29 Mar 2017 07:13:35 +0200
888196
Subject: [PATCH] fix stupid ax_python_devel
888196
888196
References: https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commit;h=883a2abd5af5c96be894d5ef7ee6e9a2b8e64307
888196
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
888196
---
888196
 m4/ax_python_devel.m4 | 2 +-
888196
 1 file changed, 1 insertion(+), 1 deletion(-)
888196
888196
diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4
888196
index b990d5b3..318b089c 100644
888196
--- a/m4/ax_python_devel.m4
888196
+++ b/m4/ax_python_devel.m4
888196
@@ -137,7 +137,7 @@ variable to configure. See ``configure --help'' for reference.
888196
 	#
888196
 	AC_MSG_CHECKING([for the distutils Python package])
888196
 	ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
888196
-	if test -z "$ac_distutils_result"; then
888196
+	if test $? -eq 0; then
888196
 		AC_MSG_RESULT([yes])
888196
 	else
888196
 		AC_MSG_RESULT([no])
888196
-- 
888196
2.12.1
888196