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

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