Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 7d01e58

Browse files
committed
let gp do the check and return 0/1
1 parent 4583b40 commit 7d01e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/pkgs/pari/spkg-configure.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ SAGE_SPKG_CONFIGURE([pari], [
3636
sage_spkg_install_pari=yes
3737
fi
3838
AC_MSG_CHECKING([is pari_galpol installed? ])
39-
gp_galp_check=`echo "galoisgetname(12,1)" | $GP -qf 2>> config.log`
40-
if test "x$gp_galp_check = xC3\ \:\ C4"; then
39+
gp_galp_check=`echo "galoisgetname(12,1) == \"C3 : C4\"" | $GP -qf 2>> config.log`
40+
if test x$gp_galp_check = x1; then
4141
AC_MSG_RESULT([yes])
4242
else
4343
AC_MSG_RESULT([no; cannot use system pari/GP without galpol package])

0 commit comments

Comments
 (0)