PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Alien::autoconf; use strict; use warnings; use 5.008001; use base qw( Alien::Base ); # ABSTRACT: Build or find autoconf our $VERSION = '0.20'; # VERSION my %helper; foreach my $command (qw( autoconf autoheader autom4te autoreconf autoscan autoupdate ifnames )) { if($^O eq 'MSWin32') { $helper{$command} = sub { qq{sh -c "$command "\$*"" --} }; } else { $helper{$command} = sub { $command }; } } sub alien_helper { return \%helper; } 1; __END__ =pod =encoding UTF-8 =head1 NAME Alien::autoconf - Build or find autoconf =head1 VERSION version 0.20 =head1 SYNOPSIS From your script or module: use Alien::autoconf; use Env qw( @PATH ); unshift @PATH, Alien::autoconf->bin_dir; From your alienfile: use alienfile; share { # Alien::Autotools will pull in: # - Alien::autoconf # - Alien::automake # - Alien::m4 # - Alien::libtool # all of which you will likely need. requires 'Alien::Autotools'; plugin 'Build::Autoconf'; build [ '%{autoreconf} -vfi', '%{configure}', '%{make}', '%{make} install', ]; }; =head1 DESCRIPTION This distribution provides autoconf so that it can be used by other Perl distributions that are on CPAN. This is most commonly necessary when creating other Ls that target a autoconf project that does not ship with a C script. Ideally you should complain to the upstream developers, but if you are not able to convince them then you have this option. There are currently two such Aliens: L and L. =head1 METHODS =head2 bin_dir my @dirs = Alien::autoconf->bin_dir; Returns a list of directories that need to be added to the C in order to use C. =head1 HELPERS This L provides the following helpers which will execute the corresponding command. You want to use the helpers because they will use the correct incantation on Windows. =over 4 =item C =item C =item C =item C =item C =item C =item C =back =head1 CAVEATS This module is currently configured to I do a share install. This is because C installs for this alien are not reliable. Please see this issue for details: L. The good news is that most of the time you shouldn't need this module I you are building another alien from source. If your system provides the package that is targeted by the upstream alien I recommend using that. If you are packaging system packages for your platform then I recommend making sure the upstream alien uses the system library so you won't need to install this module. =head1 SEE ALSO =over 4 =item L =item L =item L =item L =back =head1 AUTHOR Author: Graham Ollis Eplicease@cpan.orgE Contributors: Mark Jensen (MAJENSEN) =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2017-2022 by Graham Ollis. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut