summaryrefslogtreecommitdiff
path: root/audio/webrtc-audio-processing0/files/patch-configure.ac
blob: b41e30d1a20aa52c8b238ed95f112af49c4bd7c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- Add WEBRTC_BSD as it's closer to WEBRTC_LINUX than WEBRTC_MAC

--- configure.ac.orig	2018-07-23 14:02:57 UTC
+++ configure.ac
@@ -63,6 +63,13 @@ AS_CASE(["${host}"],
          OS_LDFLAGS="-lrt -lpthread"
          HAVE_POSIX=1
         ],
+    [*-*dragonfly*|*-*bsd*],
+        [
+         OS_CFLAGS="-DWEBRTC_BSD -DWEBRTC_THREAD_RR"
+         PLATFORM_CFLAGS="-DWEBRTC_POSIX"
+         OS_LDFLAGS="-lpthread"
+         HAVE_POSIX=1
+        ],
     [*-*darwin*],
         [
          OS_CFLAGS="-DWEBRTC_MAC -DWEBRTC_THREAD_RR -DWEBRTC_CLOCK_TYPE_REALTIME"