Skip to content

configure prefers system install of ncurses over available pkg-config on macOS #113565

@ronaldoussoren

Description

@ronaldoussoren

Feature or enhancement

Proposal:

I have ncurses 6.4 installed locally with corresponding pkg-config files. I'd expect that configure will pick up that installation, but it seems to prefer the system installation.

I ended up running configure with explicit overrides for the CURSES and PANEL CFLAGS and LIBS variables:

 ../configure  ... CURSES_CFLAGS="$(pkg-config --cflags ncursesw)" CURSES_LIBS="$(pkg-config --libs ncursesw)" PANEL_CFLAGS="$(pkg-config --cflags panelw)" PANEL_LIBS="$(pkg-config --libs panelw)"

configure does pick up other local installs (sqlite, bz2, ...)

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy