Skip to content

Commit 7088263

Browse files
antonio-rojasdimpase
authored andcommitted
Require pari>=2.15, remove old bug test
1 parent 2c3b7ae commit 7088263

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

build/pkgs/pari/spkg-configure.m4

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SAGE_SPKG_CONFIGURE([pari], [
22
dnl See gp_version below on how the version is computed from MAJV.MINV.PATCHV
3-
m4_pushdef([SAGE_PARI_MINVER],["134401"])dnl this version and higher allowed
4-
m4_pushdef([SAGE_PARI_MAXVER],["134912"])dnl this version and higher not allowed
3+
m4_pushdef([SAGE_PARI_MINVER],["134913"])dnl this version and higher allowed
4+
m4_pushdef([SAGE_PARI_MAXVER],["999999"])dnl this version and higher not allowed
55
SAGE_SPKG_DEPCHECK([gmp readline], [
66
AC_PATH_PROG([GP], [gp])
77
if test x$GP = x; then dnl GP test
@@ -67,17 +67,6 @@ SAGE_SPKG_CONFIGURE([pari], [
6767
AC_MSG_NOTICE([Otherwise Sage will build its own pari/GP.])
6868
sage_spkg_install_pari=yes
6969
fi
70-
AC_MSG_CHECKING([whether rnfdisc bug of pari 2.13.1 is fixed])
71-
bug_check=`echo "K = nfinit(y^4-10*y^2+1); disc = rnfdisc(K,x^2-(y^3/2+y^2-5*y/2+1)); idealnorm(K,disc)" | $GP -qf 2>> config.log`
72-
expected="2304"
73-
if test x"$bug_check" = x"$expected"; then
74-
AC_MSG_RESULT([yes])
75-
else
76-
AC_MSG_RESULT([no; cannot use system pari/GP with known bug])
77-
AC_MSG_NOTICE([Upgrade your system package and reconfigure.])
78-
AC_MSG_NOTICE([Otherwise Sage will build its own pari/GP.])
79-
sage_spkg_install_pari=yes
80-
fi
8170
fi dnl end GP test
8271
8372
if test x$sage_spkg_install_pari = xno; then dnl main PARI test

0 commit comments

Comments
 (0)