blob: 5a941fc1489e30abe9eebb3a48afe29df1baf07b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
## CAIROMM_ARG_ENABLE_API_EXCEPTIONS()
##
## Provide the --enable-api-exceptions configure argument, enabled
## by default.
##
AC_DEFUN([CAIROMM_ARG_ENABLE_API_EXCEPTIONS],
[
AC_ARG_ENABLE([api-exceptions],
[ --enable-api-exceptions Build exceptions API.
[[default=yes]]],
[cairomm_enable_api_exceptions="$enableval"],
[cairomm_enable_api_exceptions='yes'])
if test "x$cairomm_enable_api_exceptions" = "xyes"; then
{
AC_DEFINE([CAIROMM_EXCEPTIONS_ENABLED],[1], [Defined when the --enable-api-exceptions configure argument was given])
}
fi
])
|