Skip to content

Conversation

@FGasper
Copy link

@FGasper FGasper commented Dec 28, 2016

A first stab at removing M::P::U’s dependency on XS.

This implements a fallback so that it tries Bytes::Random::Secure first, then falls back to B::R::S::Tiny.

Maybe B::R::S::Tiny should be a requirement?

I didn’t do anything about the warning when using the Pure Perl variant.


my %require_mpugmp;
my $have_gmp = check_lib(lib => 'gmp', header => 'gmp.h');
my $have_gmp = $compiler_available && check_lib(lib => 'gmp', header => 'gmp.h');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look like it got tested; changing from use Devel::CheckLib to require loses the import, so you'd need to add the package in calling the function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants