The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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 builder script downloads, 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.

FUNCTIONS

Alien::GMP::inc_dir()

Takes no arguments and returns the C includes directory that contains gmp.h.

Alien::GMP::lib_dir()

Takes no arguments and returns the C libraries directory that contains libgmp.so.

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.