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

Commit

Permalink
build/pkgs/pari/spkg-configure.m4: Re-enable main PARI test (lost in …
Browse files Browse the repository at this point in the history
…SAGE_SPKG_CONFIGURE macro change); remove duplicate AC_MSG
  • Loading branch information
Matthias Koeppe committed Apr 3, 2020
1 parent f6341db commit c4a0a22
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions build/pkgs/pari/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ SAGE_SPKG_CONFIGURE([pari], [
sage_spkg_install_pari=yes
else
AC_MSG_RESULT([no])
AC_MSG_CHECKING([installing PARI/GP packages? ])
AC_PATH_PROG([GP], [gp])
if test x$GP = x; then dnl GP test
AC_MSG_NOTICE([gp is not found])
Expand Down Expand Up @@ -87,8 +86,7 @@ SAGE_SPKG_CONFIGURE([pari], [
fi
fi dnl end GP test
if test x$sage_spkg_install_pari = x; then dnl main PARI test
AC_MSG_RESULT([no])
if test x$sage_spkg_install_pari = xno; then dnl main PARI test
AC_CHECK_HEADER([pari/pari.h], [], [sage_spkg_install_pari=yes])
dnl matpermanent appears in pari 2.11
AC_SEARCH_LIBS([matpermanent], [pari], [
Expand Down Expand Up @@ -135,9 +133,7 @@ SAGE_SPKG_CONFIGURE([pari], [
], [], [], [
if test x$sage_spkg_install_pari = xyes; then
AC_SUBST(SAGE_PARI_PREFIX, ['$SAGE_LOCAL'])
AC_MSG_RESULT([using Sage's pari SPKG])
else
AC_SUBST(SAGE_PARI_PREFIX, [''])
AC_MSG_RESULT([using pari/gp from the system])
fi
])

0 comments on commit c4a0a22

Please sign in to comment.