NAME

Alien::Autotools - Build and install the GNU build system.

SYNOPSIS

use Alien::Autotools qw(autoconf_dir);
print autoconf_dir(), "\n";

DESCRIPTION

This module looks for minimum versions of the tools that make up the "GNU build system": version 2.68 of autoconf, version 1.11.0 of automake, and version 2.4.0 of libtool. For each tool that is not found or below the minimum version, it is downloaded, compiled and installed it to the Alien-Autotools distribution's shared directory. Compilation can be made to happen regardless of whether minimum versions are already found by setting the environment variable, COMPILE_ALIEN_AUTOTOOLS, to a true value.

Tool source archives are downloaded from the official GNU FTP server, ftp://ftp.gnu.org/.

FUNCTIONS

autoconf_dir()
automake_dir()
libtool_dir()

Each function is exportable on request, takes no arguments, and returns the absolute path to its respective executable binary's directory. The directory will be in the shared directory if a given tool was installed, or the directory path from $ENV{PATH} otherwise.

AUTHOR

Richard Simões <rsimoes AT cpan DOT org>

COPYRIGHT AND LICENSE

Copyright © 2012 Richard Simões. This module is released under the terms of the GNU Lesser General Public License v. 3.0 and may be modified and/or redistributed under the same or any compatible license.