summaryrefslogtreecommitdiff
path: root/cpan
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2015-11-18 09:19:08 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2015-11-18 09:19:08 +0100
commit9a4196f3c96c8610228c991d38da5e0e1a517797 (patch)
tree6af55e42003c821281b101c631ef245a65d145a4 /cpan
parentfb034ed92b97457964b9c5566ffde039c0f0721e (diff)
downloadperl-9a4196f3c96c8610228c991d38da5e0e1a517797.tar.gz
Update Config::Perl::V to 0.25
Diffstat (limited to 'cpan')
-rw-r--r--cpan/Config-Perl-V/V.pm4
-rw-r--r--cpan/Config-Perl-V/t/20_plv56.t2
-rw-r--r--cpan/Config-Perl-V/t/21_plv58.t2
-rw-r--r--cpan/Config-Perl-V/t/22_plv510.t2
-rw-r--r--cpan/Config-Perl-V/t/23_plv512.t2
-rw-r--r--cpan/Config-Perl-V/t/24_plv514.t2
-rw-r--r--cpan/Config-Perl-V/t/25_plv516.t2
-rw-r--r--cpan/Config-Perl-V/t/25_plv5162.t2
-rw-r--r--cpan/Config-Perl-V/t/26_plv518.t2
-rw-r--r--cpan/Config-Perl-V/t/26_plv5182.t2
-rw-r--r--cpan/Config-Perl-V/t/27_plv5200.t2
-rw-r--r--cpan/Config-Perl-V/t/27_plv5202.t122
-rw-r--r--cpan/Config-Perl-V/t/28_plv5220.t122
-rw-r--r--cpan/Config-Perl-V/t/28_plv52201w.t122
14 files changed, 379 insertions, 11 deletions
diff --git a/cpan/Config-Perl-V/V.pm b/cpan/Config-Perl-V/V.pm
index def79bb220..79999fb43a 100644
--- a/cpan/Config-Perl-V/V.pm
+++ b/cpan/Config-Perl-V/V.pm
@@ -8,7 +8,7 @@ use warnings;
use Config;
use Exporter;
use vars qw($VERSION @ISA @EXPORT_OK %EXPORT_TAGS);
-$VERSION = "0.24";
+$VERSION = "0.25";
@ISA = ("Exporter");
@EXPORT_OK = qw( plv2hash summary myconfig signature );
%EXPORT_TAGS = (
@@ -33,6 +33,7 @@ my %BTD = map { $_ => 0 } qw(
NO_MATHOMS
NO_TAINT_SUPPORT
PERL_BOOL_AS_CHAR
+ PERL_COPY_ON_WRITE
PERL_DISABLE_PMC
PERL_DONT_CREATE_GVSV
PERL_EXTERNAL_GLOB
@@ -66,6 +67,7 @@ my %BTD = map { $_ => 0 } qw(
USE_HASH_SEED_EXPLICIT
USE_LOCALE
USE_LOCALE_CTYPE
+ USE_NO_REGISTRY
USE_PERL_ATOF
USE_SITECUSTOMIZE
diff --git a/cpan/Config-Perl-V/t/20_plv56.t b/cpan/Config-Perl-V/t/20_plv56.t
index 0751fa13fb..b0cc5ef9f8 100644
--- a/cpan/Config-Perl-V/t/20_plv56.t
+++ b/cpan/Config-Perl-V/t/20_plv56.t
@@ -5,7 +5,7 @@ use warnings;
BEGIN {
use Test::More;
- my $tests = 93;
+ my $tests = 95;
unless ($ENV{PERL_CORE}) {
require Test::NoWarnings;
Test::NoWarnings->import ();
diff --git a/cpan/Config-Perl-V/t/21_plv58.t b/cpan/Config-Perl-V/t/21_plv58.t
index 090f9a6547..1918b583a1 100644
--- a/cpan/Config-Perl-V/t/21_plv58.t
+++ b/cpan/Config-Perl-V/t/21_plv58.t
@@ -5,7 +5,7 @@ use warnings;
BEGIN {
use Test::More;
- my $tests = 93;
+ my $tests = 95;
unless ($ENV{PERL_CORE}) {
require Test::NoWarnings;
Test::NoWarnings->import ();
diff --git a/cpan/Config-Perl-V/t/22_plv510.t b/cpan/Config-Perl-V/t/22_plv510.t
index 57dd26797c..61792580a8 100644
--- a/cpan/Config-Perl-V/t/22_plv510.t
+++ b/cpan/Config-Perl-V/t/22_plv510.t
@@ -5,7 +5,7 @@ use warnings;
BEGIN {
use Test::More;
- my $tests = 92;
+ my $tests = 94;
unless ($ENV{PERL_CORE}) {
require Test::NoWarnings;
Test::NoWarnings->import ();
diff --git a/cpan/Config-Perl-V/t/23_plv512.t b/cpan/Config-Perl-V/t/23_plv512.t
index f2e172da6f..6c9fe305ec 100644
--- a/cpan/Config-Perl-V/t/23_plv512.t
+++ b/cpan/Config-Perl-V/t/23_plv512.t
@@ -5,7 +5,7 @@ use warnings;
BEGIN {
use Test::More;
- my $tests = 94;
+ my $tests = 96;
unless ($ENV{PERL_CORE}) {
require Test::NoWarnings;
Test::NoWarnings->import ();
diff --git a/cpan/Config-Perl-V/t/24_plv514.t b/cpan/Config-Perl-V/t/24_plv514.t
index 6234330c55..e6a2f0deb2 100644
--- a/cpan/Config-Perl-V/t/24_plv514.t
+++ b/cpan/Config-Perl-V/t/24_plv514.t
@@ -5,7 +5,7 @@ use warnings;
BEGIN {
use Test::More;
- my $tests = 94;
+ my $tests = 96;
unless ($ENV{PERL_CORE}) {
require Test::NoWarnings;
Test::NoWarnings->import ();
diff --git a/cpan/Config-Perl-V/t/25_plv516.t b/cpan/Config-Perl-V/t/25_plv516.t
index 125f70e7de..aad865ca53 100644
--- a/cpan/Config-Perl-V/t/25_plv516.t
+++ b/cpan/Config-Perl-V/t/25_plv516.t
@@ -5,7 +5,7 @@ use warnings;
BEGIN {
use Test::More;
- my $tests = 93;
+ my $tests = 95;
unless ($ENV{PERL_CORE}) {
require Test::NoWarnings;
Test::NoWarnings->import ();
diff --git a/cpan/Config-Perl-V/t/25_plv5162.t b/cpan/Config-Perl-V/t/25_plv5162.t
index af895420ba..1e1b7efd52 100644
--- a/cpan/Config-Perl-V/t/25_plv5162.t
+++ b/cpan/Config-Perl-V/t/25_plv5162.t
@@ -5,7 +5,7 @@ use warnings;
BEGIN {
use Test::More;
- my $tests = 151;
+ my $tests = 153;
unless ($ENV{PERL_CORE}) {
require Test::NoWarnings;
Test::NoWarnings->import ();
diff --git a/cpan/Config-Perl-V/t/26_plv518.t b/cpan/Config-Perl-V/t/26_plv518.t
index c2ebe293c6..ffd4a3655a 100644
--- a/cpan/Config-Perl-V/t/26_plv518.t
+++ b/cpan/Config-Perl-V/t/26_plv518.t
@@ -5,7 +5,7 @@ use warnings;
BEGIN {
use Test::More;
- my $tests = 112;
+ my $tests = 114;
unless ($ENV{PERL_CORE}) {
require Test::NoWarnings;
Test::NoWarnings->import ();
diff --git a/cpan/Config-Perl-V/t/26_plv5182.t b/cpan/Config-Perl-V/t/26_plv5182.t
index bf2cc66c4c..b89c85cc30 100644
--- a/cpan/Config-Perl-V/t/26_plv5182.t
+++ b/cpan/Config-Perl-V/t/26_plv5182.t
@@ -5,7 +5,7 @@ use warnings;
BEGIN {
use Test::More;
- my $tests = 112;
+ my $tests = 114;
unless ($ENV{PERL_CORE}) {
require Test::NoWarnings;
Test::NoWarnings->import ();
diff --git a/cpan/Config-Perl-V/t/27_plv5200.t b/cpan/Config-Perl-V/t/27_plv5200.t
index a6e572c532..fd205ddc51 100644
--- a/cpan/Config-Perl-V/t/27_plv5200.t
+++ b/cpan/Config-Perl-V/t/27_plv5200.t
@@ -5,7 +5,7 @@ use warnings;
BEGIN {
use Test::More;
- my $tests = 112;
+ my $tests = 114;
unless ($ENV{PERL_CORE}) {
require Test::NoWarnings;
Test::NoWarnings->import ();
diff --git a/cpan/Config-Perl-V/t/27_plv5202.t b/cpan/Config-Perl-V/t/27_plv5202.t
new file mode 100644
index 0000000000..b546c206c0
--- /dev/null
+++ b/cpan/Config-Perl-V/t/27_plv5202.t
@@ -0,0 +1,122 @@
+#!/pro/bin/perl
+
+use strict;
+use warnings;
+
+BEGIN {
+ use Test::More;
+ my $tests = 115;
+ unless ($ENV{PERL_CORE}) {
+ require Test::NoWarnings;
+ Test::NoWarnings->import ();
+ $tests++;
+ }
+
+ plan tests => $tests;
+ }
+
+use Config::Perl::V;
+
+ok (my $conf = Config::Perl::V::plv2hash (<DATA>), "Read perl -v block");
+ok (exists $conf->{$_}, "Has $_ entry") for qw( build environment config inc );
+
+is ($conf->{build}{osname}, $conf->{config}{osname}, "osname");
+is ($conf->{build}{stamp}, "Apr 19 2015 12:35:54", "Build time");
+is ($conf->{config}{version}, "5.20.2", "reconstructed \$Config{version}");
+
+my $opt = Config::Perl::V::plv2hash ("")->{build}{options};
+foreach my $o (sort qw(
+ HAS_TIMES MULTIPLICITY PERLIO_LAYERS
+ PERL_DONT_CREATE_GVSV
+ PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
+ PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
+ PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
+ PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
+ USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
+ USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LONG_DOUBLE
+ USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
+ )) {
+ is ($conf->{build}{options}{$o}, 1, "Runtime option $o set");
+ delete $opt->{$o};
+ }
+foreach my $o (sort keys %$opt) {
+ is ($conf->{build}{options}{$o}, 0, "Runtime option $o unset");
+ }
+
+is_deeply ($conf->{build}{patches}, [], "No local patches");
+
+my %check = (
+ alignbytes => 16,
+ api_version => 20,
+ bincompat5005 => "undef",
+ byteorder => 12345678,
+ cc => "cc",
+ cccdlflags => "-fPIC",
+ ccdlflags => "-Wl,-E",
+ config_args => "-Dusedevel -Duse64bitall -Dusethreads -Duseithreads -Duselongdouble -des",
+ gccversion => "4.8.3 20140627 [gcc-4_8-branch revision 212064]",
+ gnulibc_version => "2.19",
+ ivsize => 8,
+ ivtype => "long",
+ ld => "cc",
+ lddlflags => "-shared -O2 -L/pro/local/lib -fstack-protector",
+ ldflags => "-L/pro/local/lib -fstack-protector",
+ libc => "libc-2.19.so",
+ lseektype => "off_t",
+ osvers => "3.16.7-13-desktop",
+ use64bitall => "define",
+ use64bitint => "define",
+ );
+is ($conf->{config}{$_}, $check{$_}, "reconstructed \$Config{$_}") for sort keys %check;
+
+__END__
+Summary of my perl5 (revision 5 version 20 subversion 2) configuration:
+
+ Platform:
+ osname=linux, osvers=3.16.7-13-desktop, archname=x86_64-linux-thread-multi-ld
+ uname='linux lx09 3.16.7-13-desktop #1 smp preempt wed mar 18 17:31:15 utc 2015 (ba2afab) x86_64 x86_64 x86_64 gnulinux '
+ config_args='-Dusedevel -Duse64bitall -Dusethreads -Duseithreads -Duselongdouble -des'
+ hint=recommended, useposix=true, d_sigaction=define
+ useithreads=define, usemultiplicity=define
+ use64bitint=define, use64bitall=define, uselongdouble=define
+ usemymalloc=n, bincompat5005=undef
+ Compiler:
+ cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
+ optimize='-O2',
+ cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/pro/local/include'
+ ccversion='', gccversion='4.8.3 20140627 [gcc-4_8-branch revision 212064]', gccosandvers=''
+ intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
+ d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
+ ivtype='long', ivsize=8, nvtype='long double', nvsize=16, Off_t='off_t', lseeksize=8
+ alignbytes=16, prototype=define
+ Linker and Libraries:
+ ld='cc', ldflags ='-L/pro/local/lib -fstack-protector'
+ libpth=/usr/local/lib /usr/lib64/gcc/x86_64-suse-linux/4.8/include-fixed /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/lib /usr/lib /pro/local/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64 /usr/local/lib64
+ libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
+ perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
+ libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a
+ gnulibc_version='2.19'
+ Dynamic Linking:
+ dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
+ cccdlflags='-fPIC', lddlflags='-shared -O2 -L/pro/local/lib -fstack-protector'
+
+
+Characteristics of this binary (from libperl):
+ Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
+ PERL_DONT_CREATE_GVSV
+ PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
+ PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
+ PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
+ PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT
+ USE_ITHREADS USE_LARGE_FILES USE_LOCALE
+ USE_LOCALE_COLLATE USE_LOCALE_CTYPE
+ USE_LOCALE_NUMERIC USE_LONG_DOUBLE USE_PERLIO
+ USE_PERL_ATOF USE_REENTRANT_API
+ Built under linux
+ Compiled at Apr 19 2015 12:35:54
+ @INC:
+ /pro/lib/perl5/site_perl/5.20.2/x86_64-linux-thread-multi-ld
+ /pro/lib/perl5/site_perl/5.20.2
+ /pro/lib/perl5/5.20.2/x86_64-linux-thread-multi-ld
+ /pro/lib/perl5/5.20.2
+ .
diff --git a/cpan/Config-Perl-V/t/28_plv5220.t b/cpan/Config-Perl-V/t/28_plv5220.t
new file mode 100644
index 0000000000..0752b36ce4
--- /dev/null
+++ b/cpan/Config-Perl-V/t/28_plv5220.t
@@ -0,0 +1,122 @@
+#!/pro/bin/perl
+
+use strict;
+use warnings;
+
+BEGIN {
+ use Test::More;
+ my $tests = 115;
+ unless ($ENV{PERL_CORE}) {
+ require Test::NoWarnings;
+ Test::NoWarnings->import ();
+ $tests++;
+ }
+
+ plan tests => $tests;
+ }
+
+use Config::Perl::V;
+
+ok (my $conf = Config::Perl::V::plv2hash (<DATA>), "Read perl -v block");
+ok (exists $conf->{$_}, "Has $_ entry") for qw( build environment config inc );
+
+is ($conf->{build}{osname}, $conf->{config}{osname}, "osname");
+is ($conf->{build}{stamp}, "Jun 4 2015 17:51:24", "Build time");
+is ($conf->{config}{version}, "5.22.0", "reconstructed \$Config{version}");
+
+my $opt = Config::Perl::V::plv2hash ("")->{build}{options};
+foreach my $o (sort qw(
+ HAS_TIMES MULTIPLICITY PERLIO_LAYERS
+ PERL_DONT_CREATE_GVSV
+ PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
+ PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
+ PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
+ USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
+ USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
+ USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
+ USE_LONG_DOUBLE USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
+ )) {
+ is ($conf->{build}{options}{$o}, 1, "Runtime option $o set");
+ delete $opt->{$o};
+ }
+foreach my $o (sort keys %$opt) {
+ is ($conf->{build}{options}{$o}, 0, "Runtime option $o unset");
+ }
+
+is_deeply ($conf->{build}{patches}, [], "No local patches");
+
+my %check = (
+ alignbytes => 16,
+ api_version => 22,
+ bincompat5005 => "undef",
+ byteorder => 12345678,
+ cc => "cc",
+ cccdlflags => "-fPIC",
+ ccdlflags => "-Wl,-E",
+ config_args => "-Duse64bitall -Duselongdouble -Dusethreads -Duseithreads -des",
+ gccversion => "4.8.3 20140627 [gcc-4_8-branch revision 212064]",
+ gnulibc_version => "2.19",
+ ivsize => 8,
+ ivtype => "long",
+ ld => "cc",
+ lddlflags => "-shared -O2 -L/pro/local/lib -fstack-protector",
+ ldflags => "-L/pro/local/lib -fstack-protector",
+ libc => "libc-2.19.so",
+ lseektype => "off_t",
+ osvers => "3.16.7-21-desktop",
+ use64bitall => "define",
+ use64bitint => "define",
+ );
+is ($conf->{config}{$_}, $check{$_}, "reconstructed \$Config{$_}") for sort keys %check;
+
+__END__
+Summary of my perl5 (revision 5 version 22 subversion 0) configuration:
+
+ Platform:
+ osname=linux, osvers=3.16.7-21-desktop, archname=x86_64-linux-thread-multi-ld
+ uname='linux lx09 3.16.7-21-desktop #1 smp preempt tue apr 14 07:11:37 utc 2015 (93c1539) x86_64 x86_64 x86_64 gnulinux '
+ config_args='-Duse64bitall -Duselongdouble -Dusethreads -Duseithreads -des'
+ hint=recommended, useposix=true, d_sigaction=define
+ useithreads=define, usemultiplicity=define
+ use64bitint=define, use64bitall=define, uselongdouble=define
+ usemymalloc=n, bincompat5005=undef
+ Compiler:
+ cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2',
+ optimize='-O2',
+ cppflags='-D_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/pro/local/include'
+ ccversion='', gccversion='4.8.3 20140627 [gcc-4_8-branch revision 212064]', gccosandvers=''
+ intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
+ d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
+ ivtype='long', ivsize=8, nvtype='long double', nvsize=16, Off_t='off_t', lseeksize=8
+ alignbytes=16, prototype=define
+ Linker and Libraries:
+ ld='cc', ldflags ='-L/pro/local/lib -fstack-protector'
+ libpth=/usr/local/lib /usr/lib64/gcc/x86_64-suse-linux/4.8/include-fixed /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/lib /usr/lib /pro/local/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64 /usr/local/lib64
+ libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
+ perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
+ libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a
+ gnulibc_version='2.19'
+ Dynamic Linking:
+ dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
+ cccdlflags='-fPIC', lddlflags='-shared -O2 -L/pro/local/lib -fstack-protector'
+
+
+Characteristics of this binary (from libperl):
+ Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
+ PERL_DONT_CREATE_GVSV
+ PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
+ PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
+ PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
+ USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
+ USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
+ USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
+ USE_LONG_DOUBLE USE_PERLIO USE_PERL_ATOF
+ USE_REENTRANT_API
+ Built under linux
+ Compiled at Jun 4 2015 17:51:24
+ @INC:
+ /pro/lib/perl5/site_perl/5.22.0/x86_64-linux-thread-multi-ld
+ /pro/lib/perl5/site_perl/5.22.0
+ /pro/lib/perl5/5.22.0/x86_64-linux-thread-multi-ld
+ /pro/lib/perl5/5.22.0
+ .
diff --git a/cpan/Config-Perl-V/t/28_plv52201w.t b/cpan/Config-Perl-V/t/28_plv52201w.t
new file mode 100644
index 0000000000..8519e66168
--- /dev/null
+++ b/cpan/Config-Perl-V/t/28_plv52201w.t
@@ -0,0 +1,122 @@
+#!/pro/bin/perl
+
+use strict;
+use warnings;
+
+BEGIN {
+ use Test::More;
+ my $tests = 115;
+ unless ($ENV{PERL_CORE}) {
+ require Test::NoWarnings;
+ Test::NoWarnings->import ();
+ $tests++;
+ }
+
+ plan tests => $tests;
+ }
+
+use Config::Perl::V;
+
+ok (my $conf = Config::Perl::V::plv2hash (<DATA>), "Read perl -v block");
+ok (exists $conf->{$_}, "Has $_ entry") for qw( build environment config inc );
+
+is ($conf->{build}{osname}, $conf->{config}{osname}, "osname");
+is ($conf->{build}{stamp}, "Jun 2 2015 00:03:35", "Build time");
+is ($conf->{config}{version}, "5.22.0", "reconstructed \$Config{version}");
+
+my $opt = Config::Perl::V::plv2hash ("")->{build}{options};
+foreach my $o (sort qw(
+ HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS
+ PERL_DONT_CREATE_GVSV
+ PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
+ PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP
+ PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
+ USE_64_BIT_INT USE_ITHREADS
+ USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
+ USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
+ USE_PERLIO USE_PERL_ATOF
+ )) {
+ is ($conf->{build}{options}{$o}, 1, "Runtime option $o set");
+ delete $opt->{$o};
+ }
+foreach my $o (sort keys %$opt) {
+ is ($conf->{build}{options}{$o}, 0, "Runtime option $o unset");
+ }
+
+is_deeply ($conf->{build}{patches}, [], "No local patches");
+
+my %check = (
+ alignbytes => 8,
+ api_version => 22,
+ bincompat5005 => "undef",
+ byteorder => 12345678,
+ cc => "gcc",
+ cccdlflags => "",
+ ccdlflags => "",
+ config_args => "undef",
+ gccversion => "4.9.2",
+ gnulibc_version => "",
+ ivsize => 8,
+ ivtype => "long long",
+ ld => "g++",
+ lddlflags => q{-mdll -s -L"D:\Strawberry\perl\lib\CORE" -L"D:\Strawberry\c\lib"},
+ ldflags => q{-s -L"D:\Strawberry\perl\lib\CORE" -L"D:\Strawberry\c\lib"},
+ libc => "",
+ lseektype => "long long",
+ osvers => "6.3",
+ use64bitall => "undef",
+ use64bitint => "define",
+ );
+is ($conf->{config}{$_}, $check{$_}, "reconstructed \$Config{$_}") for sort keys %check;
+
+__END__
+Summary of my perl5 (revision 5 version 22 subversion 0) configuration:
+
+ Platform:
+ osname=MSWin32, osvers=6.3, archname=MSWin32-x64-multi-thread
+ uname='Win32 strawberry-perl 5.22.0.1 #1 Mon Jun 1 23:58:39 2015 x64'
+ config_args='undef'
+ hint=recommended, useposix=true, d_sigaction=undef
+ useithreads=define, usemultiplicity=define
+ use64bitint=define, use64bitall=undef, uselongdouble=undef
+ usemymalloc=n, bincompat5005=undef
+ Compiler:
+ cc='gcc', ccflags =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields',
+ optimize='-s -O2',
+ cppflags='-DWIN32'
+ ccversion='', gccversion='4.9.2', gccosandvers=''
+ intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
+ d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8, longdblkind=3
+ ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8
+ alignbytes=8, prototype=define
+ Linker and Libraries:
+ ld='g++', ldflags ='-s -L"D:\Strawberry\perl\lib\CORE" -L"D:\Strawberry\c\lib"'
+ libpth=D:\Strawberry\c\lib D:\Strawberry\c\x86_64-w64-mingw32\lib D:\Strawberry\c\lib\gcc\x86_64-w64-mingw32\4.9.2
+ libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32
+ -lcomctl32
+ perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbc
+cp32 -lcomctl32
+ libc=, so=dll, useshrplib=true, libperl=libperl522.a
+ gnulibc_version=''
+ Dynamic Linking:
+ dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' '
+ cccdlflags=' ', lddlflags='-mdll -s -L"D:\Strawberry\perl\lib\CORE" -L"D:\Strawberry\c\lib"'
+
+
+Characteristics of this binary (from libperl):
+ Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
+ PERLIO_LAYERS PERL_DONT_CREATE_GVSV
+ PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
+ PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
+ PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE
+ PERL_PRESERVE_IVUV USE_64_BIT_INT USE_ITHREADS
+ USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
+ USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
+ USE_PERLIO USE_PERL_ATOF
+ Built under MSWin32
+ Compiled at Jun 2 2015 00:03:35
+ @INC:
+ D:/Strawberry/perl/site/lib
+ D:/Strawberry/perl/vendor/lib
+ D:/Strawberry/perl/lib
+ .