Alien-PNG

 view release on metacpan or  search on metacpan

LICENSE  view on Meta::CPAN

If any portion of this section is held invalid or unenforceable under any particular
circumstance, the balance of the section is intended to apply and the section as
a whole is intended to apply in other circumstances.

It is not the purpose of this section to induce you to infringe any patents or other
property right claims or to contest validity of any such claims; this section has
the sole purpose of protecting the integrity of the free software distribution
system, which is implemented by public license practices. Many people have
made generous contributions to the wide range of software distributed through
that system in reliance on consistent application of that system; it is up to the
author/donor to decide if he or she is willing to distribute software through any
other system and a licensee cannot impose that choice.

This section is intended to make thoroughly clear what is believed to be a
consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in certain countries
either by patents or by copyrighted interfaces, the original copyright holder who
places the Program under this License may add an explicit geographical
distribution limitation excluding those countries, so that distribution is permitted
only in or among countries not thus excluded. In such case, this License

README  view on Meta::CPAN

    *.dll) that will be required for running the resulting binaries you have
    linked with PNG libs.

        Alien::PNG->config('ld_shlib_map');

    Returns a reference to hash of value pairs '<libnick>' =>
    '<full_path_to_shlib'>, where '<libnick>' is shortname for PNG related
    library like: PNG.

    NOTE: config('ld_<something>') return an empty list/hash if you have
    decided to use PNG libraries already installed on your system. This
    concerns 'libpng-config' detection and detection via
    '$PNG_INST_DIR/bin/libpng-config'.

  check_header()
    This function checks the availability of given header(s) when using
    compiler options provided by "Alien::PNG->config('cflags')".

        Alien::PNG->check_header('png.h');
        Alien::PNG->check_header('png.h', 'pngconf.h');

lib/Alien/PNG.pm  view on Meta::CPAN


Returns a list of full paths to directories with shared libraries (*.so, *.dll)
that will be required for running the resulting binaries you have linked with
PNG libs.

    Alien::PNG->config('ld_shlib_map');

Returns a reference to hash of value pairs '<libnick>' => '<full_path_to_shlib'>,
where '<libnick>' is shortname for PNG related library like: PNG.

NOTE: config('ld_<something>') return an empty list/hash if you have decided to
use PNG libraries already installed on your system. This concerns 'libpng-config' 
detection and detection via '$PNG_INST_DIR/bin/libpng-config'.

=head2 check_header()

This function checks the availability of given header(s) when using compiler
options provided by "Alien::PNG->config('cflags')".

    Alien::PNG->check_header('png.h');
    Alien::PNG->check_header('png.h', 'pngconf.h');



( run in 0.645 second using v1.01-cache-2.11-cpan-4505f990765 )