1Alien::autoconf(3) User Contributed Perl Documentation Alien::autoconf(3)
2
3
4
6 Alien::autoconf - Build or find autoconf
7
9 version 0.19
10
12 From your script or module:
13
14 use Alien::autoconf;
15 use Env qw( @PATH );
16
17 unshift @PATH, Alien::autoconf->bin_dir;
18
19 From your alienfile:
20
21 use alienfile;
22
23 share {
24 # Alien::Autotools will pull in:
25 # - Alien::autoconf
26 # - Alien::automake
27 # - Alien::m4
28 # - Alien::libtool
29 # all of which you will likely need.
30 requires 'Alien::Autotools';
31 plugin 'Build::Autoconf';
32 build [
33 '%{autoreconf} -vfi',
34 '%{configure}',
35 '%{make}',
36 '%{make} install',
37 ];
38 };
39
41 This distribution provides autoconf so that it can be used by other
42 Perl distributions that are on CPAN. This is most commonly necessary
43 when creating other Aliens that target a autoconf project that does not
44 ship with a "configure" script. Ideally you should complain to the
45 upstream developers, but if you are not able to convince them then you
46 have this option. There are currently two such Aliens: Alien::libuv
47 and Alien::Hunspell.
48
50 bin_dir
51 my @dirs = Alien::autoconf->bin_dir;
52
53 Returns a list of directories that need to be added to the "PATH" in
54 order to use "autoconf".
55
57 This Alien provides the following helpers which will execute the
58 corresponding command. You want to use the helpers because they will
59 use the correct incantation on Windows.
60
61 "autoconf"
62 "autoheader"
63 "autom4te"
64 "autoreconf"
65 "autoscan"
66 "autoupdate"
67 "ifname"
68
70 alienfile
71 Alien::Build
72 Alien::Build
73 Alien::Autotools
74
76 Author: Graham Ollis <plicease@cpan.org>
77
78 Contributors:
79
80 Mark Jensen (MAJENSEN)
81
83 This software is copyright (c) 2017-2022 by Graham Ollis.
84
85 This is free software; you can redistribute it and/or modify it under
86 the same terms as the Perl 5 programming language system itself.
87
88
89
90perl v5.38.0 2023-07-20 Alien::autoconf(3)