Ticket #27212: mp_star.patch

File mp_star.patch, 1.3 KB (added by dimpase, 3 years ago)
  • new file uild/pkgs/mpc/spkg-configure.m4

    diff --git a/build/pkgs/mpc/spkg-configure.m4 b/build/pkgs/mpc/spkg-configure.m4
    new file mode 100644
    index 0000000000..ce5b384ada
    - +  
     1SAGE_SPKG_CONFIGURE([mpc], [
     2    AC_CHECK_HEADER(mpc.h, [], [sage_spkg_install_mpc=yes])
     3dnl mpc_cmp_abs appeared in MPC 1.1.0
     4    AC_SEARCH_LIBS([mpc_cmp_abs], [mpc], [break], [sage_spkg_install_mpc=yes])
     5])
  • new file uild/pkgs/mpfr/spkg-configure.m4

    diff --git a/build/pkgs/mpfr/spkg-configure.m4 b/build/pkgs/mpfr/spkg-configure.m4
    new file mode 100644
    index 0000000000..bc2b67f59f
    - +  
     1SAGE_SPKG_CONFIGURE([mpfr], [
     2    AC_CHECK_HEADER(mpfr.h, [], [sage_spkg_install_mpfr=yes])
     3dnl mpfr_free_pool appeared in r11922 (Dec 2017) on MPFR svn
     4    AC_SEARCH_LIBS([mpfr_free_pool], [mpfr], [break], [sage_spkg_install_mpfr=yes])
     5])
  • new file uild/pkgs/mpir/spkg-configure.m4

    diff --git a/build/pkgs/mpir/spkg-configure.m4 b/build/pkgs/mpir/spkg-configure.m4
    new file mode 100644
    index 0000000000..54adff8242
    - +  
     1SAGE_SPKG_CONFIGURE([mpir], [
     2    AC_CHECK_HEADER(gmp.h, [], [sage_spkg_install_mpir=yes])
     3    AC_CHECK_HEADER(gmpxx.h, [], [sage_spkg_install_mpir=yes])
     4dnl mpn_divexact_1 appeared in GMP 6.1.0
     5    AC_SEARCH_LIBS([__gmpn_divexact_1], [gmp], [break], [sage_spkg_install_mpir=yes])
     6])