Skip to content

Commit

Permalink
Trac #33390: singular spkg-configure.m4: Better test for help
Browse files Browse the repository at this point in the history
As reported in https://groups.google.com/g/sage-
release/c/vxYHQA6LUGw/m/_LO2GLLlAAAJ, the current test is not suitable
on some systems.

URL: https://trac.sagemath.org/33390
Reported by: mkoeppe
Ticket author(s): Steven Trogdon
Reviewer(s): Matthias Koeppe
  • Loading branch information
Release Manager committed Feb 21, 2022
2 parents b96b86a + 1d8cf65 commit 58e2a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/pkgs/singular/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SAGE_SPKG_CONFIGURE([singular], [
dnl Use pkg-config to ensure that Singular is new enough.
PKG_CHECK_MODULES([SINGULAR], [Singular >= 4.2.1], [
AC_MSG_CHECKING([that Singular's help is working])
AS_IF([test x`echo "help;" | Singular 2>&1 | grep "error\ occurred"` = x], [
AS_IF([test x`echo -e "system(\"--browser\", \"builtin\"); \n help;" | Singular 2>&1 | grep "error\ occurred"` = x], [
AC_MSG_RESULT(yes)
dnl We have Singular. Now determine the shared library path on
dnl platforms on which sage.libs.singular needs to reload the library with RTLD_GLOBAL.
Expand Down

0 comments on commit 58e2a16

Please sign in to comment.