diff options
author | popcornmix <popcornmix@gmail.com> | 2015-03-23 17:12:31 +0000 |
---|---|---|
committer | popcornmix <popcornmix@gmail.com> | 2015-09-01 12:36:24 +0100 |
commit | 0997117a659a09e7b1c5bcb110f3526ea16698be (patch) | |
tree | a85171f9c6e60a370462b19d347e79e0846c0534 /configure.ac | |
parent | c651e56598b235d7876c4a52fc98d7bd8a8e4e71 (diff) |
[ffmpeg] Add support for libdcadec
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 48c153429d..d23582a0af 100644 --- a/configure.ac +++ b/configure.ac @@ -1108,6 +1108,7 @@ AC_CHECK_HEADER([mpeg2dec/mpeg2convert.h],, AC_MSG_ERROR($missing_library), AC_CHECK_HEADER([jpeglib.h],, AC_MSG_ERROR($missing_library)) AC_CHECK_HEADER([ogg/ogg.h],, AC_MSG_ERROR($missing_library)) AC_CHECK_HEADER([vorbis/vorbisfile.h],, AC_MSG_ERROR($missing_library)) +PKG_CHECK_MODULES([LIBDCADEC], [dcadec],, AC_MSG_ERROR([libdcadec not found])) PKG_CHECK_MODULES([LIBCURL], [libcurl],, AC_MSG_ERROR([libcurl not found])) XB_FIND_SONAME([CURL], [curl]) @@ -1139,6 +1140,7 @@ PKG_CHECK_MODULES([GNUTLS], [gnutls], [have_gnutls=yes];AC_DEFINE([HAVE_GNUTLS], AC_CHECK_LIB([bz2], [main],, AC_MSG_ERROR($missing_library)) AC_CHECK_LIB([jpeg], [main],, AC_MSG_ERROR($missing_library)) # check for cximage AC_CHECK_LIB([tiff], [main],, AC_MSG_ERROR($missing_library)) +AC_CHECK_LIB([dcadec], [main],, AC_MSG_ERROR($missing_library)) if echo "$ARCH" | grep -q freebsd; then AC_CHECK_LIB([pthread], [main],LIBS="-pthread $LIBS", AC_MSG_ERROR($missing_library)) AC_CHECK_LIB([pthread], [pthread_set_name_np], @@ -1814,6 +1816,7 @@ if test "${USE_STATIC_FFMPEG}" = "1"; then FFMPEG_LIBDIR=${pkg_cfg_prefix}$(PKG_CONFIG_SYSROOT_DIR="" ${PKG_CONFIG} --static --variable=libdir libavcodec) GNUTLS_ALL_LIBS=$(${PKG_CONFIG} --static --libs-only-l --silence-errors gnutls) VORBISENC_ALL_LIBS=$(${PKG_CONFIG} --static --libs-only-l --silence-errors vorbisenc) + DCADEC_ALL_LIBS=$(${PKG_CONFIG} --static --libs-only-l --silence-errors dcadec) # check if static libs are available for ff_lib in ${ff_libs}; do @@ -2630,6 +2633,7 @@ AC_SUBST(FFMPEG_LIBDIR) AC_SUBST(USE_STATIC_FFMPEG) AC_SUBST(GNUTLS_ALL_LIBS) AC_SUBST(VORBISENC_ALL_LIBS) +AC_SUBST(DCADEC_ALL_LIBS) AC_SUBST(USE_TOUCH_SKIN) AC_SUBST(USE_LIBAV_HACKS) AC_SUBST(PYTHON_VERSION) |