1Alien::Build::Plugin::PUrsoebre:C:oCnBturiilbduetre(d3A)Pleireln:D:oBcuuimledn:t:aPtliuognin::Probe::CBuilder(3)
2
3
4

NAME

6       Alien::Build::Plugin::Probe::CBuilder - Probe for system libraries by
7       guessing with ExtUtils::CBuilder
8

VERSION

10       version 2.77
11

SYNOPSIS

13        use alienfile;
14        plugin 'Probe::CBuilder' => (
15          cflags => '-I/opt/libfoo/include',
16          libs   => '-L/opt/libfoo/lib -lfoo',
17        );
18
19       alternately:
20
21        ues alienfile;
22        plugin 'Probe::CBuilder' => (
23          aliens => [ 'Alien::libfoo', 'Alien::libbar' ],
24        );
25

DESCRIPTION

27       This plugin probes for compiler and linker flags using
28       ExtUtils::CBuilder.  This is a useful alternative to
29       Alien::Build::Plugin::PkgConfig::Negotiate for packages that do not
30       provide a pkg-config ".pc" file, or for when those ".pc" files may not
31       be available.  (For example, on FreeBSD, "libarchive" is a core part of
32       the operating system, but doesn't include a ".pc" file which is usually
33       provided when you install the "libarchive" package on Linux).
34

PROPERTIES

36   options
37       Any extra options that you want to have passed into the constructor to
38       ExtUtils::CBuilder.
39
40   cflags
41       The compiler flags.
42
43   libs
44       The linker flags
45
46   program
47       The program to use in the test.
48
49   version
50       This is a regular expression to parse the version out of the output
51       from the test program.
52
53   atleast_version
54       The minimum required version as provided by the system.
55
56   aliens
57       List of aliens to query fro compiler and linker flags.
58
59   lang
60       The programming language to use.  One of either "C" or "C++".
61

SEE ALSO

63       Alien::Build, alienfile, Alien::Build::MM, Alien
64

AUTHOR

66       Author: Graham Ollis <plicease@cpan.org>
67
68       Contributors:
69
70       Diab Jerius (DJERIUS)
71
72       Roy Storey (KIWIROY)
73
74       Ilya Pavlov
75
76       David Mertens (run4flat)
77
78       Mark Nunberg (mordy, mnunberg)
79
80       Christian Walde (Mithaldu)
81
82       Brian Wightman (MidLifeXis)
83
84       Zaki Mughal (zmughal)
85
86       mohawk (mohawk2, ETJ)
87
88       Vikas N Kumar (vikasnkumar)
89
90       Flavio Poletti (polettix)
91
92       Salvador Fandiño (salva)
93
94       Gianni Ceccarelli (dakkar)
95
96       Pavel Shaydo (zwon, trinitum)
97
98       Kang-min Liu (劉康民, gugod)
99
100       Nicholas Shipp (nshp)
101
102       Juan Julián Merelo Guervós (JJ)
103
104       Joel Berger (JBERGER)
105
106       Petr Písař (ppisar)
107
108       Lance Wicks (LANCEW)
109
110       Ahmad Fatoum (a3f, ATHREEF)
111
112       José Joaquín Atria (JJATRIA)
113
114       Duke Leto (LETO)
115
116       Shoichi Kaji (SKAJI)
117
118       Shawn Laffan (SLAFFAN)
119
120       Paul Evans (leonerd, PEVANS)
121
122       Håkon Hægland (hakonhagland, HAKONH)
123
124       nick nauwelaerts (INPHOBIA)
125
126       Florian Weimer
127
129       This software is copyright (c) 2011-2022 by Graham Ollis.
130
131       This is free software; you can redistribute it and/or modify it under
132       the same terms as the Perl 5 programming language system itself.
133
134
135
136perl v5.36.0                      2023-A0l1i-e2n0::Build::Plugin::Probe::CBuilder(3)
Impressum