From f05ff057ff4112bd62dededcc630b1148e079650 Mon Sep 17 00:00:00 2001 From: Jean-Yves Avenard Date: Sun, 11 Oct 2015 09:37:42 -0400 Subject: [PATCH] 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 Reviewed-by: Timothy Gu Signed-off-by: Ganesh Ajjanagadde --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 3d9803ae4e..7e55e9231f 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