Mercurial > mplayer.hg
comparison configure @ 23111:83bc9aff4a4a
Remove redundant comments.
author | diego |
---|---|
date | Thu, 26 Apr 2007 12:35:04 +0000 |
parents | 1fdb9b3d5d1e |
children | 3f8ec638b3a7 |
comparison
equal
deleted
inserted
replaced
23110:1fdb9b3d5d1e | 23111:83bc9aff4a4a |
---|---|
6182 fi | 6182 fi |
6183 echores "$_libavutil" | 6183 echores "$_libavutil" |
6184 | 6184 |
6185 echocheck "FFmpeg libavcodec" | 6185 echocheck "FFmpeg libavcodec" |
6186 if test "$_libavcodec_a" = auto ; then | 6186 if test "$_libavcodec_a" = auto ; then |
6187 # Note: static linking is preferred to dynamic linking | |
6188 _libavcodec_a=no | 6187 _libavcodec_a=no |
6189 if test -d libavcodec && test -f libavcodec/utils.c ; then | 6188 if test -d libavcodec && test -f libavcodec/utils.c ; then |
6190 _libavcodec_a="yes" | 6189 _libavcodec_a="yes" |
6191 _res_comment="static" | 6190 _res_comment="static" |
6192 fi | 6191 fi |
6193 elif test "$_libavcodec_so" = auto ; then | 6192 elif test "$_libavcodec_so" = auto ; then |
6194 _libavcodec_so=no | 6193 _libavcodec_so=no |
6195 _res_comment="libavcodec.so is discouraged over static libavcodec" | 6194 _res_comment="libavcodec.so is discouraged over static libavcodec" |
6196 # FIXME : check for avcodec_find_encoder_by_name() for mencoder | |
6197 cat > $TMPC << EOF | 6195 cat > $TMPC << EOF |
6198 #include <ffmpeg/avcodec.h> | 6196 #include <ffmpeg/avcodec.h> |
6199 int main(void) { avcodec_find_encoder_by_name(""); return 0; } | 6197 int main(void) { avcodec_find_encoder_by_name(""); return 0; } |
6200 EOF | 6198 EOF |
6201 if $_pkg_config --exists libavcodec ; then | 6199 if $_pkg_config --exists libavcodec ; then |
6213 test "$_libavcodec_a" = yes || test "$_libavcodec_so" = yes && _libavcodec=yes | 6211 test "$_libavcodec_a" = yes || test "$_libavcodec_so" = yes && _libavcodec=yes |
6214 echores "$_libavcodec" | 6212 echores "$_libavcodec" |
6215 | 6213 |
6216 echocheck "FFmpeg libavformat" | 6214 echocheck "FFmpeg libavformat" |
6217 if test "$_libavformat_a" = auto ; then | 6215 if test "$_libavformat_a" = auto ; then |
6218 # Note: static linking is preferred to dynamic linking | |
6219 _libavformat_a=no | 6216 _libavformat_a=no |
6220 if test -d libavformat && test -f libavformat/utils.c ; then | 6217 if test -d libavformat && test -f libavformat/utils.c ; then |
6221 _libavformat_a=yes | 6218 _libavformat_a=yes |
6222 _res_comment="static" | 6219 _res_comment="static" |
6223 fi | 6220 fi |