summaryrefslogtreecommitdiff
path: root/www/firefox68/patches/patch-aa
blob: 4bb2c9a0cfc10b0cfb608bf180e5e6742faa67eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-aa,v 1.2 2020/03/12 19:39:35 nia Exp $

* Add Sun audio support

--- old-configure.in.orig	2020-03-05 20:57:20.000000000 +0000
+++ old-configure.in
@@ -1987,6 +1987,19 @@ MOZ_WEBM_ENCODER=1
 AC_DEFINE(MOZ_WEBM_ENCODER)
 AC_SUBST(MOZ_WEBM_ENCODER)
 
+dnl ==================================
+dnl = Check sunaudio availability
+dnl ==================================
+
+dnl If using Solaris or NetBSD, ensure that sunaudio is available
+case "$OS_TARGET" in
+SunOS|NetBSD)
+    MOZ_SUNAUDIO=1
+    ;;
+esac
+
+AC_SUBST(MOZ_SUNAUDIO)
+
 dnl ========================================================
 dnl NegotiateAuth
 dnl ========================================================