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