my
%optional
;
if
($^O eq
'MSWin32'
) {
$optional
{OBJECT} =
q[]
;
$optional
{C} = [];
$optional
{MYEXTLIB} =
q[]
;
}
else
{
eval
`cat ./check_random.inc`;
if
((
$optional
{DEFINE}) && (
$optional
{DEFINE} eq
'-DNO_COMPILER_FOUND'
)) {
$optional
{OBJECT} =
q[]
;
$optional
{C} = [];
$optional
{MYEXTLIB} =
q[]
;
delete
$optional
{DEFINE};
}
elsif
((
$optional
{DEFINE}) && (
$optional
{DEFINE} eq
'-DUNKNOWN_ENVIRONMENT'
)) {
$optional
{OBJECT} =
q[]
;
$optional
{C} = [];
$optional
{MYEXTLIB} =
q[]
;
delete
$optional
{DEFINE};
}
}
WriteMakefile(
NAME
=>
'Crypt::URandom'
,
AUTHOR
=>
'David Dick <ddick@cpan.org>'
,
VERSION_FROM
=>
'lib/Crypt/URandom.pm'
,
%optional
,
ABSTRACT_FROM
=>
'lib/Crypt/URandom.pm'
,
(
$ExtUtils::MakeMaker::VERSION
>= 6.3002
? (
'LICENSE'
=>
'perl'
)
: () ),
(
$ExtUtils::MakeMaker::VERSION
>= 6.48
? (
'MIN_PERL_VERSION'
=>
'5.006'
)
: ()
),
META_MERGE
=> {
'meta-spec'
=> {
version
=> 2 },
resources
=> {
repository
=> {
type
=>
'git'
,
},
bugtracker
=> {
},
},
},
PL_FILES
=> {},
CONFIGURE_REQUIRES
=> {
'ExtUtils::MakeMaker'
=> 0,
},
TEST_REQUIRES
=> {
'Encode'
=> 0,
'POSIX'
=> 0,
'Test::More'
=> 0,
'Test::Pod'
=> 1.14,
},
PREREQ_PM
=> {
'Exporter'
=> 0,
'Carp'
=> 1.26,
'constant'
=> 0,
'English'
=> 0,
($^O eq
'MSWin32'
) ? (
'Win32::API'
=> 0 ) : (
'FileHandle'
=> 0 ),
},
dist
=> {
COMPRESS
=>
'gzip -9f'
,
SUFFIX
=>
'gz'
, },
clean
=> {
FILES
=>
'Crypt-URandom-*'
},
);