1
## LIBXMLCPP_ARG_ENABLE_API_EXCEPTIONS()
3
## Provide the --enable-api-exceptions configure argument, enabled
6
AC_DEFUN([LIBXMLCPP_ARG_ENABLE_API_EXCEPTIONS],
8
AC_ARG_ENABLE([api-exceptions],
9
[ --enable-api-exceptions Build exceptions API.
11
[libxmlcpp_enable_api_exceptions="$enableval"],
12
[libxmlcpp_enable_api_exceptions='yes'])
14
if test "x$libxmlcpp_enable_api_exceptions" = "xyes"; then
16
AC_DEFINE([LIBXMLCPP_EXCEPTIONS_ENABLED],[1], [Defined when the --enable-api-exceptions configure argument was given])