[empathy] configure.ac: if unreleased, enable tp-aw's extra warnings



commit 81c7fc7c78edc166017d677339bd774c487e0cd4
Author: Marco Barisione <marco barisione collabora co uk>
Date:   Tue Aug 20 10:09:48 2013 +0100

    configure.ac: if unreleased, enable tp-aw's extra warnings
    
    telepathy-account-widget cannot rely on a variable similar to
    empathy_released for extra warnings, so Empathy's configure script
    passes --enable-unreleased-checks to it if empathy_released is not 1.

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d4648e6..8296ec9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,6 +91,10 @@ MC_PLUGINS_REQUIRED=5.13.1
 prev_top_build_prefix=$ac_top_build_prefix
 prev_ac_configure_args=$ac_configure_args
 ac_configure_args="$ac_configure_args --with-pkgdatadir=${datadir}/empathy"
+ifelse(empathy_released, 1, [],
+    [
+        ac_configure_args="$ac_configure_args --enable-unreleased-checks"
+    ])
 AX_CONFIG_DIR([telepathy-account-widgets])
 ac_top_build_prefix=$prev_top_build_prefix
 ac_configure_args=$prev_ac_configure_args


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]