a739490d3bb4918c9b68715f5819f17ee6740cd5
9 unless ($ENV{PERL_CORE
}) {
10 require Test
::NoWarnings
;
11 Test
::NoWarnings
->import ();
20 ok
(my $conf = Config
::Perl
::V
::plv2hash
(<DATA
>), "Read perl -v block");
21 for (qw( build environment config inc )) {
22 ok
(exists $conf->{build
}, "Has build entry");
24 is
($conf->{build
}{osname
}, $conf->{config
}{osname
}, "osname");
25 is
($conf->{build
}{stamp
}, 0, "No build time known");
26 is
($conf->{config
}{version
}, "5.10.0", "reconstructed \%Config{version}");
29 Summary of
my perl5
(revision
5 version
10 subversion
0) configuration
:
31 osname
=linux
, osvers
=2.6.22.13-0.3-default, archname
=i686
-linux
-64int
32 uname
='linux nb09 2.6.22.13-0.3-default #1 smp 20071119 15:02:58 utc i686 i686 i386 gnulinux '
33 config_args
='-Duse64bitint -des'
34 hint
=recommended
, useposix
=true
, d_sigaction
=define
35 useithreads
=undef, usemultiplicity
=undef
36 useperlio
=define
, d_sfio
=undef, uselargefiles
=define
, usesocks
=undef
37 use64bitint
=define
, use64bitall
=undef, uselongdouble
=undef
38 usemymalloc
=n
, bincompat5005
=undef
40 cc
='cc', ccflags
='-fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
42 cppflags
='-fno-strict-aliasing -pipe -I/pro/local/include'
43 ccversion
='', gccversion
='4.2.1 (SUSE Linux)', gccosandvers
=''
44 intsize
=4, longsize
=4, ptrsize
=4, doublesize
=8, byteorder
=12345678
45 d_longlong
=define
, longlongsize
=8, d_longdbl
=define
, longdblsize
=12
46 ivtype
='long long', ivsize
=8, nvtype
='double', nvsize
=8, Off_t
='off_t', lseeksize
=8
47 alignbytes
=4, prototype=define
49 ld
='cc', ldflags
='-L/pro/local/lib'
50 libpth
=/pro/local/lib /lib
/usr/lib
/usr/local/lib
51 libs
=-lnsl
-lgdbm
-ldb
-ldl
-lm
-lcrypt
-lutil
-lc
52 perllibs
=-lnsl
-ldl
-lm
-lcrypt
-lutil
-lc
53 libc
=/lib/libc
-2.6.1.so
, so
=so
, useshrplib
=false
, libperl
=libperl
.a
54 gnulibc_version
='2.6.1'
56 dlsrc
=dl_dlopen
.xs
, dlext
=so
, d_dlsymun
=undef, ccdlflags
='-Wl,-E'
57 cccdlflags
='-fPIC', lddlflags
='-shared -O2 -L/pro/local/lib'