aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-04-13 21:42:38 +0800
committerXavier Claessens <xclaesse@gmail.com>2010-04-19 17:55:58 +0800
commit6a00d34eec703d3c3044e7471dd2c8e370e145c9 (patch)
treec90d74e9173fae52ffc28294ee5a27f5c661a565
parent1cb13f899d7d6a22db3e54a58f5dca2753da0637 (diff)
downloadgsoc2013-empathy-6a00d34eec703d3c3044e7471dd2c8e370e145c9.tar
gsoc2013-empathy-6a00d34eec703d3c3044e7471dd2c8e370e145c9.tar.gz
gsoc2013-empathy-6a00d34eec703d3c3044e7471dd2c8e370e145c9.tar.bz2
gsoc2013-empathy-6a00d34eec703d3c3044e7471dd2c8e370e145c9.tar.lz
gsoc2013-empathy-6a00d34eec703d3c3044e7471dd2c8e370e145c9.tar.xz
gsoc2013-empathy-6a00d34eec703d3c3044e7471dd2c8e370e145c9.tar.zst
gsoc2013-empathy-6a00d34eec703d3c3044e7471dd2c8e370e145c9.zip
Force maintainer mode if it is not a released empathy
-rw-r--r--configure.ac9
1 files changed, 3 insertions, 6 deletions
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])