summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorThomas Klausner <tk@giga.or.at>2022-04-18 09:12:39 (GMT)
committerGitHub <noreply@github.com>2022-04-18 09:12:39 (GMT)
commit2e7e3c4c109928870c1e33d8af36b78e92895594 (patch)
tree6167457c43e8bbd98d8ce4b40bd983296ce98946 /configure
parent804ea2da97af68366cdeceb30d3987f6d9f3e797 (diff)
downloadcpython-2e7e3c4c109928870c1e33d8af36b78e92895594.zip
cpython-2e7e3c4c109928870c1e33d8af36b78e92895594.tar.gz
cpython-2e7e3c4c109928870c1e33d8af36b78e92895594.tar.bz2
bpo-46053: Fix OSS audio support on NetBSD (GH-30065)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index 26a891e..6549519 100755
--- a/configure
+++ b/configure
@@ -12181,6 +12181,14 @@ LIBS=$save_LIBS
fi
+case $ac_sys_system in #(
+ NetBSD*) :
+ OSSAUDIODEV_LIBS="-lossaudio" ;; #(
+ *) :
+ OSSAUDIODEV_LIBS=""
+ ;;
+esac
+
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSQLITE3" >&5
@@ -23250,7 +23258,7 @@ fi
if test "x$py_cv_module_ossaudiodev" = xyes; then :
-
+ as_fn_append MODULE_BLOCK "MODULE_OSSAUDIODEV_LDFLAGS=$OSSAUDIODEV_LIBS$as_nl"
fi
if test "$py_cv_module_ossaudiodev" = yes; then