Merged revisions 6293,6296-6306,6308 via svnmerge from
[ardour.git] / libs / cairomm / m4 / reduced.m4
1 ## CAIROMM_ARG_ENABLE_API_EXCEPTIONS()
2 ##
3 ## Provide the --enable-api-exceptions configure argument, enabled
4 ## by default.
5 ##
6 AC_DEFUN([CAIROMM_ARG_ENABLE_API_EXCEPTIONS],
7 [
8   AC_ARG_ENABLE([api-exceptions],
9       [  --enable-api-exceptions  Build exceptions API.
10                               [[default=yes]]],
11       [cairomm_enable_api_exceptions="$enableval"],
12       [cairomm_enable_api_exceptions='yes'])
13
14   if test "x$cairomm_enable_api_exceptions" = "xyes"; then
15   {
16     AC_DEFINE([CAIROMM_EXCEPTIONS_ENABLED],[1], [Defined when the --enable-api-exceptions configure argument was given])
17   }
18   fi
19 ])
20