r62308 - in /branches/upstream/libmodule-install-xsutil-perl/current: Changes META.yml lib/Module/Install/XSUtil.pm
angelabad-guest at users.alioth.debian.org
angelabad-guest at users.alioth.debian.org
Sun Sep 5 11:03:31 UTC 2010
Author: angelabad-guest
Date: Sun Sep 5 11:00:16 2010
New Revision: 62308
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=62308
Log:
[svn-upgrade] new version libmodule-install-xsutil-perl (0.27)
Modified:
branches/upstream/libmodule-install-xsutil-perl/current/Changes
branches/upstream/libmodule-install-xsutil-perl/current/META.yml
branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm
Modified: branches/upstream/libmodule-install-xsutil-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-install-xsutil-perl/current/Changes?rev=62308&op=diff
==============================================================================
--- branches/upstream/libmodule-install-xsutil-perl/current/Changes (original)
+++ branches/upstream/libmodule-install-xsutil-perl/current/Changes Sun Sep 5 11:00:16 2010
@@ -1,4 +1,7 @@
Revision history for Perl extension Module::Install::XSUtil
+
+0.27 Sun Sep 5 11:47:03 2010
+ - c99_available() should not have any side effects (reported by makamaka)
0.26 Sat Aug 7 17:47:37 2010
- Use the version of installed gcc, not $Config{gccversion} (xaicron)
Modified: branches/upstream/libmodule-install-xsutil-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-install-xsutil-perl/current/META.yml?rev=62308&op=diff
==============================================================================
--- branches/upstream/libmodule-install-xsutil-perl/current/META.yml (original)
+++ branches/upstream/libmodule-install-xsutil-perl/current/META.yml Sun Sep 5 11:00:16 2010
@@ -31,4 +31,4 @@
resources:
license: http://dev.perl.org/licenses/
repository: git://github.com/gfx/Perl-Module-Install-XSUtil.git
-version: 0.26
+version: 0.27
Modified: branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm?rev=62308&op=diff
==============================================================================
--- branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm (original)
+++ branches/upstream/libmodule-install-xsutil-perl/current/lib/Module/Install/XSUtil.pm Sun Sep 5 11:00:16 2010
@@ -2,7 +2,7 @@
use 5.005_03;
-$VERSION = '0.26';
+$VERSION = '0.27';
use Module::Install::Base;
@ISA = qw(Module::Install::Base);
@@ -180,7 +180,8 @@
sub c99_available {
my($self) = @_;
- $self->_xs_initialize();
+
+ return 0 if not $self->cc_available();
require File::Temp;
require File::Basename;
@@ -213,6 +214,8 @@
warn "This distribution requires a C99 compiler, but $Config{cc} seems not to support C99, stopped.\n";
exit;
}
+ $self->_xs_initialize();
+
return;
}
@@ -634,7 +637,7 @@
=head1 VERSION
-This document describes Module::Install::XSUtil version 0.26.
+This document describes Module::Install::XSUtil version 0.27.
=head1 SYNOPSIS
@@ -684,6 +687,10 @@
Only explicitly call if you need to do some esoteric handling when
no compiler is available (for example, when you have a pure perl alternative)
+=head2 c99_available
+
+Returns true if a C compiler is available and it supports C99 features.
+
=head2 want_xs ?$default
Returns true if the user asked for the XS version or pure perl version of the
More information about the Pkg-perl-cvs-commits
mailing list