Next: , Previous: , Up: The Macros  


ax_perl_module_version

Synopsis

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

Description

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

Example:

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

Source Code

Download the latest version of ax_perl_module_version.m4 or browse the macro’s revision history.

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. This file is offered as-is, without any warranty.