r64308 - in /branches/upstream/libconfig-autoconf-perl: ./ current/ current/lib/ current/lib/Config/ current/t/

danai at users.alioth.debian.org danai at users.alioth.debian.org
Wed Oct 27 20:28:35 UTC 2010


Author: danai
Date: Wed Oct 27 20:28:23 2010
New Revision: 64308

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=64308
Log:
[svn-inject] Installing original source of libconfig-autoconf-perl (0.16)

Added:
    branches/upstream/libconfig-autoconf-perl/
    branches/upstream/libconfig-autoconf-perl/current/
    branches/upstream/libconfig-autoconf-perl/current/Changes
    branches/upstream/libconfig-autoconf-perl/current/MANIFEST
    branches/upstream/libconfig-autoconf-perl/current/META.yml
    branches/upstream/libconfig-autoconf-perl/current/Makefile.PL
    branches/upstream/libconfig-autoconf-perl/current/README
    branches/upstream/libconfig-autoconf-perl/current/lib/
    branches/upstream/libconfig-autoconf-perl/current/lib/Config/
    branches/upstream/libconfig-autoconf-perl/current/lib/Config/AutoConf.pm
    branches/upstream/libconfig-autoconf-perl/current/t/
    branches/upstream/libconfig-autoconf-perl/current/t/00.load.t
    branches/upstream/libconfig-autoconf-perl/current/t/01.checklib.t
    branches/upstream/libconfig-autoconf-perl/current/t/02.checkprog.t
    branches/upstream/libconfig-autoconf-perl/current/t/03.checkheader.t
    branches/upstream/libconfig-autoconf-perl/current/t/pod-coverage.t
    branches/upstream/libconfig-autoconf-perl/current/t/pod.t

Added: branches/upstream/libconfig-autoconf-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-autoconf-perl/current/Changes?rev=64308&op=file
==============================================================================
--- branches/upstream/libconfig-autoconf-perl/current/Changes (added)
+++ branches/upstream/libconfig-autoconf-perl/current/Changes Wed Oct 27 20:28:23 2010
@@ -1,0 +1,70 @@
+Revision history for Config-AutoConf
+
+0.16    Sep 23, 2010
+        - Config::AutoConf::Linker moved to ExtUtils::LibBuilder.
+
+0.15    Mar  8, 2010
+        - Config::AutoConf::Linker more silent.
+
+0.14    Feb 14, 2010
+        - Added rewind to Linker.pm module. This code is still under heavy tests.
+
+0.13    Jun  2, 2009
+        - First stable release with code to detect how to build a C dynamic library.
+
+0.12_3  Jun  1, 2009
+        - Trying other way arround to change LD_LIBRARY_PATH under
+          t/04, that was failing under FreeBSD.
+
+0.12_2  May 19, 2009
+	- Added t/04 that was missing from MANIFEST
+
+0.12_1	May 18, 2009
+	- Added code to detect how to build a library. 
+      It is a big, really big hack. Still not documented.
+
+0.11	January 9, 2009
+	- check_prog with better support for Windows machines.
+
+0.10    September 3, 2008
+	- Removed the tilde on my name, from Makefile.PL.
+	  Was generating some weird results on VMS and Solaris.
+
+0.09    April 23, 2008
+	- Added 'check_headers?' methods to check for C heading files;
+	- fixed the deletion of .c files created by failing tests;
+	- Require perl 5.8.1 and ExtUtils::CBuilder 0.23
+
+0.08    March 29, 2008
+	- require a 5.8 Perl 
+
+0.07	March 21, 2008
+	- re-factored some tests to make them Win-aware
+
+0.06	March 19, 2008
+	- added -quiet option to ExtUtils::CBuilder for less noise when 
+	  detecting things.
+
+0.05	March 18, 2008
+	- added 'check_prog_yacc' method to check for a yacc implementation
+	  (see POD)
+
+0.04	March 18, 2008
+	- adapt to new ExtUtils::CBuilder API
+
+0.03	August 12, 2005
+	- Added 'check_file' and 'check_files' methods (kind of stupid methods)
+
+0.02	February 14, 2005
+	- Moved from ExtUtils:: to Config::
+
+Previous releases
+	- Added 'check_prog' method to check for executable program
+	- Added 'check_progs' method to check for a list of programs
+	- Added 'check_prog_awk' method to check for an awk implementation
+	- Added 'check_prog_egrep' method to check for an egrep implementation
+	- first indexable version -- I need to use this module somewhere else;
+	- using ExtUtils::CBuilder to compile test;
+	- version correcting test for Mac OS-X (thanks, Michael Schwern);
+	- using Config module to get CC value and EXE extension;
+	- using ExtUtils::CBuilder (well take advantage of it later);

