ax_with_mpatrol

Synopsis

AX_WITH_MPATROL(DEFAULT)

Description

Integrates the mpatrol malloc debugging library into a new or existing project and also attempts to determine the support libraries that need to be linked in when libmpatrol is used.

It takes one optional parameter specifying whether mpatrol should be included in the project (‘yes’) or not (‘no’). This can also be specified as ‘threads’ if you wish to use the threadsafe version of the mpatrol library. You can override the value of the optional parameter with the ‘–with-mpatrol’ option to the resulting ‘configure’ shell script.

Source Code

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

License

Copyright © 2008 Graeme S. Roy 

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.