changeset 31507:a99971661060

libvpx does not require static libavcodec
author siretart
date Sun, 27 Jun 2010 19:55:17 +0000
parents c58656034ad2
children effd6503b84c
files configure
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jun 27 19:20:38 2010 +0000
+++ b/configure	Sun Jun 27 19:55:17 2010 +0000
@@ -7577,9 +7577,6 @@
 echocheck "libvpx"
 if test "$_libvpx_lavc" = auto; then
   _libvpx_lavc=no
-  if test "$_libavcodec_a" != yes; then
-    res_comment="libavcodec (static) is required by libvpx, sorry"
-  else
     cat > $TMPC << EOF
 #include <vpx/vpx_encoder.h>
 #include <vpx/vpx_decoder.h>
@@ -7593,7 +7590,6 @@
 }
 EOF
     cc_check -lvpx && _libvpx_lavc=yes && extra_ldflags="$extra_ldflags -lvpx"
-  fi
 fi
 if test "$_libvpx_lavc" = yes ; then
   def_libvpx_lavc='#define CONFIG_LIBVPX 1'