Added: branches/upstream/libconfig-autoconf-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-autoconf-perl/current/MANIFEST?rev=64308&op=file
==============================================================================
--- branches/upstream/libconfig-autoconf-perl/current/MANIFEST (added)
+++ branches/upstream/libconfig-autoconf-perl/current/MANIFEST Wed Oct 27 20:28:23 2010
@@ -1,0 +1,12 @@
+Changes
+MANIFEST
+META.yml # Will be created by "make dist"
+Makefile.PL
+README
+lib/Config/AutoConf.pm
+t/00.load.t
+t/pod-coverage.t
+t/pod.t
+t/01.checklib.t
+t/02.checkprog.t
+t/03.checkheader.t

Added: branches/upstream/libconfig-autoconf-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-autoconf-perl/current/META.yml?rev=64308&op=file
==============================================================================
--- branches/upstream/libconfig-autoconf-perl/current/META.yml (added)
+++ branches/upstream/libconfig-autoconf-perl/current/META.yml Wed Oct 27 20:28:23 2010
@@ -1,0 +1,23 @@
+--- #YAML:1.0
+name:               Config-AutoConf
+version:            0.16
+abstract:           A module to implement some of AutoConf macros in pure perl.
+author:
+    - Alberto Simoes <ambs at cpan.org>
+license:            unknown
+distribution_type:  module
+configure_requires:
+    ExtUtils::MakeMaker:  0
+build_requires:
+    ExtUtils::MakeMaker:  0
+requires:
+    ExtUtils::CBuilder:  0.23
+    Test::More:          0
+no_index:
+    directory:
+        - t
+        - inc
+generated_by:       ExtUtils::MakeMaker version 6.56
+meta-spec:
+    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
+    version:  1.4

Added: branches/upstream/libconfig-autoconf-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-autoconf-perl/current/Makefile.PL?rev=64308&op=file
==============================================================================
--- branches/upstream/libconfig-autoconf-perl/current/Makefile.PL (added)
+++ branches/upstream/libconfig-autoconf-perl/current/Makefile.PL Wed Oct 27 20:28:23 2010
@@ -1,0 +1,24 @@
+use strict;
+use warnings;
+use ExtUtils::MakeMaker;
+
+use 5.008002;
+
+WriteMakefile(
+	      NAME          => 'Config::AutoConf',
+	      AUTHOR        => 'Alberto Simoes <ambs at cpan.org>',
+	      VERSION_FROM  => 'lib/Config/AutoConf.pm',
+	      ABSTRACT_FROM => 'lib/Config/AutoConf.pm',
+	      PL_FILES      => {},
+	      PREREQ_PM     => {
+				'ExtUtils::CBuilder' => 0.23,
+				'Test::More'         => 0,
+			       },
+	      dist          => {
+				COMPRESS => 'gzip -9f',
+				SUFFIX   => 'gz'
+			       },
+	      clean         => {
+				FILES => 'Config-AutoConf-*'
+			       },
+	     );

Added: branches/upstream/libconfig-autoconf-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-autoconf-perl/current/README?rev=64308&op=file
==============================================================================
--- branches/upstream/libconfig-autoconf-perl/current/README (added)
+++ branches/upstream/libconfig-autoconf-perl/current/README Wed Oct 27 20:28:23 2010
@@ -1,0 +1,29 @@
+ Config::AutoConf 
+===================
+
+A module to implement some of AutoConf macros in pure perl.
+
+
+ABSTRACT
+
+With this module I pretend to simulate some of the tasks AutoConf
+macros do. To detect a command, to detect a library, etc.
+
+
+INSTALLATION
+
+To install this module, run the following commands:
+
+    perl Makefile.PL
+    make
+    make test
+    make install
+
+
+COPYRIGHT AND LICENSE
+
+Copyright 2004-2009 Alberto Simões, All Rights Reserved.
+
+This program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+

