On Mon, 25 Feb 2013, Hendrik Leppkes wrote:

On Mon, Feb 25, 2013 at 6:14 PM, Martin Storsjö <[email protected]> wrote:
On Mon, 25 Feb 2013, Diego Biurrun wrote:

---
configure |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 20951ca..ff32f1f 100755
--- a/configure
+++ b/configure
@@ -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'
--
1.7.9.5


Not sure if this is better - on windows, the compiler is called icl and not
icc. (Not sure if we currently really support that one, but I don't think
it's worth to move further away from the possibility of supporting it.)


On Windows, ICL behaves quite differently than the linux ICC. Both are
designed to mock the otherwise prevalent compiler on the platform, so
ICC mocks gcc syntax, and ICL mocks MSVC syntax, so i believe one of
the intentions is to be able to identify them separately.

Right - then this might make sense.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to