mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
bpo-46053: Fix OSS audio support on NetBSD (GH-30065)
This commit is contained in:
parent
804ea2da97
commit
2e7e3c4c10
5 changed files with 97 additions and 2 deletions
|
|
@ -3553,6 +3553,12 @@ AS_VAR_IF([have_nis], [yes], [
|
|||
])
|
||||
])
|
||||
|
||||
dnl On NetBSD, when using OSS audio, you need to link against libossaudio
|
||||
AS_CASE([$ac_sys_system],
|
||||
[NetBSD*], [OSSAUDIODEV_LIBS="-lossaudio"],
|
||||
[OSSAUDIODEV_LIBS=""]
|
||||
)
|
||||
|
||||
dnl Check for SQLite library. Use pkg-config if available.
|
||||
PKG_CHECK_MODULES(
|
||||
[LIBSQLITE3], [sqlite3 >= 3.7.15], [], [
|
||||
|
|
@ -6786,7 +6792,8 @@ PY_STDLIB_MOD([_socket],
|
|||
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])
|
||||
[], [test "$ac_cv_header_linux_soundcard_h" = yes -o "$ac_cv_header_sys_soundcard_h" = yes],
|
||||
[], [$OSSAUDIODEV_LIBS])
|
||||
PY_STDLIB_MOD([pwd], [], [test "$ac_cv_func_getpwuid" = yes -o "$ac_cv_func_getpwuid_r" = yes])
|
||||
PY_STDLIB_MOD([resource], [], [test "$ac_cv_header_sys_resource_h" = yes])
|
||||
PY_STDLIB_MOD([_scproxy],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue