[FFmpeg-devel] [PATCH] configure: fix configure when using gcc

Ganesh Ajjanagadde gajjanagadde at gmail.com
Sun Oct 11 17:20:10 CEST 2015


Fixes Ticket4922.

Commit 060102389e572abb2beaed3b9f5e1036aeea43f1 broke configure.

From: Jean-Yves Avenard <jyavenard at mythtv.org>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
---
 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
-- 
2.6.1



More information about the ffmpeg-devel mailing list