summaryrefslogtreecommitdiffstats
path: root/old-configure.in
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-04-16 23:15:33 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-16 23:15:33 +0200
commit5caf99795aa81e1fc145b8e937b1ee8197ed2486 (patch)
tree28341279dd59d2930ecee03da6f5bf3b61da9acd /old-configure.in
parent963fc807963bf0bf83d5fefa945acbafa2dfc9ff (diff)
downloadUXP-5caf99795aa81e1fc145b8e937b1ee8197ed2486.tar
UXP-5caf99795aa81e1fc145b8e937b1ee8197ed2486.tar.gz
UXP-5caf99795aa81e1fc145b8e937b1ee8197ed2486.tar.lz
UXP-5caf99795aa81e1fc145b8e937b1ee8197ed2486.tar.xz
UXP-5caf99795aa81e1fc145b8e937b1ee8197ed2486.zip
Issue #251 - Move MOZ_AV1 back to ac configure for everyone to use.
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/old-configure.in b/old-configure.in
index f1ee5d368..45ac07aca 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -2113,6 +2113,7 @@ if test "$MOZ_IOS"; then
MOZ_AUTH_EXTENSION=
fi
MOZ_RAW=
+MOZ_AV1=
MOZ_VORBIS=
MOZ_TREMOR=
MOZ_SAMPLE_TYPE_FLOAT32=
@@ -2915,6 +2916,20 @@ fi
AC_SUBST(MOZ_RAW)
dnl ========================================================
+dnl = Enable Libaom AV1 Codec
+dnl ========================================================
+MOZ_ARG_ENABLE_BOOL(av1,
+[ --enable-av1 Enable libaom for av1 video support],
+ MOZ_AV1=1,
+ MOZ_AV1=)
+
+if test -n "$MOZ_AV1"; then
+ AC_DEFINE(MOZ_AV1)
+fi
+
+AC_SUBST(MOZ_AV1)
+
+dnl ========================================================
dnl = Apple platform decoder support
dnl ========================================================
if test "$COMPILE_ENVIRONMENT"; then