mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-114875: Require getgrent for building the grp extension module (#114876)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
parent
1183f1e6bf
commit
f35c7c070c
4 changed files with 16 additions and 3 deletions
9
configure
generated
vendored
9
configure
generated
vendored
|
@ -17475,6 +17475,12 @@ if test "x$ac_cv_func_getgid" = xyes
|
|||
then :
|
||||
printf "%s\n" "#define HAVE_GETGID 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "getgrent" "ac_cv_func_getgrent"
|
||||
if test "x$ac_cv_func_getgrent" = xyes
|
||||
then :
|
||||
printf "%s\n" "#define HAVE_GETGRENT 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "getgrgid" "ac_cv_func_getgrgid"
|
||||
if test "x$ac_cv_func_getgrgid" = xyes
|
||||
|
@ -28968,7 +28974,8 @@ then :
|
|||
|
||||
if true
|
||||
then :
|
||||
if test "$ac_cv_func_getgrgid" = yes -o "$ac_cv_func_getgrgid_r" = yes
|
||||
if test "$ac_cv_func_getgrent" = "yes" &&
|
||||
{ test "$ac_cv_func_getgrgid" = "yes" || test "$ac_cv_func_getgrgid_r" = "yes"; }
|
||||
then :
|
||||
py_cv_module_grp=yes
|
||||
else $as_nop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue