NAME

Alien::GMP - Build and install the GNU Multiple Precision library

SYNOPSIS

my $inc_dir = Alien::GMP::inc_dir();
my $lib_dir = Alien::GMP::lib_dir();

DESCRIPTION

This module looks for version 5.0.0 or greater of the GNU Multiple Precision (GMP) library. If not found, the dist builder compiles and installs it to the Alien-GMP distribution's shared directory. Compilation can be made to happen regardless of whether GMP is already found by setting the environment variable, COMPILE_ALIEN_GMP, to a true value.

Prior to compilation, version 5.0.4 of the GMP library source is downloaded from the official GMP website, http://www.gmplib.org/.

FUNCTIONS

Alien::GMP::inc_dir()

Takes no arguments and returns the C includes directory.

Alien::GMP::lib_dir()

Takes no arguments and returns the C libraries directory.

AUTHOR

Richard Simões <rsimoes AT cpan DOT org>

COPYRIGHT & LICENSE

Copyright © 2012 Richard Simões. This module is released under the terms of the GNU Lesser General Public License ("LGPL") v. 3.0 and may be modified and/or redistributed under the same or any compatible license. The GNU Multiple Precision library itself is copyrighted by the Free Software Foundation and is also distributed under terms of the LGPL v 3.0.