aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-12-29 19:01:39 -0800
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-12-30 08:45:02 -0800
commit29bc293297a6edb44114818b3485f50c137d428d (patch)
treefeff09448a8edb5be4bffa3d15ce8e1a48a4960e /configure
parentb0e23f2a37b45e8fa7e9ae91301d0ef572e80181 (diff)
downloadffmpeg-29bc293297a6edb44114818b3485f50c137d428d.tar.gz
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@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index c986aba0b1..779ce77c3b 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