Next: , Previous: , Up: The Macros  


ax_python_module_version

Synopsis

   AX_PYTHON_MODULE_VERSION(modname, min_version[, python])

Description

Checks for Python module with at least the given version.

Triggers an error if module is absent or present but at a lower version. The third parameter can either be "python" for Python 2 or "python3" for Python 3; defaults to Python 3.

Source Code

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

License

Copyright © 2015 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com> and Kurt von Laven kurt@endlessm.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.