Added: branches/upstream/libconfig-autoconf-perl/current/lib/Config/AutoConf.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-autoconf-perl/current/lib/Config/AutoConf.pm?rev=64308&op=file
==============================================================================
--- branches/upstream/libconfig-autoconf-perl/current/lib/Config/AutoConf.pm (added)
+++ branches/upstream/libconfig-autoconf-perl/current/lib/Config/AutoConf.pm Wed Oct 27 20:28:23 2010
@@ -1,0 +1,424 @@
+package Config::AutoConf;
+use ExtUtils::CBuilder;
+use 5.008002;
+
+use Config;
+
+use File::Temp qw/tempfile/;
+use File::Spec;
+
+use base 'Exporter';
+
+our @EXPORT = ('$LIBEXT', '$EXEEXT');
+
+use warnings;
+use strict;
+
+our $LIBEXT = ($^O =~ /darwin/i)  ? ".dylib" : ( ($^O =~ /mswin32/i) ? ".dll" : ".so" );
+our $EXEEXT = ($^O =~ /mswin32/i) ? ".exe" : "";
+
+=head1 NAME
+
+Config::AutoConf - A module to implement some of AutoConf macros in pure perl.
+
+=cut
+
+our $VERSION = '0.16';
+
+=head1 ABSTRACT
+
+With this module I pretend to simulate some of the tasks AutoConf
+macros do. To detect a command, to detect a library, etc.
+
+=head1 SYNOPSIS
+
+    use Config::AutoConf;
+
+    Config::AutoConf->check_prog("agrep");
+    my $grep = Config::AutoConf->check_progs("agrep", "egrep", "grep");
+
+    Config::AutoConf->check_header("ncurses.h");
+    my $curses = Config::AutoConf->check_headers("ncurses.h","curses.h");
+
+    Config::AutoConf->check_prog_awk;
+    Config::AutoConf->check_prog_egrep;
+
+    Config::AutoConf->check_cc();
+
+    Config::AutoConf->check_lib("ncurses", "tgoto");
+
+    Config::AutoConf->check_file("/etc/passwd"); # -f && -r
+
+=head1 FUNCTIONS
+
+=head2 check_file
+
+This function checks if a file exists in the system and is readable by
+the user. Returns a boolean. You can use '-f $file && -r $file' so you
+don't need to use a function call.
+
+=cut
+
+sub check_file {
+  my $class = shift;
+  my $file = shift;
+
+  return (-f $file && -r $file);
+}
+
+
+=head2 check_files
+
+This function checks if a set of files exist in the system and are
+readable by the user. Returns a boolean.
+
+=cut
+
+sub check_files {
+  my $class = shift;
+
+  for (@_) {
+    return 0 unless check_file($class, $_)
+  }
+
+  return 1;
+}
+
+
+=head2 check_prog
+
+This function checks for a program with the supplied name. In success
+returns the full path for the executable;
+
+=cut
+
+sub check_prog {
+  my $class = shift;
+  # sanitize ac_prog
+  my $ac_prog = _sanitize(shift());
+  my $PATH = $ENV{PATH};
+  my $p;
+
+	my $ext = "";
+	$ext = ".exe" if $^O =~ /mswin/i;
+	
+  for $p (split /$Config{path_sep}/,$PATH) {
+    my $cmd = File::Spec->catfile($p,$ac_prog.$ext);
+    return $cmd if -x $cmd;
+  }
+  return undef;
+}
+
+=head2 check_progs
+
+This function takes a list of program names. Returns the full path for
+the first found on the system. Returns undef if none was found.
+
+=cut
+
+sub check_progs {
+  my $class = shift;
+  my @progs = @_;
+  for (@progs) {
+    my $ans = check_prog($class, $_);
+    return $ans if $ans;
+  }
+  return undef;
+}
+
+=head2 check_prog_yacc
+
+From the autoconf documentation,
+
+  If `bison' is found, set [...] `bison -y'.
+  Otherwise, if `byacc' is found, set [...] `byacc'. 
+  Otherwise set [...] `yacc'.
+
+Returns the full path, if found.
+
+=cut
+
+sub check_prog_yacc {
+	my $class = shift;
+	my $binary = check_progs(qw/$class bison byacc yacc/);
+	$binary .= " -y" if ($binary =~ /bison$/);
+	return $binary;
+}
+
+=head2 check_prog_awk
+
+From the autoconf documentation,
+
+  Check for `gawk', `mawk', `nawk', and `awk', in that order, and
+  set output [...] to the first one that is found.  It tries
+  `gawk' first because that is reported to be the best
+  implementation.
+
+Note that it returns the full path, if found.
+
+=cut
+
+sub check_prog_awk {
+  my $class = shift;
+  return check_progs(qw/$class gawk mawk nawk awk/);
+}
+
+
+=head2 check_prog_egrep
+
+From the autoconf documentation,
+
+  Check for `grep -E' and `egrep', in that order, and [...] output
+  [...] the first one that is found.
+
+Note that it returns the full path, if found.
+
+=cut
+
+sub check_prog_egrep {
+  my $class = shift;
+
+  my $grep;
+
+  if ($grep = check_prog($class,"grep")) {
+    my $ans = `echo a | ($grep -E '(a|b)') 2>/dev/null`;
+    return "$grep -E" if $ans eq "a\n";
+  }
+
+  if ($grep = check_prog($class, "egrep")) {
+    return $grep;
+  }
+  return undef;
+}
+
+=head2 check_cc
+
+This function checks if you have a running C compiler.
+
+=cut
+
+sub check_cc {
+  ExtUtils::CBuilder->new(quiet => 1)->have_compiler;
+}
+
+=head2 check_headers
+
+This function uses check_header to check if a set of include files exist in the system and can
+be included and compiled by the available compiler. Returns the name of the first header file found.
+
+=cut
+
+sub check_headers {
+  my $class = shift;
+
+  for (@_) {
+    return $_ if check_header($class, $_)
+  }
+
+  return undef;
+}
+
+
+=head2 check_header
+
+This function is used to check if a specific header file is present in
+the system: if we detect it and if we can compile anything with that
+header included. Note that normally you want to check for a header
+first, and then check for the corresponding library (not all at once).
+
+The standard usage for this module is:
+
+  Config::AutoConf->check_header("ncurses.h");
+  
+This function will return a true value (1) on success, and a false value
+if the header is not present or not available for common usage.
+
+=cut
+
+sub check_header {
+    my $class = shift;
+    my $header = shift;
+    
+    my $cbuilder = ExtUtils::CBuilder->new(quiet => 1);
+    
+    return 0 unless $header;
+    
+    # print STDERR "Trying to compile a test program to check [$header] availability...\n";
+    
+    my $conftest = <<"_ACEOF";
+    /* Override any gcc2 internal prototype to avoid an error.  */
+    #ifdef __cplusplus
+    extern "C"
+    #endif
+
+    #include <$header>
+
+    int
+    main ()
+    {
+      return 0;
+    }    
+_ACEOF
+
+    my ($fh, $filename) = tempfile( "testXXXXXX", SUFFIX => '.c');
+    $filename =~ m!^(.*).c$!;
+    my $base = $1;
+
+    print {$fh} $conftest;
+    close $fh;
+
+    my $obj_file = eval{ $cbuilder->compile(source => $filename) };
+
+    if ($@ || !$obj_file) {
+        unlink $filename;
+        unlink $obj_file if $obj_file;        
+        return 0         
+    }
+
+    my $exe_file = eval { $cbuilder->link_executable(objects => $obj_file) };
+
+    unlink $filename;
+    unlink $obj_file if $obj_file;
+    unlink $exe_file if $exe_file;
+
+    return 0 if $@;
+    return 0 unless $exe_file;
+
+    return 1;
+}
+
+=head2 check_lib
+
+This function is used to check if a specific library includes some
+function. Call it with the library name (without the lib portion), and
+the name of the function you want to test:
+
+  Config::AutoConf->check_lib("z", "gzopen");
+
+It returns 1 if the function exist, 0 otherwise.
+
+=cut
+
+sub check_lib {
+  my $class = shift;
+  my $lib = shift;
+  my $func = shift;
+
+  my $cbuilder = ExtUtils::CBuilder->new(quiet => 1);
+
+  return 0 unless $lib;
+  return 0 unless $func;
+
+  # print STDERR "Trying to compile test program to check [$func] on [$lib] library...\n";
+
+  my $LIBS = "-l$lib";
+  my $conftest = <<"_ACEOF";
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char $func ();
+int
+main ()
+{
+  $func ();
+  return 0;
+}
+_ACEOF
+
+
+
+  my ($fh, $filename) = tempfile( "testXXXXXX", SUFFIX => '.c');
+  $filename =~ m!(.*).c$!;
+  my $base = $1;
+
+  print {$fh} $conftest;
+  close $fh;
+
+  my $obj_file = eval{ $cbuilder->compile(source => $filename) };
+
+  if ($@ || !$obj_file) {
+      unlink $filename;
+      unlink $obj_file if $obj_file;        
+      return 0         
+  }
+
+  my $exe_file = eval { $cbuilder->link_executable(objects => $obj_file,
+						   extra_linker_flags => $LIBS) };
+
+  unlink $filename;
+  unlink $obj_file if $obj_file;
+  unlink $exe_file if $exe_file;
+
+  return 0 if $@;
+  return 0 unless $exe_file;
+
+  return 1;
+}
+
+#
+#
+# Auxiliary funcs
+#
+
+sub _sanitize {
+  # This is hard coded, and maybe a little stupid...
+  my $x = shift;
+  $x =~ s/ //g;
+  $x =~ s/\///g;
+  $x =~ s/\\//g;
+  return $x;
+}
+
+
+=head1 AUTHOR
+
+Alberto Simões, C<< <ambs at cpan.org> >>
+
+=head1 NEXT STEPS
+
+Although a lot of work needs to be done, this is the next steps I
+intent to take.
+
+  - detect flex/lex
+  - detect yacc/bison/byacc
+  - detect ranlib (not sure about its importance)
+
+These are the ones I think not too much important, and will be
+addressed later, or by request.
+
+  - detect an 'install' command
+  - detect a 'ln -s' command -- there should be a module doing
+    this kind of task.
+
+=head1 BUGS
+
+A lot. Portability is a pain. B<<Patches welcome!>>.
+
+Please report any bugs or feature requests to
+C<bug-extutils-autoconf at rt.cpan.org>, or through the web interface at
+L<http://rt.cpan.org>.  I will be notified, and then you'll automatically
+be notified of progress on your bug as I make changes.
+
+=head1 ACKNOWLEDGEMENTS
+
+Michael Schwern for kind MacOS X help.
+
+Ken Williams for ExtUtils::CBuilder
+
+=head1 COPYRIGHT & LICENSE
+
+Copyright 2004-2005 Alberto Simões, All Rights Reserved.
+
+This program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+
+=head1 SEE ALSO
+
+ExtUtils::CBuilder(3)
+
+=cut
+
+1; # End of Config::AutoConf

