From 6a00d34eec703d3c3044e7471dd2c8e370e145c9 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 13 Apr 2010 15:42:38 +0200 Subject: Force maintainer mode if it is not a released empathy --- configure.ac | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d19723180..8c9f24a67 100644 --- a/configure.ac +++ b/configure.ac @@ -47,14 +47,11 @@ KEYRING_REQUIRED=2.22 NETWORK_MANAGER_REQUIRED=0.7.0 NAUTILUS_SENDTO_REQUIRED=2.28.1 -# Use --enable-maintainer-mode to disabled deprecated symbols +# Use --enable-maintainer-mode to disable deprecated symbols and single include. +# If this is not a released empathy, maintainer mode is forced +ifelse(empathy_released, 1, [], [enable_maintainer_mode="yes"]) GNOME_MAINTAINER_MODE_DEFINES -# Warning if GLib/GDK/GTK headers are included -AC_DEFINE(G_DISABLE_SINGLE_INCLUDES, [], [Disable single includes for GLib]) -AC_DEFINE(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES, [], [Disable single includes for GDK pixbuf]) -AC_DEFINE(GTK_DISABLE_SINGLE_INCLUDES, [], [Disable single includes for GTK]) - AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_SRCDIR([configure.ac]) -- cgit v1.2.3