diff options
Diffstat (limited to 'old-configure.in')
-rw-r--r-- | old-configure.in | 41 |
1 files changed, 32 insertions, 9 deletions
diff --git a/old-configure.in b/old-configure.in index 86cf2ae18..2965f60b7 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= @@ -2167,6 +2168,7 @@ MOZ_LDAP_XPCOM= MOZ_MORK= MOZ_MAPI_SUPPORT= MOZ_INCOMPLETE_EXTERNAL_LINKAGE= +MOZ_CAN_DRAW_IN_TITLEBAR= case "$target_os" in mingw*) @@ -2816,6 +2818,22 @@ fi AC_SUBST(MOZ_MAPI_SUPPORT) dnl ======================================================== +dnl = Client drawing in titlebar +dnl ======================================================== +if test -n "$MOZ_CAN_DRAW_IN_TITLEBAR"; then + case "$OS_TARGET" in + WINNT|Darwin) + AC_DEFINE(MOZ_CAN_DRAW_IN_TITLEBAR) + ;; + *) + AC_MSG_ERROR([Drawing in the titlebar is only supported on Windows and Macintosh targets]) + ;; + esac +fi + +AC_SUBST(MOZ_CAN_DRAW_IN_TITLEBAR) + +dnl ======================================================== dnl = Enable WebRTC code dnl ======================================================== MOZ_ARG_ENABLE_BOOL(webrtc, @@ -2898,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 @@ -4897,15 +4929,6 @@ AC_SUBST(MOZ_FIX_LINK_PATHS) AC_SUBST(MOZ_POST_PROGRAM_COMMAND) AC_SUBST(MOZ_LINKER_EXTRACT) -AC_SUBST(MOZ_ADDON_SIGNING) -if test "$MOZ_ADDON_SIGNING" = 1; then - AC_DEFINE(MOZ_ADDON_SIGNING) -fi -AC_SUBST(MOZ_REQUIRE_SIGNING) -if test "$MOZ_REQUIRE_SIGNING" = 1; then - AC_DEFINE(MOZ_REQUIRE_SIGNING) -fi - AC_SUBST(MOZ_JSDOWNLOADS) if test -n "$MOZ_JSDOWNLOADS"; then AC_DEFINE(MOZ_JSDOWNLOADS) |