AX_CXX_VERBOSE_TERMINATE_HANDLER
Check if the terminate handler for the current compiler/standard library prints useful information to stdout/stderr (i.e. the type of the uncaught exception and/or the what() string).
The intended use case for this check is to help program authors decide if they need to add a top-level try-catch or custom terminate handler to print useful information if an uncaught exception occurs, or if this task can be left to the standard library implementation. Alternatively, it can be used to detect if such output needs to be silenced with a custom terminate handler.
Output:
Define HAVE_VERBOSE_TERMINATE_HANDLER if useful information is printed.
Download the latest version of ax_cxx_verbose_terminate_handler.m4 or browse the macro’s revision history.
Copyright © 2009 Kevin Locke klocke@digitalenginesoftware.com
Copyright © 2008 Lapo Luchini lapo@lapo.it
Copying and distribution of this file, with or without modification, is permitted in any medium, without royalty, provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty. This file is offered as-is, without any warranty.