summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-07 11:03:26 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-02-07 11:03:26 +0100
commitd637d9e53bfa5b3b11366c5af105f9c22515bd98 (patch)
tree9b2b351068e25e7a06639bea2b4f251bcc63d80a
parent41bef427fdbe32c5c2cb6eee2a8b91f35148db31 (diff)
Disable GLib deprecation warnings for now
GValueArray is deprecated but we need it for dbus-glib.
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e317747..8c408f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,6 +56,10 @@ AC_SUBST([LT_CURRENT])
AC_SUBST([LT_REVISION])
AC_SUBST([LT_AGE])
+# Disable GLib deprecation warnings for now; GValueArray is deprecated but we
+# need it for dbus-glib.
+AC_DEFINE(GLIB_DISABLE_DEPRECATION_WARNINGS, 1, [Build with GLib deprecated])
+
dnl optimizations, etc.
COMPILER_OPTIMISATIONS
COMPILER_COVERAGE