This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Teach Configure that icc is not gcc
authorSteve Peters <steve@fisharerojo.org>
Tue, 6 Jun 2006 10:33:12 +0000 (05:33 -0500)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 6 Jun 2006 18:32:16 +0000 (18:32 +0000)
Message-ID: <20060606153312.GA5542@fisharerojo.org>

p4raw-id: //depot/metaconfig@28361

U/perl/gccvers.U

index 21375be..6115b22 100644 (file)
@@ -45,7 +45,7 @@ echo "Checking for GNU cc in disguise and/or its version number..." >&4
 $cat >try.c <<EOM
 #include <stdio.h>
 int main() {
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
 #ifdef __VERSION__
        printf("%s\n", __VERSION__);
 #else