diff options
author | Charles Randall <cfriv@yahoo.com> | 2001-11-16 01:31:57 -0800 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-16 17:08:15 +0000 |
commit | 022394cfaaa8ec20e603e5da621b1778fd79e4ad (patch) | |
tree | c20eaacf79d6b9df5bb1e17196c6bb53d311bd2d /ext/Errno | |
parent | 707d6a875897233ed14e755e43663ac7efd262ad (diff) | |
download | perl-022394cfaaa8ec20e603e5da621b1778fd79e4ad.tar.gz |
Robustness against Linux using something else than gcc;
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
Diffstat (limited to 'ext/Errno')
-rw-r--r-- | ext/Errno/Errno_pm.PL | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL index 541106cbc2..efa613095a 100644 --- a/ext/Errno/Errno_pm.PL +++ b/ext/Errno/Errno_pm.PL @@ -98,7 +98,9 @@ sub get_files { } 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; |