API Reference

Information for Developers

The Mercury Monitoring System includes support for pkg-config (available from http://www.freedesktop.org/software/pkgconfig). The compiler flags that are needed to compile software that uses the Mercury Monitoring System APIs are given by the output of the command pkg-config --cflags mercury-monitor. The linker flags and extra libraries that are needed for linking the Mercury Monitoring System libraries with other applications are given by the output of the command pkg-config --libs mercury-monitor.

Note

If the Mercury Monitoring System is installed using a different prefix than pkg-config, you must set the PKG_CONFIG_PATH environment variable to ${libdir}/pkgconfig where ${libdir} is the value used when configuring the Mercury Monitoring System.