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

Commit

Permalink
testi for GC enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed May 21, 2019
1 parent 73ce2a9 commit 37fa1a1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build/pkgs/flint/spkg-configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,15 @@ dnl Just part the options here
AC_CHECK_HEADER(flint/flint.h, [], [sage_spkg_install_flint=yes])
dnl fmpz_mat_is_hadamard appears in Flint 2.5.0
AC_SEARCH_LIBS([fmpz_mat_is_hadamard], [flint], [], [sage_spkg_install_flint=yes])
dnl check that NTL is linked in
dnl check that NTL is linked in
AC_SEARCH_LIBS([fmpz_poly_get_ZZX], [flint], [break], [sage_spkg_install_flint=yes])
dnl
AC_MSG_CHECKING([that GC is not enabled in Flint... ])
AC_RUN_IFELSE([
AC_LANG_PROGRAM([[#include <flint/flint.h>]], [[return HAVE_GC;]])],
[AC_MSG_RESULT([GC not enabled. Good.])],
[AC_MSG_RESULT([GC enabled. Incompatible with Sage.])
sage_spkg_install_flint=yes])
if test x$sage_spkg_install_flint = xyes; then
AC_SUBST(SAGE_FLINT_PREFIX, ['$SAGE_LOCAL'])
Expand Down

0 comments on commit 37fa1a1

Please sign in to comment.