[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] (no subject)
From: |
Tetsuo Koyama |
Subject: |
[Getfem-commits] (no subject) |
Date: |
Fri, 29 Apr 2022 06:14:06 -0400 (EDT) |
branch: devel-tetsuo-fix-aclocal-python
commit a105a274e6ec414c0afd0380b0463ba70971fe45
Author: Tetsuo Koyama <tkoyama010@gmail.com>
AuthorDate: Fri Apr 29 19:10:06 2022 +0900
Fix m4/ac_python_devel.m4 for Python3.10
---
m4/ac_python_devel.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m4/ac_python_devel.m4 b/m4/ac_python_devel.m4
index acfb21ef..479aad7e 100644
--- a/m4/ac_python_devel.m4
+++ b/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])