Skip to content

spkg-configure.m4 for ncurses and readline #27277

@dimpase

Description

@dimpase

use pkg-config and test that the versions are as new as in Sage:

SAGE_SPKG_CONFIGURE([ncurses], [
    dnl First try checking for ncurses with pkg-config
    PKG_CHECK_MODULES([NCURSES], [ncurses >= 6.0], [sage_spkg_install_ncurses=no], [sage_spkg_install_ncurses=yes])
    ])

and

SAGE_SPKG_CONFIGURE([readline], [
    dnl First try checking for readline with pkg-config
    PKG_CHECK_MODULES([READLINE], [readline >= 6.3], [sage_spkg_install_readline=no], [sage_spkg_install_readline=yes])
    ])

readline 8.0 tarball: ftp://ftp.cwru.edu/pub/bash/readline-8.0.tar.gz

Upstream: Reported upstream. No feedback yet.

CC: @embray @kiwifb

Component: build

Author: Dima Pasechnik

Branch/Commit: u/dimpase/packages/ncurses_readline-config @ 6828f7a

Reviewer: Matthias Koeppe, François Bissey

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

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