diff --git a/Changes b/Changes index f892aa2..7594a46 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,9 @@ Revision history for Perl extension NetAddr::IP +4.026 Sat Mar 7 16:35:33 PST 2009 + make the compiler test check the environment for + CC before using Perl's default compiler + 4.025 Sat Mar 7 16:15:18 PST 2009 revised compiler test in Makefile.PL for Util v1.29 to accomodate picky Solaris "cc" diff --git a/IP.pm b/IP.pm index b6ea052..3b89a8a 100644 --- a/IP.pm +++ b/IP.pm @@ -5,7 +5,7 @@ use strict; #use diagnostics; use NetAddr::IP::Lite 1.13 qw(Zero Zeros Ones V4mask V4net); -use NetAddr::IP::Util 1.28 qw( +use NetAddr::IP::Util 1.30 qw( sub128 inet_aton inet_any2n @@ -34,7 +34,7 @@ @ISA = qw(Exporter NetAddr::IP::Lite); -$VERSION = do { sprintf " %d.%03d", (q$Revision: 4.25 $ =~ /\d+/g) }; +$VERSION = do { sprintf " %d.%03d", (q$Revision: 4.26 $ =~ /\d+/g) }; =pod diff --git a/Lite/Util/Changes b/Lite/Util/Changes index 179a6b5..2aa2ca7 100644 --- a/Lite/Util/Changes +++ b/Lite/Util/Changes @@ -1,5 +1,9 @@ Revision history for Perl extension NetAddr::IP::Util +1.30 Sat Mar 7 16:35:33 PST 2009 + make the compiler test check the environment for + CC before using Perl's default compiler + 1.29 Sat Mar 7 16:15:18 PST 2009 revised compiler test in Makefile.PL for Util v1.29 to accomodate picky Solaris "cc" diff --git a/Lite/Util/Makefile.PL b/Lite/Util/Makefile.PL index 7d5ab82..1cf53d9 100644 --- a/Lite/Util/Makefile.PL +++ b/Lite/Util/Makefile.PL @@ -189,7 +189,8 @@ return; } - my $command = qq|$Config{ccname} compile.c -o compile.output|; + my $CC = $ENV{CC} || $Config{ccname}; + my $command = qq|$CC compile.c -o compile.output|; print F <<'EOF'; int main() { return 0; } diff --git a/Lite/Util/Util.pm b/Lite/Util/Util.pm index fc01bf8..3fcd3bc 100644 --- a/Lite/Util/Util.pm +++ b/Lite/Util/Util.pm @@ -13,7 +13,7 @@ @ISA = qw(Exporter DynaLoader); -$VERSION = do { my @r = (q$Revision: 1.29 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; +$VERSION = do { my @r = (q$Revision: 1.30 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r }; @EXPORT_OK = qw( inet_aton diff --git a/META.yml b/META.yml index c196a3a..957b7a3 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: NetAddr-IP -version: 4.025 +version: 4.026 abstract: Manages IPv4 and IPv6 addresses and subnets license: ~ author: