From: Steve Peters Date: Tue, 2 May 2006 00:23:05 +0000 (+0000) Subject: Fix for RT #7916: perl 5.6.1 with Intel's icc on RedHat X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e9014798f4f634151d92887db69bde2b6ef69071;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL index ac38f39..97e0466 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