diff options
author | Moonchild <moonchild@palemoon.org> | 2021-11-26 18:08:58 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-11-26 18:08:58 +0000 |
commit | 4cffd541de9065c16bbe0dd2fa10e41329e6caa5 (patch) | |
tree | eab213a29c3375b16a2398dc851ef7062c8c126d /old-configure.in | |
parent | f9591cc1c0c314522b7df3b650a68d2c51e46c10 (diff) | |
download | aura-central-4cffd541de9065c16bbe0dd2fa10e41329e6caa5.tar.gz |
Issue %3014 - Part 1: Remove conditional WebRTC code
Diffstat (limited to 'old-configure.in')
-rw-r--r-- | old-configure.in | 81 |
1 files changed, 1 insertions, 80 deletions
diff --git a/old-configure.in b/old-configure.in index ac79a1453..7cd036d09 100644 --- a/old-configure.in +++ b/old-configure.in @@ -1888,7 +1888,6 @@ MOZ_VORBIS= MOZ_TREMOR= MOZ_SAMPLE_TYPE_FLOAT32= MOZ_SAMPLE_TYPE_S16= -MOZ_WEBRTC= MOZ_PEERCONNECTION= MOZ_SRTP= MOZ_WEBRTC_SIGNALING= @@ -2375,39 +2374,6 @@ if test "${MOZ_WIDGET_TOOLKIT}" = "linuxgl" -a "$ACCESSIBILITY" != "1"; then AC_MSG_ERROR(["Accessibility is required for the linuxgl widget backend"]) fi -dnl Turn off webrtc for OS's we don't handle yet, but allow -dnl --enable-webrtc to override. Can disable for everything in -dnl the master list above. -if test -n "$MOZ_WEBRTC"; then - case "$target" in - *-linux*|*-mingw*|*-dragonfly*|*-freebsd*|*-netbsd*|*-openbsd*) - dnl Leave enabled - ;; - *) - dnl default to disabled for all others - MOZ_WEBRTC= - ;; - esac -fi - -AC_TRY_COMPILE([#include <linux/ethtool.h>], - [ struct ethtool_cmd cmd; cmd.speed_hi = 0; ], - MOZ_WEBRTC_HAVE_ETHTOOL_SPEED_HI=1) - -AC_SUBST(MOZ_WEBRTC_HAVE_ETHTOOL_SPEED_HI) - -# target_arch is from {ia32|x64|arm|ppc} -case "$CPU_ARCH" in -x86_64 | arm | aarch64 | x86 | ppc* | ia64) - : - ;; -*) -# unsupported arch for webrtc - MOZ_WEBRTC= - ;; - -esac - dnl ========================================================= dnl = NSS DBM (BerkeleyDB) Support dnl = NOTE: Because we don't expressly control the name of @@ -2537,52 +2503,8 @@ fi AC_SUBST(MOZ_CAN_DRAW_IN_TITLEBAR) -dnl ======================================================== -dnl = Enable WebRTC code -dnl ======================================================== -MOZ_ARG_ENABLE_BOOL(webrtc, -[ --enable-webrtc Enable support for WebRTC], - MOZ_WEBRTC=1, - MOZ_WEBRTC=) - -if test -n "$MOZ_WEBRTC"; then - AC_DEFINE(MOZ_WEBRTC) - dnl MOZ_WEBRTC_ASSERT_ALWAYS turns on a number of safety asserts in - dnl opt/production builds (via MOZ_CRASH()) - AC_DEFINE(MOZ_WEBRTC_ASSERT_ALWAYS) - MOZ_RAW=1 - MOZ_VPX_ERROR_CONCEALMENT=1 - -dnl enable once Signaling lands - MOZ_WEBRTC_SIGNALING=1 - AC_DEFINE(MOZ_WEBRTC_SIGNALING) -dnl enable once PeerConnection lands - MOZ_PEERCONNECTION=1 - AC_DEFINE(MOZ_PEERCONNECTION) - MOZ_SCTP=1 - MOZ_SRTP=1 - AC_DEFINE(MOZ_SCTP) - AC_DEFINE(MOZ_SRTP) - if test -n "$MOZ_X11"; then - MOZ_WEBRTC_X11_LIBS="-lXext -lXdamage -lXfixes -lXcomposite" - fi -else - MOZ_SYNTH_PICO= -fi - -dnl ======================================================== -dnl = Force hardware AEC, disable webrtc.org AEC -dnl ======================================================== -MOZ_ARG_ENABLE_BOOL(hardware-aec-ns, -[ --enable-hardware-aec-ns Enable support for hardware AEC and noise suppression], - MOZ_WEBRTC_HARDWARE_AEC_NS=1, - MOZ_WEBRTC_HARDWARE_AEC_NS=) - -if test -n "$MOZ_WEBRTC_HARDWARE_AEC_NS"; then - AC_DEFINE(MOZ_WEBRTC_HARDWARE_AEC_NS) -fi +MOZ_SYNTH_PICO= -AC_SUBST(MOZ_WEBRTC) AC_SUBST(MOZ_WEBRTC_SIGNALING) AC_SUBST(MOZ_PEERCONNECTION) AC_SUBST(MOZ_WEBRTC_ASSERT_ALWAYS) @@ -4957,7 +4879,6 @@ MOZ_BRANDING_DIRECTORY=$MOZ_BRANDING_DIRECTORY MC_BASILISK=$MC_BASILISK MC_PALEMOON=$MC_PALEMOON MOZ_EME=$MOZ_EME -MOZ_WEBRTC=$MOZ_WEBRTC MOZ_SYSTEM_JPEG=$MOZ_SYSTEM_JPEG MOZ_SYSTEM_ZLIB=$MOZ_SYSTEM_ZLIB MOZ_SYSTEM_BZ2=$MOZ_SYSTEM_BZ2 |