[FFmpeg-cvslog] configure: make gcc 2 detection more robust

Ganesh Ajjanagadde git at videolan.org
Wed Dec 30 17:47:48 CET 2015


ffmpeg | branch: master | Ganesh Ajjanagadde <gajjanagadde at gmail.com> | Tue Dec 29 19:01:39 2015 -0800| [29bc293297a6edb44114818b3485f50c137d428d] | committer: Ganesh Ajjanagadde

configure: make gcc 2 detection more robust

Solves an issue that will get triggered when gcc 20 rolls in.

Found-by: Hendrik Leppkes <h.leppkes at gmail.com>
Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=29bc293297a6edb44114818b3485f50c137d428d
---

 configure |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index c986aba..779ce77 100755
--- a/configure
+++ b/configure
@@ -3699,7 +3699,8 @@ probe_cc(){
         gcc_ext_ver=$(expr "$gcc_version" : ".*$gcc_pkg_ver $gcc_basever \\(.*\\)")
         _ident=$(cleanws "gcc $gcc_basever $gcc_pkg_ver $gcc_ext_ver")
         case $gcc_basever in
-            2*) ;;
+            2) ;;
+            2.*) ;;
             *) _depflags='-MMD -MF $(@:.o=.d) -MT $@' ;;
         esac
         if [ "$first" = true ]; then



More information about the ffmpeg-cvslog mailing list