summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorrhinoduck <rhinoduckdoom@gmail.com>2017-01-08 22:42:00 +0100
committerrhinoduck <rhinoduckdoom@gmail.com>2017-02-08 05:10:59 +0100
commitb55f36e7f7a8a6c078bf9ee12003bf238eb087f5 (patch)
tree5005976f3aff0becb29da0ebf6979b953975562b /configure.in
parentd2bb5b181903e31c785be31787eec7614fd71185 (diff)
downloadpalemoon-gre-b55f36e7f7a8a6c078bf9ee12003bf238eb087f5.tar.gz
Integrate jxrlib into the build system
New build flag MOZ_JXR: enables/disables JXR support (enabled by default).
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index a389dfc23..1ad3cb502 100644
--- a/configure.in
+++ b/configure.in
@@ -5146,6 +5146,21 @@ fi
AC_SUBST(MOZ_WEBSPEECH)
dnl ========================================================
+dnl = Enable JPEG-XR (JXR) decoder support
+dnl ========================================================
+MOZ_JXR=1
+
+MOZ_ARG_ENABLE_BOOL(jxr,
+[ --disable-jxr Disable support for JPEG-XR (JXR) image format],
+ MOZ_JXR=)
+
+if test -n "$MOZ_JXR"; then
+ AC_DEFINE(MOZ_JXR)
+fi
+
+AC_SUBST(MOZ_JXR)
+
+dnl ========================================================
dnl = Enable Raw Codecs
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(raw,