Hello community,
here is the log from the commit of package perl-Config-AutoConf for openSUSE:Factory checked in at 2016-04-17 22:16:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Config-AutoConf (Old)
and /work/SRC/openSUSE:Factory/.perl-Config-AutoConf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Config-AutoConf"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Config-AutoConf/perl-Config-AutoConf.changes 2015-04-25 21:15:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Config-AutoConf.new/perl-Config-AutoConf.changes 2016-04-17 22:16:46.000000000 +0200
@@ -1,0 +2,18 @@
+Tue Apr 12 13:21:20 UTC 2016 - coolo@suse.com
+
+- updated to 0.313
+ see /usr/share/doc/packages/perl-Config-AutoConf/Changes
+
+ 0.313 2016-04-11
+ - release 0.312_001 without further changes
+
+ 0.312_001 2016-04-07
+ - fix "check_member" test (RT#113271)
+ - update Copyright notice
+ - add license files
+ - improve compile_if_else/link_if_else by proving whether object
+ or binary file (compile result) exists
+ - fix some typos and other POD quirks
+ - Update README.md from updated POD
+
+-------------------------------------------------------------------
Old:
----
Config-AutoConf-0.311.tar.gz
New:
----
Config-AutoConf-0.313.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Config-AutoConf.spec ++++++
--- /var/tmp/diff_new_pack.UEBMLK/_old 2016-04-17 22:16:47.000000000 +0200
+++ /var/tmp/diff_new_pack.UEBMLK/_new 2016-04-17 22:16:47.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Config-AutoConf
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-Config-AutoConf
-Version: 0.311
+Version: 0.313
Release: 0
%define cpan_name Config-AutoConf
Summary: Module to Implement Some of Autoconf Macros in Pure Perl
@@ -25,6 +25,7 @@
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Config-AutoConf/
Source0: http://www.cpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -39,7 +40,7 @@
%description
Config::AutoConf is intended to provide the same opportunities to Perl
-developers as http://www.gnu.org/software/autoconf/ does for Shell
+developers as at http://www.gnu.org/software/autoconf/ does for Shell
developers.
As Perl is the second most deployed language (mind: every Unix comes with
@@ -68,6 +69,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes README.md
+%doc ARTISTIC-1.0 Changes GPL-1 LICENSE README.md
%changelog
++++++ Config-AutoConf-0.311.tar.gz -> Config-AutoConf-0.313.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-AutoConf-0.311/ARTISTIC-1.0 new/Config-AutoConf-0.313/ARTISTIC-1.0
--- old/Config-AutoConf-0.311/ARTISTIC-1.0 1970-01-01 01:00:00.000000000 +0100
+++ new/Config-AutoConf-0.313/ARTISTIC-1.0 2014-12-05 14:24:59.000000000 +0100
@@ -0,0 +1,130 @@
+
+
+ The "Artistic License"
+
+ Preamble
+
+The intent of this document is to state the conditions under which a
+Package may be copied, such that the Copyright Holder maintains some
+semblance of artistic control over the development of the package,
+while giving the users of the package the right to use and distribute
+the Package in a more-or-less customary fashion, plus the right to make
+reasonable modifications.
+
+Definitions:
+
+ "Package" refers to the collection of files distributed by the
+ Copyright Holder, and derivatives of that collection of files
+ created through textual modification.
+
+ "Standard Version" refers to such a Package if it has not been
+ modified, or has been modified in accordance with the wishes
+ of the Copyright Holder as specified below.
+
+ "Copyright Holder" is whoever is named in the copyright or
+ copyrights for the package.
+
+ "You" is you, if you're thinking about copying or distributing
+ this Package.
+
+ "Reasonable copying fee" is whatever you can justify on the
+ basis of media cost, duplication charges, time of people involved,
+ and so on. (You will not be required to justify it to the
+ Copyright Holder, but only to the computing community at large
+ as a market that must bear the fee.)
+
+ "Freely Available" means that no fee is charged for the item
+ itself, though there may be fees involved in handling the item.
+ It also means that recipients of the item may redistribute it
+ under the same conditions they received it.
+
+1. You may make and give away verbatim copies of the source form of the
+Standard Version of this Package without restriction, provided that you
+duplicate all of the original copyright notices and associated disclaimers.
+
+2. You may apply bug fixes, portability fixes and other modifications
+derived from the Public Domain or from the Copyright Holder. A Package
+modified in such a way shall still be considered the Standard Version.
+
+3. You may otherwise modify your copy of this Package in any way, provided
+that you insert a prominent notice in each changed file stating how and
+when you changed that file, and provided that you do at least ONE of the
+following:
+
+ a) place your modifications in the Public Domain or otherwise make them
+ Freely Available, such as by posting said modifications to Usenet or
+ an equivalent medium, or placing the modifications on a major archive
+ site such as uunet.uu.net, or by allowing the Copyright Holder to include
+ your modifications in the Standard Version of the Package.
+
+ b) use the modified Package only within your corporation or organization.
+
+ c) rename any non-standard executables so the names do not conflict
+ with standard executables, which must also be provided, and provide
+ a separate manual page for each non-standard executable that clearly
+ documents how it differs from the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+4. You may distribute the programs of this Package in object code or
+executable form, provided that you do at least ONE of the following:
+
+ a) distribute a Standard Version of the executables and library files,
+ together with instructions (in the manual page or equivalent) on where
+ to get the Standard Version.
+
+ b) accompany the distribution with the machine-readable source of
+ the Package with your modifications.
+
+ c) give non-standard executables non-standard names, and clearly
+ document the differences in manual pages (or equivalent), together
+ with instructions on where to get the Standard Version.
+
+ d) make other distribution arrangements with the Copyright Holder.
+
+5. You may charge a reasonable copying fee for any distribution of this
+Package. You may charge any fee you choose for support of this
+Package. You may not charge a fee for this Package itself. However,
+you may distribute this Package in aggregate with other (possibly
+commercial) programs as part of a larger (possibly commercial) software
+distribution provided that you do not advertise this Package as a
+product of your own. You may embed this Package's interpreter within
+an executable of yours (by linking); this shall be construed as a mere
+form of aggregation, provided that the complete Standard Version of the
+interpreter is so embedded.
+
+6. The scripts and library files supplied as input to or produced as
+output from the programs of this Package do not automatically fall
+under the copyright of this Package, but belong to whoever generated
+them, and may be sold commercially, and may be aggregated with this
+Package. If such scripts or library files are aggregated with this
+Package via the so-called "undump" or "unexec" methods of producing a
+binary executable image, then distribution of such an image shall
+neither be construed as a distribution of this Package nor shall it
+fall under the restrictions of Paragraphs 3 and 4, provided that you do
+not represent such an executable image as a Standard Version of this
+Package.
+
+7. C subroutines (or comparably compiled subroutines in other
+languages) supplied by you and linked into this Package in order to
+emulate subroutines and variables of the language defined by this
+Package shall not be considered part of this Package, but are the
+equivalent of input as in Paragraph 6, provided these subroutines do
+not change the language in any way that would cause it to fail the
+regression tests for the language.
+
+8. Aggregation of this Package with a commercial distribution is always
+permitted provided that the use of this Package is embedded; that is,
+when no overt attempt is made to make this Package's interfaces visible
+to the end user of the commercial distribution. Such use shall not be
+construed as a distribution of this Package.
+
+9. The name of the Copyright Holder may not be used to endorse or promote
+products derived from this software without specific prior written permission.
+
+10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+
+ The End
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-AutoConf-0.311/Changes new/Config-AutoConf-0.313/Changes
--- old/Config-AutoConf-0.311/Changes 2015-03-17 10:16:09.000000000 +0100
+++ new/Config-AutoConf-0.313/Changes 2016-04-11 15:14:52.000000000 +0200
@@ -1,5 +1,17 @@
Revision history for Config-AutoConf
+0.313 2016-04-11
+ - release 0.312_001 without further changes
+
+0.312_001 2016-04-07
+ - fix "check_member" test (RT#113271)
+ - update Copyright notice
+ - add license files
+ - improve compile_if_else/link_if_else by proving whether object
+ or binary file (compile result) exists
+ - fix some typos and other POD quirks
+ - Update README.md from updated POD
+
0.311 2015-03-17
- fix check_member(s) - patch by jddurand
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-AutoConf-0.311/GPL-1 new/Config-AutoConf-0.313/GPL-1
--- old/Config-AutoConf-0.311/GPL-1 1970-01-01 01:00:00.000000000 +0100
+++ new/Config-AutoConf-0.313/GPL-1 2014-12-12 14:38:03.000000000 +0100
@@ -0,0 +1,252 @@
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
+
+ Copyright (C) 1989 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The license agreements of most software companies try to keep users
+at the mercy of those companies. By contrast, our General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. The
+General Public License applies to the Free Software Foundation's
+software and to any other program whose authors commit to using it.
+You can use it for your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Specifically, the General Public License is designed to make
+sure that you have the freedom to give away or sell copies of free
+software, that you receive source code or can get it if you want it,
+that you can change the software or use pieces of it in new free
+programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of a such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must tell them their rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any program or other work which
+contains a notice placed by the copyright holder saying it may be
+distributed under the terms of this General Public License. The
+"Program", below, refers to any such program or work, and a "work based
+on the Program" means either the Program or any work containing the
+Program or a portion of it, either verbatim or with modifications. Each
+licensee is addressed as "you".
+
+ 1. You may copy and distribute verbatim copies of the Program's source
+code as you receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice and
+disclaimer of warranty; keep intact all the notices that refer to this
+General Public License and to the absence of any warranty; and give any
+other recipients of the Program a copy of this General Public License
+along with the Program. You may charge a fee for the physical act of
+transferring a copy.
+
+ 2. You may modify your copy or copies of the Program or any portion of
+it, and copy and distribute such modifications under the terms of Paragraph
+1 above, provided that you also do the following:
+
+ a) cause the modified files to carry prominent notices stating that
+ you changed the files and the date of any change; and
+
+ b) cause the whole of any work that you distribute or publish, that
+ in whole or in part contains the Program or any part thereof, either
+ with or without modifications, to be licensed at no charge to all
+ third parties under the terms of this General Public License (except
+ that you may choose to grant warranty protection to some or all
+ third parties, at your option).
+
+ c) If the modified program normally reads commands interactively when
+ run, you must cause it, when started running for such interactive use
+ in the simplest and most usual way, to print or display an
+ announcement including an appropriate copyright notice and a notice
+ that there is no warranty (or else, saying that you provide a
+ warranty) and that users may redistribute the program under these
+ conditions, and telling the user how to view a copy of this General
+ Public License.
+
+ d) You may charge a fee for the physical act of transferring a
+ copy, and you may at your option offer warranty protection in
+ exchange for a fee.
+
+Mere aggregation of another independent work with the Program (or its
+derivative) on a volume of a storage or distribution medium does not bring
+the other work under the scope of these terms.
+
+ 3. You may copy and distribute the Program (or a portion or derivative of
+it, under Paragraph 2) in object code or executable form under the terms of
+Paragraphs 1 and 2 above provided that you also do one of the following:
+
+ a) accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ b) accompany it with a written offer, valid for at least three
+ years, to give any third party free (except for a nominal charge
+ for the cost of distribution) a complete machine-readable copy of the
+ corresponding source code, to be distributed under the terms of
+ Paragraphs 1 and 2 above; or,
+
+ c) accompany it with the information you received as to where the
+ corresponding source code may be obtained. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form alone.)
+
+Source code for a work means the preferred form of the work for making
+modifications to it. For an executable file, complete source code means
+all the source code for all modules it contains; but, as a special
+exception, it need not include source code for modules which are standard
+libraries that accompany the operating system on which the executable
+file runs, or for standard header files or definitions files that
+accompany that operating system.
+
+ 4. You may not copy, modify, sublicense, distribute or transfer the
+Program except as expressly provided under this General Public License.
+Any attempt otherwise to copy, modify, sublicense, distribute or transfer
+the Program is void, and will automatically terminate your rights to use
+the Program under this License. However, parties who have received
+copies, or rights to use copies, from you under this General Public
+License will not have their licenses terminated so long as such parties
+remain in full compliance.
+
+ 5. By copying, distributing or modifying the Program (or any work based
+on the Program) you indicate your acceptance of this license to do so,
+and all its terms and conditions.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the original
+licensor to copy, distribute or modify the Program subject to these
+terms and conditions. You may not impose any further restrictions on the
+recipients' exercise of the rights granted herein.
+
+ 7. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of the license which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+the license, you may choose any version ever published by the Free Software
+Foundation.
+
+ 8. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to humanity, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these
+terms.
+
+ To do so, attach the following notices to the program. It is safest to
+attach them to the start of each source file to most effectively convey
+the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C) 19yy <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) 19xx name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the
+appropriate parts of the General Public License. Of course, the
+commands you use may be called something other than `show w' and `show
+c'; they could even be mouse-clicks or menu items--whatever suits your
+program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ program `Gnomovision' (a program to direct compilers to make passes
+ at assemblers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-AutoConf-0.311/LICENSE new/Config-AutoConf-0.313/LICENSE
--- old/Config-AutoConf-0.311/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/Config-AutoConf-0.313/LICENSE 2014-12-16 13:28:46.000000000 +0100
@@ -0,0 +1,16 @@
+This software is licensed under the same terms as Perl5 itself.
+At the time of writing this means, you can redistribute it and/or
+modify it under the terms of either:
+
+ a) the GNU General Public License as published by the Free
+ Software Foundation; either version 1, or (at your option) any
+ later version, or
+
+ b) the "Artistic License"
+
+which both comes with this Kit.
+
+This software is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either
+the GNU General Public License or the Artistic License for more details.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-AutoConf-0.311/MANIFEST new/Config-AutoConf-0.313/MANIFEST
--- old/Config-AutoConf-0.311/MANIFEST 2015-03-17 10:18:58.000000000 +0100
+++ new/Config-AutoConf-0.313/MANIFEST 2016-04-11 15:21:58.000000000 +0200
@@ -1,5 +1,8 @@
+ARTISTIC-1.0
Changes
+GPL-1
lib/Config/AutoConf.pm
+LICENSE
Makefile.PL
MANIFEST This list of files
MANIFEST.SKIP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-AutoConf-0.311/META.json new/Config-AutoConf-0.313/META.json
--- old/Config-AutoConf-0.311/META.json 2015-03-17 10:18:58.000000000 +0100
+++ new/Config-AutoConf-0.313/META.json 2016-04-11 15:21:58.000000000 +0200
@@ -5,7 +5,7 @@
"Jens Rehsack http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -43,4 +43,5 @@
homepage: https://metacpan.org/release/Config-AutoConf
license: http://dev.perl.org/licenses/
repository: https://github.com:ambs/Config-AutoConf.git
-version: '0.311'
+version: '0.313'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-AutoConf-0.311/README.md new/Config-AutoConf-0.313/README.md
--- old/Config-AutoConf-0.311/README.md 2015-02-19 12:45:10.000000000 +0100
+++ new/Config-AutoConf-0.313/README.md 2016-04-07 11:12:24.000000000 +0200
@@ -37,11 +37,11 @@
machines run Perl software - which requires deployed Perl there, too),
this gives wider support than Shell based probes.
-The API is leant against GNU Autoconf, but we try to make the API
+The API is leaned against GNU Autoconf, but we try to make the API
(especially optional arguments) more Perl'ish than m4 abilities allow
to the original.
-# FUNCTIONS
+# CONSTRUCTOR
## new
@@ -49,6 +49,8 @@
configure child components. The constructor adds also values set via
environment variable `PERL5_AUTOCONF_OPTS`.
+# METHODS
+
## check\_file
This function checks if a file exists in the system and is readable by
@@ -157,11 +159,11 @@
## check\_prog\_cc
-This function checks if you have a runable C compiler.
+Determine a C compiler to use. Currently the probe is delegated to [ExtUtils::CBuilder](https://metacpan.org/pod/ExtUtils::CBuilder).
## check\_cc
-(Deprecated) Old name of ["check_prog_cc"](#check_prog_cc).
+(Deprecated) Old name of ["check\_prog\_cc"](#check_prog_cc).
## check\_valid\_compiler
@@ -313,12 +315,12 @@
## check\_cached( $cache-key, $check-title, \\&check-call, \\%options? )
-Retrieves the result of a previous ["check_cached"](#check_cached) invocation from
+Retrieves the result of a previous ["check\_cached"](#check_cached) invocation from
`cache-key`, or (when called for the first time) populates the cache
by invoking `\&check_call`.
If the very last parameter contains a hash reference, `CODE` references
-to _action\_on\_true_ or _action\_on\_false_ are executed on __every__ call
+to _action\_on\_true_ or _action\_on\_false_ are executed on **every** call
to check\_cached (not just the first cache-populating invocation), respectively.
## cache\_val
@@ -342,15 +344,15 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
When a _prologue_ exists in the optional hash at end, it will be favoured
-over `default includes` (represented by ["_default_includes"](#_default_includes)). If any of
+over `default includes` (represented by ["\_default\_includes"](#_default_includes)). If any of
_action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined, both callbacks
-are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
+are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
`check_cached`, respectively.
## check\_decls( symbols, \\%options? )
For each of the symbols (with optional function argument types for C++
-overloads), run [check_decl](https://metacpan.org/pod/check_decl).
+overloads), run [check\_decl](https://metacpan.org/pod/check_decl).
Contrary to GNU autoconf, this method does not declare HAVE\_DECL\_symbol
macros for the resulting `confdefs.h`, because it differs as `check_decl`
@@ -359,12 +361,12 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
When a _prologue_ exists in the optional hash at end, it will be favoured
-over `default includes` (represented by ["_default_includes"](#_default_includes)). If any of
+over `default includes` (represented by ["\_default\_includes"](#_default_includes)). If any of
_action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined, both callbacks
-are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
+are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
`check_cached`, respectively.
Given callbacks for _action\_on\_symbol\_true_ or _action\_on\_symbol\_false_ are
-called for each symbol checked using ["check_decl"](#check_decl) receiving the symbol as
+called for each symbol checked using ["check\_decl"](#check_decl) receiving the symbol as
first argument.
## check\_func( $function, \\%options? )
@@ -376,7 +378,7 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
If any of _action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined,
-both callbacks are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or
+both callbacks are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or
_action\_on\_false_ to `check_cached`, respectively.
Returns: True if the function was found, false otherwise
@@ -390,10 +392,10 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
If any of _action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined,
-both callbacks are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or
+both callbacks are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or
_action\_on\_false_ to `check_cached`, respectively. Given callbacks
for _action\_on\_function\_true_ or _action\_on\_function\_false_ are called for
-each symbol checked using ["check_func"](#check_func) receiving the symbol as first
+each symbol checked using ["check\_func"](#check_func) receiving the symbol as first
argument.
## check\_type( $symbol, \\%options? )
@@ -411,25 +413,25 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
When a _prologue_ exists in the optional hash at end, it will be favoured
-over `default includes` (represented by ["_default_includes"](#_default_includes)). If any of
+over `default includes` (represented by ["\_default\_includes"](#_default_includes)). If any of
_action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined, both callbacks
-are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
+are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
`check_cached`, respectively.
## check\_types( \\@type-list, \\%options? )
-For each type in _@type-list_, call [check_type](https://metacpan.org/pod/check_type) is called to check
+For each type in _@type-list_, call [check\_type](https://metacpan.org/pod/check_type) is called to check
for type and return the accumulated result (accumulation op is binary and).
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
When a _prologue_ exists in the optional hash at end, it will be favoured
-over `default includes` (represented by ["_default_includes"](#_default_includes)). If any of
+over `default includes` (represented by ["\_default\_includes"](#_default_includes)). If any of
_action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined, both callbacks
-are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
+are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
`check_cached`, respectively.
Given callbacks for _action\_on\_type\_true_ or _action\_on\_type\_false_ are
-called for each symbol checked using ["check_type"](#check_type) receiving the symbol as
+called for each symbol checked using ["check\_type"](#check_type) receiving the symbol as
first argument.
## compute\_int( $expression, @decls?, \\%options )
@@ -442,9 +444,9 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
When a _prologue_ exists in the optional hash at end, it will be favoured
-over `default includes` (represented by ["_default_includes"](#_default_includes)). If any of
+over `default includes` (represented by ["\_default\_includes"](#_default_includes)). If any of
_action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined, both callbacks
-are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
+are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
`check_cached`, respectively.
## check\_sizeof\_type( $type, \\%options? )
@@ -464,14 +466,14 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
When a _prologue_ exists in the optional hash at end, it will be favoured
-over `default includes` (represented by ["_default_includes"](#_default_includes)). If any of
+over `default includes` (represented by ["\_default\_includes"](#_default_includes)). If any of
_action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined, both callbacks
-are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
+are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
`check_cached`, respectively.
## check\_sizeof\_types( type, \\%options? )
-For each type [check_sizeof_type](https://metacpan.org/pod/check_sizeof_type) is called to check for size of type.
+For each type [check\_sizeof\_type](https://metacpan.org/pod/check_sizeof_type) is called to check for size of type.
If _action-if-found_ is given, it is additionally executed when all of the
sizes of the types could determined. If _action-if-not-found_ is given, it
@@ -480,12 +482,12 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
When a _prologue_ exists in the optional hash at end, it will be favoured
-over `default includes` (represented by ["_default_includes"](#_default_includes)). If any of
+over `default includes` (represented by ["\_default\_includes"](#_default_includes)). If any of
_action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined, both callbacks
-are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
+are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
`check_cached`, respectively.
Given callbacks for _action\_on\_size\_true_ or _action\_on\_size\_false_ are
-called for each symbol checked using ["check_sizeof_type"](#check_sizeof_type) receiving the
+called for each symbol checked using ["check\_sizeof\_type"](#check_sizeof_type) receiving the
symbol as first argument.
## check\_alignof\_type( type, \\%options? )
@@ -501,14 +503,14 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
When a _prologue_ exists in the optional hash at end, it will be favoured
-over `default includes` (represented by ["_default_includes"](#_default_includes)). If any of
+over `default includes` (represented by ["\_default\_includes"](#_default_includes)). If any of
_action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined, both callbacks
-are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
+are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
`check_cached`, respectively.
## check\_alignof\_types (type, \[action-if-found\], \[action-if-not-found\], \[prologue = default includes\])
-For each type [check_alignof_type](https://metacpan.org/pod/check_alignof_type) is called to check for align of type.
+For each type [check\_alignof\_type](https://metacpan.org/pod/check_alignof_type) is called to check for align of type.
If _action-if-found_ is given, it is additionally executed when all of the
aligns of the types could determined. If _action-if-not-found_ is given, it
@@ -517,12 +519,12 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
When a _prologue_ exists in the optional hash at end, it will be favoured
-over `default includes` (represented by ["_default_includes"](#_default_includes)). If any of
+over `default includes` (represented by ["\_default\_includes"](#_default_includes)). If any of
_action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined, both callbacks
-are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
+are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
`check_cached`, respectively.
Given callbacks for _action\_on\_align\_true_ or _action\_on\_align\_false_ are
-called for each symbol checked using ["check_alignof_type"](#check_alignof_type) receiving the
+called for each symbol checked using ["check\_alignof\_type"](#check_alignof_type) receiving the
symbol as first argument.
## check\_member( member, \\%options? )
@@ -540,6 +542,8 @@
}
);
+This function will return a true value (1) if the member is found.
+
If _aggregate_ aggregate has _member_ member, preprocessor
macro HAVE\__aggregate_\__MEMBER_ (in all capitals, with spaces
and dots replaced by underscores) is defined.
@@ -549,24 +553,26 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
When a _prologue_ exists in the optional hash at end, it will be favoured
-over `default includes` (represented by ["_default_includes"](#_default_includes)). If any of
+over `default includes` (represented by ["\_default\_includes"](#_default_includes)). If any of
_action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined, both callbacks
-are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
+are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
`check_cached`, respectively.
## check\_members( members, \\%options? )
-For each member [check_member](https://metacpan.org/pod/check_member) is called to check for member of aggregate.
+For each member [check\_member](https://metacpan.org/pod/check_member) is called to check for member of aggregate.
+
+This function will return a true value (1) if at least one member is found.
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
When a _prologue_ exists in the optional hash at end, it will be favoured
-over `default includes` (represented by ["_default_includes"](#_default_includes)). If any of
+over `default includes` (represented by ["\_default\_includes"](#_default_includes)). If any of
_action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined, both callbacks
-are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
+are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
`check_cached`, respectively.
Given callbacks for _action\_on\_member\_true_ or _action\_on\_member\_false_ are
-called for each symbol checked using ["check_member"](#check_member) receiving the symbol as
+called for each symbol checked using ["check\_member"](#check_member) receiving the symbol as
first argument.
## check\_header( $header, \\%options? )
@@ -589,7 +595,7 @@
When a _prologue_ exists in the optional hash at end, it will be prepended
to the tested header. If any of _action\_on\_cache\_true_,
_action\_on\_cache\_false_ is defined, both callbacks are passed to
-["check_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
+["check\_cached"](#check_cached) as _action\_on\_true_ or _action\_on\_false_ to
`check_cached`, respectively.
## check\_headers
@@ -598,7 +604,7 @@
in the system and can be included and compiled by the available compiler.
Returns the name of the first header file found.
-Passes an optional \\%options hash to each ["check_header"](#check_header) call.
+Passes an optional \\%options hash to each ["check\_header"](#check_header) call.
## check\_all\_headers
@@ -608,10 +614,10 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
Each of existing key/value pairs using _prologue_, _action\_on\_cache\_true_
-or _action\_on\_cache\_false_ as key are passed throuh to each call of
-["check_header"](#check_header).
+or _action\_on\_cache\_false_ as key are passed-through to each call of
+["check\_header"](#check_header).
Given callbacks for _action\_on\_header\_true_ or _action\_on\_header\_false_ are
-called for each symbol checked using ["check_header"](#check_header) receiving the symbol as
+called for each symbol checked using ["check\_header"](#check_header) receiving the symbol as
first argument.
## check\_stdc\_headers
@@ -623,24 +629,24 @@
Returns a false value if it fails.
-Passes an optional \\%options hash to each ["check_all_headers"](#check_all_headers) call.
+Passes an optional \\%options hash to each ["check\_all\_headers"](#check_all_headers) call.
## check\_default\_headers
This function checks for some default headers, the std c89 headers and
sys/types.h, sys/stat.h, memory.h, strings.h, inttypes.h, stdint.h and unistd.h
-Passes an optional \\%options hash to each ["check_all_headers"](#check_all_headers) call.
+Passes an optional \\%options hash to each ["check\_all\_headers"](#check_all_headers) call.
## check\_dirent\_header
Check for the following header files. For the first one that is found and
defines 'DIR', define the listed C preprocessor macro:
- dirent.h HAVE_DIRENT_H
- sys/ndir.h HAVE_SYS_NDIR_H
- sys/dir.h HAVE_SYS_DIR_H
- ndir.h HAVE_NDIR_H
+ dirent.h HAVE_DIRENT_H
+ sys/ndir.h HAVE_SYS_NDIR_H
+ sys/dir.h HAVE_SYS_DIR_H
+ ndir.h HAVE_NDIR_H
The directory-library declarations in your source code should look
something like the following:
@@ -669,7 +675,7 @@
the `NAMLEN` macro.
This method might be obsolescent, as all current systems with directory
-libraries have `<`\>. Programs supporting only newer OS
+libraries have `<`>. Programs supporting only newer OS
might not need to use this method.
If the very last parameter contains a hash reference, `CODE` references
@@ -677,10 +683,10 @@
Each of existing key/value pairs using _prologue_, _action\_on\_header\_true_
(as _action\_on\_true_ having the name of the tested header as first argument)
or _action\_on\_header\_false_ (as _action\_on\_false_ having the name of the
-tested header as first argument) as key are passed throuh to each call of
-["_check_header"](#_check_header).
+tested header as first argument) as key are passed-through to each call of
+["\_check\_header"](#_check_header).
Given callbacks for _action\_on\_cache\_true_ or _action\_on\_cache\_false_ are
-passed to the call of ["check_cached"](#check_cached).
+passed to the call of ["check\_cached"](#check_cached).
## \_check\_perlapi\_program
@@ -709,7 +715,7 @@
## check\_linkable\_xs\_so\_or\_die
-Dies when ["check_linkable_xs_so"](#check_linkable_xs_so) fails.
+Dies when ["check\_linkable\_xs\_so"](#check_linkable_xs_so) fails.
## check\_loadable\_xs\_so
@@ -719,7 +725,7 @@
## check\_loadable\_xs\_so\_or\_die
-Dies when ["check_loadable_xs_so"](#check_loadable_xs_so) fails.
+Dies when ["check\_loadable\_xs\_so"](#check_loadable_xs_so) fails.
## \_check\_link\_perlapi
@@ -764,10 +770,10 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
If any of _action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined,
-both callbacks are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or
+both callbacks are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or
_action\_on\_false_ to `check_cached`, respectively.
-It's recommended to use [search_libs](https://metacpan.org/pod/search_libs) instead of check\_lib these days.
+It's recommended to use [search\_libs](https://metacpan.org/pod/search_libs) instead of check\_lib these days.
## search\_libs( function, search-libs, @other-libs?, \\%options? )
@@ -797,10 +803,10 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
If any of _action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined,
-both callbacks are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or
+both callbacks are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or
_action\_on\_false_ to `check_cached`, respectively. Given callbacks
for _action\_on\_lib\_true_ or _action\_on\_lib\_false_ are called for
-each library checked using ["link_if_else"](#link_if_else) receiving the library as
+each library checked using ["link\_if\_else"](#link_if_else) receiving the library as
first argument and all `@other_libs` subsequently.
## check\_lm( \\%options? )
@@ -817,13 +823,13 @@
functions as first argument), _action\_on\_func\_lib\_true_ (as
_action\_on\_lib\_true_ having the name of the tested functions as first
argument), _action\_on\_func\_lib\_false_ (as _action\_on\_lib\_false_ having
-the name of the tested functions as first argument) as key are passed
-throuh to each call of ["search_libs"](#search_libs).
+the name of the tested functions as first argument) as key are passed-
+through to each call of ["search\_libs"](#search_libs).
Given callbacks for _action\_on\_lib\_true_, _action\_on\_lib\_false_,
_action\_on\_cache\_true_ or _action\_on\_cache\_false_ are passed to the
-call of ["search_libs"](#search_libs).
+call of ["search\_libs"](#search_libs).
-__Note__ that _action\_on\_lib\_true_ and _action\_on\_func\_lib\_true_ or
+**Note** that _action\_on\_lib\_true_ and _action\_on\_func\_lib\_true_ or
_action\_on\_lib\_false_ and _action\_on\_func\_lib\_false_ cannot be used
at the same time, respectively.
@@ -839,8 +845,8 @@
If the very last parameter contains a hash reference, `CODE` references
to _action\_on\_true_ or _action\_on\_false_ are executed, respectively.
If any of _action\_on\_cache\_true_, _action\_on\_cache\_false_ is defined,
-both callbacks are passed to ["check_cached"](#check_cached) as _action\_on\_true_ or
-_action\_on\_false_ to ["check_cached"](#check_cached), respectively.
+both callbacks are passed to ["check\_cached"](#check_cached) as _action\_on\_true_ or
+_action\_on\_false_ to ["check\_cached"](#check_cached), respectively.
## \_check\_mm\_pureperl\_build\_wanted
@@ -852,7 +858,7 @@
## \_check\_mb\_pureperl\_build\_wanted
This method proves the `_argv` attribute and (when set) the `PERL_MB_OPT`
-whether they contain _\--pureperl-only_ or not.
+whether they contain _--pureperl-only_ or not.
## \_check\_pureperl\_required
@@ -873,9 +879,9 @@
This routine checks whether XS can be produced. Therefore it does
following checks in given order:
-- check pureperl environment variables (["check_pureperl_required"](#check_pureperl_required)) or
+- check pureperl environment variables (["check\_pureperl\_required"](#check_pureperl_required)) or
command line arguments and return false when pure perl is requested
-- check whether a compiler is available (["check_valid_compilers"](#check_valid_compilers)) and
+- check whether a compiler is available (["check\_valid\_compilers"](#check_valid_compilers)) and
return false if none found
- check whether a test program accessing Perl API can be compiled and
die with error if not
@@ -890,7 +896,7 @@
This routine proves whether XS should be built and it's possible to create
a dynamic linked object which can be loaded using Perl's Dynaloader.
-The extension over ["check_produce_xs_build"](#check_produce_xs_build) can be avoided by adding the
+The extension over ["check\_produce\_xs\_build"](#check_produce_xs_build) can be avoided by adding the
`notest_loadable_xs` to `$ENV{PERL5_AC_OPTS}`.
If the very last parameter contains a hash reference, `CODE` references
@@ -986,7 +992,7 @@
# BUGS
-A lot. Portability is a pain. __.
+A lot. Portability is a pain. **.
Please report any bugs or feature requests to
`bug-Config-AutoConf@rt.cpan.org`, or through the web interface at
@@ -1008,7 +1014,7 @@
- CPAN Ratings
- [http://cpanratings.perl.org/l/Config-AutoConf](http://cpanratings.perl.org/l/Config-AutoConf)
+ [http://cpanratings.perl.org/dist/Config-AutoConf](http://cpanratings.perl.org/dist/Config-AutoConf)
- MetaCPAN
@@ -1028,7 +1034,7 @@
# COPYRIGHT & LICENSE
-Copyright 2004-2015 by the Authors
+Copyright 2004-2016 by the Authors
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-AutoConf-0.311/lib/Config/AutoConf.pm new/Config-AutoConf-0.313/lib/Config/AutoConf.pm
--- old/Config-AutoConf-0.311/lib/Config/AutoConf.pm 2015-03-06 14:21:31.000000000 +0100
+++ new/Config-AutoConf-0.313/lib/Config/AutoConf.pm 2016-04-11 15:14:52.000000000 +0200
@@ -92,7 +92,7 @@
=cut
-our $VERSION = '0.311';
+our $VERSION = '0.313';
$VERSION = eval $VERSION;
=head1 ABSTRACT
@@ -134,7 +134,7 @@
(especially optional arguments) more Perl'ish than m4 abilities allow
to the original.
-=head1 FUNCTIONS
+=head1 CONSTRUCTOR
=cut
@@ -184,6 +184,8 @@
bless( \%instance, $class );
}
+=head1 METHODS
+
=head2 check_file
This function checks if a file exists in the system and is readable by
@@ -451,7 +453,11 @@
"ac_cv_prog_lex_root",
"for lex output file root",
sub {
- my ( $fh, $filename ) = tempfile( "testXXXXXX", SUFFIX => '.l' );
+ my ( $fh, $filename ) = tempfile(
+ "testXXXXXX",
+ SUFFIX => '.l',
+ UNLINK => 0
+ );
my $src = <<'EOLEX';
%%
a { ECHO; }
@@ -1073,7 +1079,7 @@
my ( $fh, $filename ) = tempfile(
"testXXXXXX",
SUFFIX => '.c',
- , UNLINK => 0
+ UNLINK => 0
);
print {$fh} $src;
@@ -1094,6 +1100,7 @@
};
unlink $filename;
+ $obj_file and !-f $obj_file and undef $obj_file;
unlink $obj_file if $obj_file;
if ( $exception || !$obj_file )
@@ -1138,7 +1145,11 @@
my $builder = $self->_get_builder();
- my ( $fh, $filename ) = tempfile( "testXXXXXX", SUFFIX => '.c' );
+ my ( $fh, $filename ) = tempfile(
+ "testXXXXXX",
+ SUFFIX => '.c',
+ UNLINK => 0
+ );
print {$fh} $src;
close $fh;
@@ -1157,6 +1168,8 @@
$exception = $@;
};
+ $obj_file and !-f $obj_file and undef $obj_file;
+
if ( $exception || !$obj_file )
{
$self->_add_log_lines( "compile stage failed" . ( $exception ? " - " . $exception : "" ) );
@@ -1188,6 +1201,9 @@
$exception = $@;
};
+
+ $exe_file and !-f $exe_file and undef $exe_file;
+
unlink $filename;
unlink $obj_file if $obj_file;
unlink $exe_file if $exe_file;
@@ -2164,8 +2180,8 @@
my $type = $1;
$member = $2;
- my $cache_name = $self->_cache_type_name( "$type.$member" );
- my $check_sub = sub {
+ my $cache_name = $self->_cache_type_name("$type.$member");
+ my $check_sub = sub {
my $body = <lang_build_program( $options->{prologue}, $body );
+ my $have_member = $self->compile_if_else($conftest);
+
+ unless ($have_member)
+ {
+ $body = <lang_build_program( $options->{prologue}, $body );
+ $have_member = $self->compile_if_else($conftest);
+ }
+
+ $have_member
+ and $options->{action_on_true}
+ and ref $options->{action_on_true} eq "CODE"
+ and $options->{action_on_true}->();
+
+ $options->{action_on_false}
+ and ref $options->{action_on_false} eq "CODE"
+ and $options->{action_on_false}->()
+ unless $have_member;
- my $have_member = $self->compile_if_else(
- $conftest,
- {
- ( $options->{action_on_true} ? ( action_on_true => $options->{action_on_true} ) : () ),
- ( $options->{action_on_false} ? ( action_on_false => $options->{action_on_false} ) : () )
- }
- );
$self->define_var(
_have_member_define_name("$type.$member"),
$have_member ? $have_member : undef,
@@ -2234,7 +2265,7 @@
my $have_members = 0;
foreach my $member (@$members)
{
- $have_members |= (
+ $have_members |= (
$self->check_member(
$member,
{
@@ -3217,7 +3248,7 @@
=head2 check_pureperl_required
-This check method proves whether a pureperl build is wanted or not by
+This check method proves whether a pure perl build is wanted or not by
cached-checking C<< $self->_check_pureperl_required >>.
=cut
@@ -3238,7 +3269,7 @@
=item *
-check pureperl environment variables (L) or
+check pure perl environment variables (L) or
command line arguments and return false when pure perl is requested
=item *
@@ -3266,7 +3297,8 @@
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" );
- eval { $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();
@@ -3697,7 +3729,7 @@
=item * CPAN Ratings
-Lhttp://cpanratings.perl.org/l/Config-AutoConf
+Lhttp://cpanratings.perl.org/dist/Config-AutoConf
=item * MetaCPAN
@@ -3719,7 +3751,7 @@
=head1 COPYRIGHT & LICENSE
-Copyright 2004-2015 by the Authors
+Copyright 2004-2016 by the Authors
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-AutoConf-0.311/t/02.compile.t new/Config-AutoConf-0.313/t/02.compile.t
--- old/Config-AutoConf-0.311/t/02.compile.t 2015-03-06 14:21:31.000000000 +0100
+++ new/Config-AutoConf-0.313/t/02.compile.t 2016-04-07 10:51:27.000000000 +0200
@@ -73,6 +73,20 @@
ok $ac->check_members( [ "struct hv.sv_any", "struct STRUCT_SV.sv_any" ], { prologue => $include_perl } ),
"have struct hv.sv_any and struct STRUCT_SV.sv_any members";
+my $struct_in_struct_prlg = <check_member( "struct S2.s1", { prologue => $struct_in_struct_prlg } ), "have struct S2.s1 member";
+
# check aligning
ok $ac->check_alignof_type( "I32", { prologue => $include_perl } ), "Align of I32";
ok $ac->check_alignof_type( "SV.sv_refcnt", { prologue => $include_perl } ), "Align of SV.sv_refcnt";
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module