Added: branches/upstream/libconfig-autoconf-perl/current/t/00.load.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-autoconf-perl/current/t/00.load.t?rev=64308&op=file
==============================================================================
--- branches/upstream/libconfig-autoconf-perl/current/t/00.load.t (added)
+++ branches/upstream/libconfig-autoconf-perl/current/t/00.load.t Wed Oct 27 20:28:23 2010
@@ -1,0 +1,11 @@
+# -*- cperl -*-
+
+use Test::More tests => 1;
+
+BEGIN {
+  use_ok( 'Config::AutoConf' );
+}
+
+
+
+

Added: branches/upstream/libconfig-autoconf-perl/current/t/01.checklib.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-autoconf-perl/current/t/01.checklib.t?rev=64308&op=file
==============================================================================
--- branches/upstream/libconfig-autoconf-perl/current/t/01.checklib.t (added)
+++ branches/upstream/libconfig-autoconf-perl/current/t/01.checklib.t Wed Oct 27 20:28:23 2010
@@ -1,0 +1,13 @@
+# -*- cperl -*-
+
+use Test::More tests => 2;
+
+use Config::AutoConf;
+
+diag("\n\nIgnore junk bellow.\n\n");
+
+## OK, we really hope people have -lm around
+ok(Config::AutoConf->check_lib("m", "atan"));
+ok(!Config::AutoConf->check_lib("m", "foobar"));
+
+

