summaryrefslogtreecommitdiffstats
path: root/old-configure.in
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-01-31 16:54:07 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-01-31 16:54:07 +0100
commit229f8412959a9480a9fa1784d6619aa5e97320c3 (patch)
tree39c52966f8c231e1401d7f32abc7f1ffdeecaa20 /old-configure.in
parentd41ba28f5257f7c1425a0bde210e69fc5bb34a37 (diff)
downloadUXP-229f8412959a9480a9fa1784d6619aa5e97320c3.tar
UXP-229f8412959a9480a9fa1784d6619aa5e97320c3.tar.gz
UXP-229f8412959a9480a9fa1784d6619aa5e97320c3.tar.lz
UXP-229f8412959a9480a9fa1784d6619aa5e97320c3.tar.xz
UXP-229f8412959a9480a9fa1784d6619aa5e97320c3.zip
Issue #1342 - Remove support for system libvpx
Diffstat (limited to 'old-configure.in')
-rw-r--r--old-configure.in36
1 files changed, 0 insertions, 36 deletions
diff --git a/old-configure.in b/old-configure.in
index 8e1a7258e..a7b0ce6b9 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -2918,13 +2918,6 @@ if test -n "$MOZ_EME"; then
AC_DEFINE(MOZ_EME)
fi
-dnl ========================================================
-dnl system libvpx Support
-dnl ========================================================
-MOZ_ARG_WITH_BOOL(system-libvpx,
-[ --with-system-libvpx Use system libvpx (located with pkgconfig)],
- MOZ_SYSTEM_LIBVPX=1)
-
MOZ_LIBVPX_CFLAGS=
MOZ_LIBVPX_LIBS=
@@ -2932,35 +2925,6 @@ if test -n "$MOZ_VPX_ERROR_CONCEALMENT" ; then
AC_DEFINE(MOZ_VPX_ERROR_CONCEALMENT)
fi
-_SAVE_CFLAGS=$CFLAGS
-_SAVE_LIBS=$LIBS
-if test -n "$MOZ_SYSTEM_LIBVPX"; then
- dnl ============================
- dnl === libvpx Version check ===
- dnl ============================
- dnl Check to see if we have a system libvpx package.
- PKG_CHECK_MODULES(MOZ_LIBVPX, vpx >= 1.5.0)
-
- CFLAGS="$CFLAGS $MOZ_LIBVPX_CFLAGS"
- LIBS="$LIBS $MOZ_LIBVPX_LIBS"
-
- MOZ_CHECK_HEADER([vpx/vpx_decoder.h], [],
- [AC_MSG_ERROR([Couldn't find vpx/vpx_decoder.h which is required for build with system libvpx. Use --without-system-libvpx to build with in-tree libvpx.])])
-
- AC_CHECK_LIB(vpx, vpx_codec_dec_init_ver, [],
- [AC_MSG_ERROR([--with-system-libvpx requested but symbol vpx_codec_dec_init_ver not found])])
-
- MOZ_CHECK_HEADER([vpx_mem/vpx_mem.h],
- [AC_CHECK_FUNC(vpx_mem_set_functions)])
- if test "$ac_cv_header_vpx_mem_vpx_mem_h" = no -o \
- "$ac_cv_func_vpx_mem_set_functions" = no; then
- AC_DEFINE(MOZ_VPX_NO_MEM_REPORTING)
- fi
-fi
-CFLAGS=$_SAVE_CFLAGS
-LIBS=$_SAVE_LIBS
-
-AC_SUBST(MOZ_SYSTEM_LIBVPX)
AC_SUBST_LIST(MOZ_LIBVPX_CFLAGS)
AC_SUBST_LIST(MOZ_LIBVPX_LIBS)