++ed by:
PABLROD ZMUGHAL

2 PAUSE users
2 non-PAUSE users.

Graham Ollis 🔥🐉
and 3 contributors

NAME

Alien::Build::Plugin::Build::Autoconf - Autoconf plugin for Alien::Build

VERSION

version 0.66

SYNOPSIS

 use alienfile;
 plugin 'Build::Autoconf' => ();

DESCRIPTION

This plugin provides some tools for building projects that use autoconf. The main thing this provides is a configure helper, documented below and the default build stage, which is:

 '%{configure} --disable-shared',
 '%{make}',
 '%{make} install',

On Windows, this plugin also pulls in the Alien::Build::Plugin::Build::MSYS which is required for autoconf style projects on windows.

The other thing that this plugin does is that it does a double staged DESTDIR install. The author has found this improves the overall reliability of Alien modules that are based on autoconf packages.

PROPERTIES

with_pic

Adds --with-pic option when running configure. If supported by your package, it will generate position independent code on platforms that support it. This is required to XS modules, and generally what you want.

autoconf normally ignores options that it does not understand, so it is usually a safe and reasonable default to include it. A small number of projects look like they use autoconf, but are really an autoconf style interface with a different implementation. They may fail if you try to provide it with options such as --with-pic that they do not recognize. Such packages are the rationale for this property.

HELPERS

configure

 %{configure}

The correct incantation to start an autoconf style configure script on your platform. Some reasonable default flags will be provided.

SEE ALSO

Alien::Build::Plugin::MSYS, Alien::Build::Plugin, Alien::Build, Alien::Base, Alien

https://www.gnu.org/software/autoconf/autoconf.html

https://www.gnu.org/prep/standards/html_node/DESTDIR.html

AUTHOR

Author: Graham Ollis <plicease@cpan.org>

Contributors:

Diab Jerius (DJERIUS)

Roy Storey

Ilya Pavlov

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 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.