Macros by Category Revision History
Search:

ac_perl_module_version

SYNOPSIS

AC_PERL_MODULE_VERSION([MODULE VERSION], [ACTION-IF-TRUE], [ACTION-IF-FALSE])

DESCRIPTION

Checks to see if the list of 'Module Version' are avaiable in the system. If all the modules in the list are avaiable ACTION-IF-TRUE is executed. Case one module is not avaiable ACTION-IF-FALSE is executed and the macro execution is aborted. NOTE: Perl is needed.

Example:

  AC_PERL_MODULE_VERSION(CGI::Test 0.104 CGI::Ajax 0.694, ,
     AC_MSG_ERROR(Need some Perl modules))

SOURCE CODE

http://autoconf-archive.cryp.to/ac_perl_module_version.m4

LICENSE

Copyright © 2009 Marco Gomes <mpglesi@gmail.com>
Copyright © 2009 Ruben Fonseca <fonseka@gmail.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.