-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-115765: Use AX_CHECK_DEFINE instead of AC_EGREP_* #116016
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-115765: Use AX_CHECK_DEFINE instead of AC_EGREP_* #116016
Conversation
cc. @mhsmith |
f7fae08
to
9b5bdc7
Compare
dnl http://www.v6.linux.or.jp/ | ||
AC_EGREP_CPP([yes], [ | ||
#include <features.h> | ||
#if defined(__GLIBC__) && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Thanks for the review, both of you! Highly appreciated :) |
…ac (python#116016) Rewrite using AX_CHECK_DEFINE and AC_CHECK_TYPES.
…ac (python#116016) Rewrite using AX_CHECK_DEFINE and AC_CHECK_TYPES.
…ac (python#116016) Rewrite using AX_CHECK_DEFINE and AC_CHECK_TYPES.
Alternative to #115791