Next: , Previous: , Up: The Macros  



AX_PKG_MICO([X.X.X optional required])


This macro searches for a MICO installation on your system. MICO (Mico Is COrba) installs the file ’’ under MICO_INSTALL_BASE/lib, where MICO_INSTALL_BASE is probably /usr/local or /usr. If nothing was specified when calling configure or just –with-mico, it searches in $prefix/lib:/usr/local/lib:/usr/lib The argument of s–with-mico specifies the full pathname of the file. For instance –with-mico=/usr/local/mico-2.2.6/lib/

If the version argument is given (e.g. 2.2.6), AX_PKG_MICO checks that the mico package is this version number or higher.

The other optional argument to AX_PKG_MICO are ’optional’ and ’required’. by default, placing AX_PKG_MICO in your does not enforce using mico, if it is not found on the system. If MICO existence is critical for the building of your package, then you probably want to specify something like "AX_PKG_MICO(2.2.6 required)". Then, even if the –with-mico was not specified on the command line of the configure script, an error will be raised if mico was not found.

If the mico package is not found, abort configuration with error message.

It defines the symbol MICOSETUP, MICOVERSION, MICOSHAREDDIR MICO_INCLUDE, MICO_LIB and MICO_CXX if mico is found. In addition, the mico script mico-c++ (set in (MICO_CXX) is scaned for a string match "-I.*ministl" and if foundMICO_USE_MINISTL is set to 1, otherwise to 0.

Example of use of these variables in your


Source Code

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


Copyright © 2008 Tal Shalif

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.

Next: ax_pkg_swig, Previous: ax_pkg_check_modules, Up: The Macros