X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure;h=aff6ca40c44022a524679e82776f249b0481d93b;hb=9a60735fa1b77233c5ad57ccd730dd14bc8e757c;hp=dc968bcfd836deac7ba4c24e93defb2bb914a1d2;hpb=349a26f50901732a0690d76487319c9d0df56ae0;p=ffmpeg diff --git a/configure b/configure index dc968bcfd83..aff6ca40c44 100755 --- a/configure +++ b/configure @@ -1461,8 +1461,11 @@ COMPONENT_LIST=" EXAMPLE_LIST=" avio_dir_cmd_example avio_reading_example - decoding_encoding_example + decode_audio_example + decode_video_example demuxing_decoding_example + encode_audio_example + encode_video_example extract_mvs_example filter_audio_example filtering_audio_example @@ -3167,8 +3170,11 @@ scale_vaapi_filter_deps="vaapi VAProcPipelineParameterBuffer" # examples avio_dir_cmd_deps="avformat avutil" avio_reading_deps="avformat avcodec avutil" -decoding_encoding_example_deps="avcodec avformat avutil" +decode_audio_example_deps="avcodec avutil" +decode_video_example_deps="avcodec avutil" demuxing_decoding_example_deps="avcodec avformat avutil" +encode_audio_example_deps="avcodec avutil" +encode_video_example_deps="avcodec avutil" extract_mvs_example_deps="avcodec avformat avutil" filter_audio_example_deps="avfilter avutil" filtering_audio_example_deps="avfilter avcodec avformat avutil" @@ -4104,7 +4110,7 @@ probe_cc(){ _type=lld-link # The link.exe mode doesn't have a switch for getting the version, # but we can force it back to gnu mode and get the version from there. - _ident=$($_cc -flavor gnu --version) + _ident=$($_cc -flavor gnu --version 2>/dev/null) _ld_o='-out:$@' _flags_filter=msvc_flags _ld_lib='lib%.a' @@ -4649,7 +4655,7 @@ fi add_cppflags -D_ISOC99_SOURCE add_cxxflags -D__STDC_CONSTANT_MACROS -add_cxxflags -std=c++98 +check_cxxflags -std=c++11 || check_cxxflags -std=c++0x # some compilers silently accept -std=c11, so we also need to check that the # version macro is defined properly