From: Jarkko Hietaniemi Date: Tue, 26 Jun 2001 03:01:01 +0000 (+0000) Subject: OpenSTEP has gcc 2.7.2.1 which recognizes but does not implement X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8ff7320bf5679e744f05871cb93b15638cca1144;p=p5sagit%2Fp5-mst-13.2.git OpenSTEP has gcc 2.7.2.1 which recognizes but does not implement the -dM flag, from Daniel Ashton . p4raw-id: //depot/perl@10947 --- diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL index 575e77c..93790af 100644 --- a/ext/Errno/Errno_pm.PL +++ b/ext/Errno/Errno_pm.PL @@ -27,7 +27,11 @@ sub process_file { warn "Cannot open '$file'"; return; } - } elsif ($Config{gccversion} ne '') { + } elsif ($Config{gccversion} ne '' && + # OpenSTEP has gcc 2.7.2.1 which recognizes but + # doesn't implement the -dM flag. + $^O ne 'next4' + ) { # With the -dM option, gcc outputs every #define it finds unless(open(FH,"$Config{cc} -E -dM $Config{cppflags} $file |")) { warn "Cannot open '$file'";