Skip to content

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aaslanderlend-aasland commented Feb 28, 2024

@erlend-aasland
Copy link
ContributorAuthor

cc. @mhsmith

@erlend-aaslanderlend-aasland marked this pull request as ready for review February 28, 2024 12:48
dnl http://www.v6.linux.or.jp/
AC_EGREP_CPP([yes], [
#include <features.h>
#if defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2))
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glibc 2.1 was released in February 1999. According to DistroWatch, we can safely assume that we run on glibc 2.1 or newer. All we need here is to check for __GLIBC__, AFAICS.

Copy link
Member

@corona10corona10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@erlend-aasland
Copy link
ContributorAuthor

Thanks for the review, both of you! Highly appreciated :)

@erlend-aaslanderlend-aasland merged commit 449c6da into python:mainFeb 28, 2024
@erlend-aaslanderlend-aasland deleted the ac/2.72-egrep-source-alt branch February 28, 2024 13:35
@erlend-aaslanderlend-aasland mentioned this pull request Feb 29, 2024
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this pull request Mar 4, 2024
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@erlend-aasland@mhsmith@corona10