Added: branches/upstream/libconfig-autoconf-perl/current/t/02.checkprog.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-autoconf-perl/current/t/02.checkprog.t?rev=64308&op=file
==============================================================================
--- branches/upstream/libconfig-autoconf-perl/current/t/02.checkprog.t (added)
+++ branches/upstream/libconfig-autoconf-perl/current/t/02.checkprog.t Wed Oct 27 20:28:23 2010
@@ -1,0 +1,27 @@
+# -*- cperl -*-
+
+use Test::More tests => 6;
+use Config;
+use Config::AutoConf;
+
+ok(Config::AutoConf->check_prog("perl"));
+
+ok(!Config::AutoConf->check_prog("hopingnobodyhasthiscommand"));
+
+like(Config::AutoConf->check_progs("___perl___", "__perl__", "_perl_", "perl"), qr/perl(.exe)?$/i);
+is(Config::AutoConf->check_progs("___perl___", "__perl__", "_perl_"), undef);	
+
+SKIP: {
+  my $awk;
+  skip "Not sure about your awk", 1 if $^O =~ m!MSWin32! || !$Config{awk};
+  ok(($awk = Config::AutoConf->check_prog_awk));
+  diag("Found AWK as $awk");
+};
+
+SKIP: {
+  my $grep;
+  skip "Not sure about your grep", 1 if $^O =~ m!MSWin32! || !$Config{egrep};
+  ok(($grep = Config::AutoConf->check_prog_egrep));
+  diag("Found EGREP as $grep");
+};
+

