summaryrefslogtreecommitdiff
path: root/build/reduced.m4
diff options
context:
space:
mode:
Diffstat (limited to 'build/reduced.m4')
-rw-r--r--build/reduced.m420
1 files changed, 20 insertions, 0 deletions
diff --git a/build/reduced.m4 b/build/reduced.m4
new file mode 100644
index 0000000..5a941fc
--- /dev/null
+++ b/build/reduced.m4
@@ -0,0 +1,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
+])
+