diff options
author | Christian Heimes <christian@python.org> | 2021-11-21 09:45:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-21 09:45:31 (GMT) |
commit | f201d261cf53365b5769a434ca2bb21a892bd23f (patch) | |
tree | cc769eec3c5fefa09019c435b7e99007674b6b7a /configure.ac | |
parent | 4f006a789a35f5d1a7ef142bd1304ce167392457 (diff) | |
download | cpython-f201d261cf53365b5769a434ca2bb21a892bd23f.zip cpython-f201d261cf53365b5769a434ca2bb21a892bd23f.tar.gz cpython-f201d261cf53365b5769a434ca2bb21a892bd23f.tar.bz2 |
bpo-45847: Port grp, spwd, termios, resource, syslog to PY_STDLIB_MOD (GH-29668)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 6c24a27..3d6233f 100644 --- a/configure.ac +++ b/configure.ac @@ -2162,7 +2162,7 @@ sys/times.h sys/types.h sys/uio.h sys/un.h sys/utsname.h sys/wait.h pty.h \ libutil.h sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \ linux/tipc.h linux/random.h spawn.h util.h alloca.h endian.h \ sys/endian.h sys/sysmacros.h linux/memfd.h linux/wait.h sys/memfd.h \ -sys/mman.h sys/eventfd.h linux/soundcard.h sys/soundcard.h) +sys/mman.h sys/eventfd.h linux/soundcard.h sys/soundcard.h syslog.h) AC_HEADER_DIRENT AC_HEADER_MAJOR @@ -3854,7 +3854,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \ explicit_memset faccessat fchmod fchmodat fchown fchownat \ fdwalk fexecve fdopendir fork fpathconf fstatat ftime ftruncate futimesat \ futimens futimes gai_strerror getentropy \ - getgrgid_r getgrnam_r \ + getgrgid getgrgid_r getgrnam_r \ getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \ getpriority getresuid getresgid getpwent getpwnam_r getpwuid_r getspnam getspent getsid getwd \ if_nameindex \ @@ -6060,11 +6060,16 @@ dnl always enabled extension modules PY_STDLIB_MOD_SIMPLE([_datetime], [], [$TIMEMODULE_LIB $LIBM]) dnl platform specific extensions +PY_STDLIB_MOD([grp], [], [test "$ac_cv_func_getgrgid" = yes -o "$ac_cv_func_getgrgid_r" = yes]) PY_STDLIB_MOD([ossaudiodev], [], [test "$ac_cv_header_linux_soundcard_h" = yes -o "$ac_cv_header_sys_soundcard_h" = yes]) +PY_STDLIB_MOD([resource], [], [test "$ac_cv_header_sys_resource_h" = yes]) PY_STDLIB_MOD([_scproxy], [test "$ac_sys_system" = "Darwin"], [], [], [-framework SystemConfiguration -framework CoreFoundation]) +PY_STDLIB_MOD([spwd], [], [test "$ac_cv_func_getspent" = yes -o "$ac_cv_func_getspnam" = yes]) +PY_STDLIB_MOD([syslog], [], [test "$ac_cv_header_syslog_h" = yes]) +PY_STDLIB_MOD([termios], [], [test "$ac_cv_header_termios_h" = yes]) dnl _elementtree loads libexpat via CAPI hook in pyexpat PY_STDLIB_MOD([pyexpat], [], [], [$LIBEXPAT_CFLAGS], [$LIBEXPAT_LDFLAGS]) |