ports/math/sage/files/py_libs_spkg-configure.m4
Thierry Thomas 97d81944e8 - Unbreak and upgrade to 9.1
- Take maintainership.

PR:		247298
Submitted by:	/me
Approved by:	stephen (previous maintainer)
Differential Revision:	D24195
2020-06-17 10:05:10 +00:00

11 lines
316 B
Text

SAGE_SPKG_CONFIGURE(
[py_libs], [dnl direct testing for import module
AC_MSG_CHECKING(Import module py_libs...)
python3 -c "import py_libs;" > /dev/null 2>&1
if test $? -ne 0; then
AC_MSG_RESULT(KO)
sage_spkg_install_py_libs=yes
else
AC_MSG_RESULT(OK)
fi
])