summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-aa
blob: 5e0ccb240dfa11fa777db1a8fa35ab8e679f2322 (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.67 2022/03/01 13:35:33 ryoon Exp $

* Add Sun audio support

--- old-configure.in.orig	2022-02-02 21:01:47.000000000 +0000
+++ old-configure.in
@@ -1335,6 +1335,19 @@ fi
 AC_DEFINE_UNQUOTED(MOZ_MACBUNDLE_ID,$MOZ_MACBUNDLE_ID)
 AC_SUBST(MOZ_MACBUNDLE_ID)
 
+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 = Child Process Name for IPC
 dnl ========================================================