Commit f05ff057 authored by Jean-Yves Avenard's avatar Jean-Yves Avenard Committed by Ganesh Ajjanagadde

configure: fix configure when using gcc

Fixes Ticket4922.

Commit 06010238 broke configure, since
the inversion ! was missed while converting the grep to a case
statement.
Reviewed-by: 's avatarNicolas George <george@nsup.org>
Reviewed-by: 's avatarTimothy Gu <timothygu99@gmail.com>
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent d2bf2d09
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment