Randal L. Schwartz [Fri, 2 Nov 2001 09:33:34 +0000 (01:33 -0800)]
Message-ID: <m1wv193wnl.fsf@halfdome.holdit.com>
(two of the changes)
Better coexistence with extensions.
p4raw-id: //depot/perl@12816
} elsif ($Config{gccversion} ne ''
# OpenSTEP has gcc 2.7.2.1 which recognizes but
# doesn't implement the -dM flag.
- && $^O ne 'openstep' && $^O ne 'next'
+ && $^O ne 'openstep' && $^O ne 'next' && $^O ne 'darwin'
) {
# With the -dM option, gcc outputs every #define it finds
unless(open(FH,"$Config{cc} -E -dM $Config{cppflags} $file |")) {
#
ccflags="${ccflags} -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN"
-# cpp-precomp is problematic.
-cppflags='-traditional-cpp';
+# cppflags='-traditional-cpp';
+# avoid Apple's cpp precompiler, better for extensions
+cppflags="${cppflags} -no-cpp-precomp"
# Shared library extension is .dylib.
# Bundle extension is .bundle.