diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-05-02 00:23:05 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-05-02 00:23:05 +0000 |
commit | e9014798f4f634151d92887db69bde2b6ef69071 (patch) | |
tree | b73d2698aa0181923904a40b146d4a910f4997ea | |
parent | 3b416f4149e31f8665cf9074e631ca0d2529406e (diff) | |
download | perl-e9014798f4f634151d92887db69bde2b6ef69071.tar.gz |
Fix for RT #7916: perl 5.6.1 with Intel's icc on RedHat
Linux 7.2. The original fix, change #13053, added a check
for $Config{gccversion} which is now populated by newer
Intel compilers. This additional change checks to see
if Intel is in $Config{gccversion}. If it is, its not
a gcc.
p4raw-link: @13053 on //depot/perl: 022394cfaaa8ec20e603e5da621b1778fd79e4ad
p4raw-id: //depot/perl@28043
-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 ac38f39af1..97e0466cb0 100644 --- a/ext/Errno/Errno_pm.PL +++ b/ext/Errno/Errno_pm.PL @@ -141,7 +141,9 @@ sub get_files { $file{$1} = 1; } } elsif ($^O eq 'linux' && - $Config{gccversion} ne '' # might be using, say, Intel's icc + ($Config{gccversion} ne '' && + $Config{gccversion} !~ /intel/i + # might be using, say, Intel's icc ) { # Some Linuxes have weird errno.hs which generate # no #file or #line directives |