Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37742115
en ru br
ALT Linux repos
S:5.3-alt9
5.0: 3.1-alt1
4.1: 3.1-alt0.M41.1

Group :: Development/C++
RPM: getfemxx

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: getfemxx-ax-python.patch
Download


diff --git a/getfem/m4/ac_python_devel.m4 b/getfem/m4/ac_python_devel.m4
index acfb21e..479aad7 100644
--- a/getfem/m4/ac_python_devel.m4
+++ b/getfem/m4/ac_python_devel.m4
@@ -98,7 +98,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])
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin