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

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