[FFmpeg-cvslog] configure: fix configure when using gcc

Jean-Yves Avenard git at videolan.org
Sun Oct 11 19:25:39 CEST 2015


ffmpeg | branch: master | Jean-Yves Avenard <jyavenard at mythtv.org> | Sun Oct 11 09:37:42 2015 -0400| [f05ff057ff4112bd62dededcc630b1148e079650] | committer: Ganesh Ajjanagadde

configure: fix configure when using gcc

Fixes Ticket4922.

Commit 060102389e572abb2beaed3b9f5e1036aeea43f1 broke configure, since
the inversion ! was missed while converting the grep to a case
statement.

Reviewed-by: Nicolas George <george at nsup.org>
Reviewed-by: Timothy Gu <timothygu99 at gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>

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

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

diff --git a/configure b/configure
index 3d9803a..7e55e92 100755
--- a/configure
+++ b/configure
@@ -3621,7 +3621,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*) _depflags='-MMD -MF $(@:.o=.d) -MT $@' ;;
+            2*) ;;
+            *) _depflags='-MMD -MF $(@:.o=.d) -MT $@' ;;
         esac
         if [ "$first" = true ]; then
             case $gcc_basever in



More information about the ffmpeg-cvslog mailing list