[PATCH] Add gcc predefined macros to $Config{cppsymbols} on kFreeBSD.

Niko Tyni ntyni at debian.org
Sun Jun 14 20:29:54 UTC 2009


This is needed at least by h2ph, otherwise the generated .ph files
choke on missing __LONG_MAX__ and similar definitions.
---
 Configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Configure b/Configure
index 42d9797..9a88278 100755
--- a/Configure
+++ b/Configure
@@ -20767,7 +20767,7 @@ $eunicefix Cppsym.try
 ./Cppsym < Cppsym.know > Cppsym.true
 : Add in any linux cpp "predefined macros":
 case "$osname::$gccversion" in
-  *linux*::*.*)
+  *linux*::*.*|*gnukfreebsd*::*.*)
     tHdrH=_tmpHdr
     rm -f $tHdrH'.h' $tHdrH
     touch $tHdrH'.h'
-- 
1.5.6.5


--h31gzZEtNLTqOjlF--






More information about the Perl-maintainers mailing list