Bug#533098: [PATCH] Add gcc predefined macros to $Config{cppsymbols} on GNU/kFreeBSD.

Niko Tyni ntyni at debian.org
Mon Jun 15 09:00:41 UTC 2009


This is needed at least by h2ph, otherwise the generated .ph files
choke on missing __LONG_MAX__ and similar definitions.

http://bugs.debian.org/533098
---
 Configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Configure b/Configure
index d50fa26..1dfb374 100755
--- a/Configure
+++ b/Configure
@@ -21384,7 +21384,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







More information about the Perl-maintainers mailing list