configure: Identify icc compiler with a less ambiguous pattern

This commit is contained in:
Diego Biurrun 2013-02-25 17:05:22 +01:00
parent b58b00aeca
commit b2d688ea9f
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -2364,7 +2364,7 @@ probe_cc(){
fi
_cflags_speed='-O3'
_cflags_size='-Os'
elif $_cc --version 2>/dev/null | grep -q Intel; then
elif $_cc --version 2>/dev/null | grep -q ^icc; then
_type=icc
_ident=$($_cc --version | head -n1)
_depflags='-MMD'