Mercurial > mplayer.hg
comparison configure @ 3888:25c134901aa2
more recent libavcodec check
author | arpi |
---|---|
date | Sun, 30 Dec 2001 04:03:27 +0000 |
parents | 38718a1c0322 |
children | 38ddef4a863b |
comparison
equal
deleted
inserted
replaced
3887:2bafb3aaae46 | 3888:25c134901aa2 |
---|---|
2329 | 2329 |
2330 echocheck "FFmpeg libavcodec (static)" | 2330 echocheck "FFmpeg libavcodec (static)" |
2331 if test "$_libavcodec" = auto ; then | 2331 if test "$_libavcodec" = auto ; then |
2332 # Note: static linking is preferred to dynamic linking | 2332 # Note: static linking is preferred to dynamic linking |
2333 _libavcodec=no | 2333 _libavcodec=no |
2334 if test -d libavcodec && test -f libavcodec/avcodec.h ; then | 2334 if test -d libavcodec && test -f libavcodec/utils.c ; then |
2335 if grep MBC libavcodec/avcodec.h > /dev/null 2>&1 ; then | 2335 if grep avcodec_find_encoder_by_name libavcodec/utils.c > /dev/null 2>&1 ; then |
2336 _libavcodec=yes | 2336 _libavcodec=yes |
2337 echores "yes" | 2337 echores "yes" |
2338 else | 2338 else |
2339 echores "no: old ffmpeg version, use CVS !" | 2339 echores "no: old ffmpeg version, use CVS !" |
2340 fi | 2340 fi |