Mercurial > mplayer.hg
changeset 23108:7c60ea3e4902
cosmetics: Fix indentation, merge some lines in the FFmpeg checks.
author | diego |
---|---|
date | Thu, 26 Apr 2007 12:26:52 +0000 |
parents | 18b824724eea |
children | d01ab20fd7f4 |
files | configure |
diffstat | 1 files changed, 7 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu Apr 26 12:25:27 2007 +0000 +++ b/configure Thu Apr 26 12:26:52 2007 +0000 @@ -6197,7 +6197,6 @@ #endif int main(void) { return 0; } EOF - if cc_check -I. -I./libavutil; then _libavutil_required="no" else @@ -6216,9 +6215,7 @@ # FIXME : check for avcodec_find_encoder_by_name() for mencoder cat > $TMPC << EOF #include <ffmpeg/avcodec.h> -int main(void) { - avcodec_find_encoder_by_name(""); - return 0; } +int main(void) { avcodec_find_encoder_by_name(""); return 0; } EOF if $_pkg_config --exists libavcodec ; then _inc_libavcodec=`$_pkg_config --cflags libavcodec` @@ -6267,20 +6264,18 @@ echocheck "FFmpeg libpostproc" if test "$_libpostproc_a" = auto ; then -_libpostproc_a=no -if test -d libpostproc && test -f libpostproc/postprocess.h ; then - _libpostproc_a='yes' - _res_comment="static" -fi + _libpostproc_a=no + if test -d libpostproc && test -f libpostproc/postprocess.h ; then + _libpostproc_a='yes' + _res_comment="static" + fi elif test "$_libpostproc_so" = auto ; then _libpostproc_so=no cat > $TMPC << EOF #define USE_LIBPOSTPROC 1 #include <inttypes.h> #include <postproc/postprocess.h> - int main(void) { - pp_get_mode_by_name_and_quality("de", 0); - return 0;} + int main(void) { pp_get_mode_by_name_and_quality("de", 0); return 0; } EOF if cc_check -lpostproc $_ld_lm ; then _ld_extra="$_ld_extra -lpostproc"