summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2022-08-16 17:09:06 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2022-08-16 17:12:26 +0200
commit8a64235c2c34953083d9a17530a40ee9a2ac28aa (patch)
tree0381e72f05f475f8f0782ba34d03cbc64cbd70f4 /configure.ac
parent4a49922497980049696f81924c168eda853f28a9 (diff)
Autotools build: Add --disable-deprecated-api
Make it possible to exclude deprecated API from the build. See #29
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d224409..382045a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,6 +73,7 @@ MM_ARG_ENABLE_WARNINGS([CAIROMM_WXXFLAGS],
[-Wall],
[-pedantic -Wall -Wextra -Wformat-security -Wsuggest-override],
[SIGCXX])
+MM_ARG_DISABLE_DEPRECATED_API
AC_ARG_ENABLE([tests],
[AS_HELP_STRING([--enable-tests], [enable automated tests [default=no]])],