changeset 23110:1fdb9b3d5d1e

Clean up static libavcodec check, just checking for a file is enough.
author diego
date Thu, 26 Apr 2007 12:34:37 +0000
parents d01ab20fd7f4
children 83bc9aff4a4a
files configure
diffstat 1 files changed, 0 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Apr 26 12:30:34 2007 +0000
+++ b/configure	Thu Apr 26 12:34:37 2007 +0000
@@ -6187,27 +6187,8 @@
   # Note: static linking is preferred to dynamic linking
   _libavcodec_a=no
   if test -d libavcodec && test -f libavcodec/utils.c ; then
-    _res_comment="old ffmpeg version, use CVS !"
-    if grep avcodec_find_encoder_by_name libavcodec/utils.c > /dev/null 2>&1 ; then
-      # check if libavutil is a required
-      cat > $TMPC << EOF
-#include "libavcodec/avcodec.h"
-#if LIBAVCODEC_BUILD >= 3211265
-#error We need libavutil!
-#endif
-int main(void) { return 0; }
-EOF
-      if cc_check -I. -I./libavutil; then
-        _libavutil_required="no"
-      else
-        _libavutil_required="yes"
-      fi
-      _res_comment="libavutil availability does not fit libavcodec version"
-      if test "$_libavutil_required" = "$_libavutil_a"; then
         _libavcodec_a="yes"
         _res_comment="static"
-      fi
-    fi
   fi
 elif test "$_libavcodec_so" = auto ; then
   _libavcodec_so=no