Skip to content

spkg-configure.m4 for flint #27264

@dimpase

Description

@dimpase

Flint on Sage is linked with NTL, and this can be checked by testing for presence of
fmpz_poly_get_ZZX there. So, this:

SAGE_SPKG_CONFIGURE([flint], [
    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])
    AC_SEARCH_LIBS([fmpz_poly_get_ZZX], [flint], [break], [sage_spkg_install_flint=yes])
])

CC: @embray

Component: build

Author: Dima Pasechnik

Branch/Commit: u/dimpase/packages/flintconfig @ 8fc4fb6

Issue created by migration from https://trac.sagemath.org/ticket/27264

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions