kanarip / rpms / gpgme

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