ax_prog_perl_modules
====================

Synopsis
********

     AX_PROG_PERL_MODULES([MODULES], [ACTION-IF-TRUE], [ACTION-IF-FALSE])

Description
***********

Checks to see if the given perl modules are available. If true the shell commands in ACTION-IF-TRUE are executed. If not the shell commands in ACTION-IF-FALSE are run. Note if $PERL is not set (for example by calling AC_CHECK_PROG, or AC_PATH_PROG), AC_CHECK_PROG(PERL, perl, perl) will be run.

MODULES is a space separated list of module names. To check for a minimum version of a module, append the version number to the module name, separated by an equals sign.

Example:

       AX_PROG_PERL_MODULES( Text::Wrap Net::LDAP=1.0.3, ,
                             AC_MSG_WARN(Need some Perl modules)

Source Code
***********

Download the latest version of ax_prog_perl_modules.m4 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_perl_modules.m4) or browse the macro's revision history (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_perl_modules.m4).

License
*******

Copyright © 2009 Dean Povey povey@wedgetail.com

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.