Added: branches/upstream/libconfig-autoconf-perl/current/t/03.checkheader.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-autoconf-perl/current/t/03.checkheader.t?rev=64308&op=file
==============================================================================
--- branches/upstream/libconfig-autoconf-perl/current/t/03.checkheader.t (added)
+++ branches/upstream/libconfig-autoconf-perl/current/t/03.checkheader.t Wed Oct 27 20:28:23 2010
@@ -1,0 +1,13 @@
+# -*- cperl -*-
+
+use Test::More tests => 3;
+
+use Config::AutoConf;
+
+diag("\n\nIgnore junk bellow.\n\n");
+
+## OK, we really hope people have sdtio.h around
+ok(Config::AutoConf->check_header("stdio.h"));
+ok(!Config::AutoConf->check_header("astupidheaderfile.h"));
+is(Config::AutoConf->check_headers("astupidheaderfile.h", "stdio.h"), "stdio.h");
+

Added: branches/upstream/libconfig-autoconf-perl/current/t/pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-autoconf-perl/current/t/pod-coverage.t?rev=64308&op=file
==============================================================================
--- branches/upstream/libconfig-autoconf-perl/current/t/pod-coverage.t (added)
+++ branches/upstream/libconfig-autoconf-perl/current/t/pod-coverage.t Wed Oct 27 20:28:23 2010
@@ -1,0 +1,6 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
+all_pod_coverage_ok();

Added: branches/upstream/libconfig-autoconf-perl/current/t/pod.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-autoconf-perl/current/t/pod.t?rev=64308&op=file
==============================================================================
--- branches/upstream/libconfig-autoconf-perl/current/t/pod.t (added)
+++ branches/upstream/libconfig-autoconf-perl/current/t/pod.t Wed Oct 27 20:28:23 2010
@@ -1,0 +1,6 @@
+#!perl -T
+
+use Test::More;
+eval "use Test::Pod 1.14";
+plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+all_pod_files_ok();




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