From 1d8cf659c3766902f88344e60d4e5fee44649c76 Mon Sep 17 00:00:00 2001 From: Steven Trogdon Date: Sun, 20 Feb 2022 19:35:51 -0700 Subject: [PATCH] Update test for help docs in Singular --- build/pkgs/singular/spkg-configure.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pkgs/singular/spkg-configure.m4 b/build/pkgs/singular/spkg-configure.m4 index 0f629e4d315..95a67f79bca 100644 --- a/build/pkgs/singular/spkg-configure.m4 +++ b/build/pkgs/singular/spkg-configure.m4 @@ -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.