GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [3.14] gh-155911: Fix curses detection with libraries in LIBS (GH-156… · python/cpython@90235cb

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Misc/NEWS.d/next/Build
    • 2026-08-20-17-41-11.gh-issue-155911.yL3z8q.rst
  • configure.ac
  • configure
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Misc/NEWS.d/next/Build/2026-08-20-17-41-11.gh-issue-155911.yL3z8q.rst‎

Copy file name to clipboard
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix curses detection when a curses library is already in ``LIBS``.
2+
Patch by Shamil Abdulaev.
Collapse file

‎configure‎

Copy file name to clipboardExpand all lines: configure
+3-2Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎configure.ac‎

Copy file name to clipboardExpand all lines: configure.ac
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6952,8 +6952,9 @@ WITH_SAVE_ENV([
69526952
]))
69536953
69546954
# Check that we're able to link with crucial curses/panel functions. This
6955-
# also serves as a fallback in case pkg-config failed.
6956-
AS_VAR_APPEND([LIBS], [" $CURSES_LIBS $PANEL_LIBS"])
6955+
# also serves as a fallback in case pkg-config failed. Extension modules are
6956+
# not linked with LIBS, so exclude it to get the required libraries.
6957+
LIBS="$CURSES_LIBS $PANEL_LIBS"
69576958
AC_SEARCH_LIBS([initscr], [ncursesw ncurses],
69586959
[AS_VAR_IF([have_curses], [no],
69596960
[AS_VAR_SET([have_curses], [yes])

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.