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

Commit

Permalink
spkg-configure for GMP
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed Feb 4, 2019
1 parent a6cab5b commit 1ed38e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/pkgs/gmp/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SAGE_SPKG_CONFIGURE([gmp], [
AC_CHECK_HEADER(gmp.h, [], [sage_spkg_install_gmp=yes])
AC_CHECK_HEADER(gmpxx.h, [], [sage_spkg_install_gmp=yes])
dnl mpn_divexact_1 appeared in GMP 6.1.0
AC_SEARCH_LIBS([__gmpn_divexact_1], [gmp], [break], [sage_spkg_install_gmp=yes])
])

0 comments on commit 1ed38e1

Please sign in to comment.