based on
Subject: [ID
20011116.124] perl 5.6.1 with Intel's icc on RedHat Linux 7.2
Message-Id: <
20011116173157.2322.qmail@web20904.mail.yahoo.com>
p4raw-id: //depot/perl@13053
} elsif ($Config{archname} eq 'epoc') {
# Watch out for cross compiling for EPOC (usually done on linux)
$file{'/usr/local/epoc/include/libc/sys/errno.h'} = 1;
- } elsif ($^O eq 'linux') {
+ } elsif ($^O eq 'linux' &&
+ $Config{gccversion} ne '' # might be using, say, Intel's icc
+ ) {
# Some Linuxes have weird errno.hs which generate
# no #file or #line directives
$file{'/usr/include/errno.h'} = 1;