From 9ebd6f842860bda0e14dce138acf88d6af3b4b29 Mon Sep 17 00:00:00 2001 From: infirit Date: Thu, 1 May 2014 16:07:54 +0200 Subject: Add configure option to en/disable deprecations --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 9c0bfe62..a9e38012 100644 --- a/configure.ac +++ b/configure.ac @@ -75,6 +75,15 @@ GIO_UNIX_REQUIRED=2.18.0 LIBMATE_PANEL_APPLET_REQUIRED=1.7.0 LIBGTOP_REQUIRED=2.12.0 +AC_ARG_ENABLE(deprecation_flags, + [AC_HELP_STRING([--enable-deprecation-flags], + [use *_DISABLE_DEPRECATED flags @<:@default=no@:>@])],, + [enable_deprecation_flags=no]) + +if test "x$enable_deprecated" = "xyes"; then + DISABLE_DEPRECATED="" +fi + dnl GTK library version AC_MSG_CHECKING([which gtk+ version to compile against]) -- cgit v1.2.1