[libconfig-autoconf-perl] 10/18: Imported Upstream version 0.308

Peter Pentchev roam at ringlet.net
Mon Feb 16 12:43:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

roam-guest pushed a commit to branch master
in repository libconfig-autoconf-perl.

commit 55fe81de0c36298b6e7e631a879229b43faf05f7
Author: Peter Pentchev <roam at ringlet.net>
Date:   Fri Feb 13 12:29:05 2015 +0200

    Imported Upstream version 0.308
---
 Changes                | 4 ++++
 META.json              | 2 +-
 META.yml               | 2 +-
 lib/Config/AutoConf.pm | 4 ++--
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/Changes b/Changes
index c07ca68..57eb0fd 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for Config-AutoConf
 
+0.308	2014-12-26
+    - deal with "no C compiler available" properly
+      (see RT#101121)
+
 0.307	2014-12-14
     - no Changes since 0.306_002
 
diff --git a/META.json b/META.json
index abf9fcd..bbe366a 100644
--- a/META.json
+++ b/META.json
@@ -83,5 +83,5 @@
          "web" : "https://github.com/ambs/Config-AutoConf"
       }
    },
-   "version" : "0.307"
+   "version" : "0.308"
 }
diff --git a/META.yml b/META.yml
index db74aa9..2780e58 100644
--- a/META.yml
+++ b/META.yml
@@ -41,4 +41,4 @@ resources:
   homepage: https://metacpan.org/release/Config-AutoConf
   license: http://dev.perl.org/licenses/
   repository: https://github.com/ambs/Config-AutoConf
-version: '0.307'
+version: '0.308'
diff --git a/lib/Config/AutoConf.pm b/lib/Config/AutoConf.pm
index bc4d85e..0504c28 100644
--- a/lib/Config/AutoConf.pm
+++ b/lib/Config/AutoConf.pm
@@ -92,7 +92,7 @@ Config::AutoConf - A module to implement some of AutoConf macros in pure perl.
 
 =cut
 
-our $VERSION = '0.307';
+our $VERSION = '0.308';
 $VERSION = eval $VERSION;
 
 =head1 ABSTRACT
@@ -3247,7 +3247,7 @@ sub check_produce_xs_build
     scalar @_ > 1 and ref $_[-1] eq "HASH" and $options = pop @_;
     my $self = shift->_get_instance;
     $self->check_pureperl_required() and return _on_return_callback_helper( 0, $options, "action_on_false" );
-    $self->check_valid_compilers( $_[0] || [qw(C)] ) or return _on_return_callback_helper( 0, $options, "action_on_false" );
+    eval { $self->check_valid_compilers( $_[0] || [qw(C)] ) } or return _on_return_callback_helper( 0, $options, "action_on_false" );
     # XXX necessary check for $Config{useshrlib}? (need to dicuss with eg. TuX, 99% likely return 0)
     $self->check_compile_perlapi_or_die();
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-autoconf-perl.git



More information about the Pkg-perl-cvs-commits mailing list