From dbcdbf1814b3df4c4e08e525b03384376598217d Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 25 May 2023 01:19:50 +0200 Subject: [PATCH] gh-104773: Fix PY_STDLIB_MOD_SET_NA() on macOS (#104901) The _scproxy is available on macOS: fix configure script. --- configure | 2 ++ configure.ac | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configure b/configure index 6b6cc090f77..ab35842179d 100755 --- a/configure +++ b/configure @@ -25380,6 +25380,8 @@ case $ac_sys_system in #( py_cv_module_termios=n/a py_cv_module_grp=n/a ;; #( + Darwin) : + ;; #( CYGWIN*) : diff --git a/configure.ac b/configure.ac index 536deb975a3..09e5eff2c53 100644 --- a/configure.ac +++ b/configure.ac @@ -7064,6 +7064,8 @@ dnl VxWorks does not provide crypt() function AS_CASE([$ac_sys_system], [AIX], [PY_STDLIB_MOD_SET_NA([_scproxy])], [VxWorks*], [PY_STDLIB_MOD_SET_NA([_scproxy], [_crypt], [termios], [grp])], + dnl The _scproxy module is available on macOS + [Darwin], [], [CYGWIN*], [PY_STDLIB_MOD_SET_NA([_scproxy])], [QNX*], [PY_STDLIB_MOD_SET_NA([_scproxy])], [FreeBSD*], [PY_STDLIB_MOD_SET_NA([_scproxy])],