diff options
author | Matheus Marinho <matheus4551@hotmail.com> | 2023-08-31 12:07:34 -0300 |
---|---|---|
committer | Matheus Marinho <matheus4551@hotmail.com> | 2023-08-31 17:04:44 -0300 |
commit | c94c303447e0a183685c0aea8a54f1e90efeb68b (patch) | |
tree | c3126d2de533755bf93cc8fc4816379b33dcbebf /old-configure.in | |
parent | 7a4b8501505e9ed433db0b5a675bc38398b74bb8 (diff) | |
download | uxp-c94c303447e0a183685c0aea8a54f1e90efeb68b.tar.gz |
Make Gecko Media Plugins optional when not building EME or WebRTC
Co-authored-by: Moonchild <moonchild@palemoon.org>
Diffstat (limited to 'old-configure.in')
-rw-r--r-- | old-configure.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in index 4e23dae932..ac11e93595 100644 --- a/old-configure.in +++ b/old-configure.in @@ -2004,6 +2004,7 @@ MOZ_VORBIS= MOZ_TREMOR= MOZ_SAMPLE_TYPE_FLOAT32= MOZ_SAMPLE_TYPE_S16= +MOZ_GMP= MOZ_WEBRTC= MOZ_PEERCONNECTION= MOZ_SRTP= @@ -2720,6 +2721,24 @@ else fi dnl ======================================================== +dnl = Enable Gecko Media Plugins +dnl ======================================================== + +if test -n "$MOZ_EME"; then + MOZ_GMP=1 +fi + +if test -n "$MOZ_WEBRTC"; then + MOZ_GMP=1 +fi + +if test -n "$MOZ_GMP"; then + AC_DEFINE(MOZ_GMP) +fi + +AC_SUBST(MOZ_GMP) + +dnl ======================================================== dnl = Enable Raw Codecs dnl ======================================================== MOZ_ARG_ENABLE_BOOL(raw, |