# HG changeset patch # User diego # Date 1177590412 0 # Node ID 7c60ea3e4902583164ce3d4d9b4ccfd8b58b0d76 # Parent 18b824724eeaec2ce7da049fa9b28dcf8ff7a74b cosmetics: Fix indentation, merge some lines in the FFmpeg checks. diff -r 18b824724eea -r 7c60ea3e4902 configure --- 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 -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 #include - 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"