aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Barisione <marco.barisione@collabora.co.uk>2013-08-20 17:09:48 +0800
committerMarco Barisione <marco.barisione@collabora.co.uk>2013-08-20 19:11:11 +0800
commit81c7fc7c78edc166017d677339bd774c487e0cd4 (patch)
tree9c379a4aea4f546e1fce8b177400729734ff4b19
parent8e03d34d20359a48bbc3f6d9e98971248e81f550 (diff)
downloadgsoc2013-empathy-81c7fc7c78edc166017d677339bd774c487e0cd4.tar
gsoc2013-empathy-81c7fc7c78edc166017d677339bd774c487e0cd4.tar.gz
gsoc2013-empathy-81c7fc7c78edc166017d677339bd774c487e0cd4.tar.bz2
gsoc2013-empathy-81c7fc7c78edc166017d677339bd774c487e0cd4.tar.lz
gsoc2013-empathy-81c7fc7c78edc166017d677339bd774c487e0cd4.tar.xz
gsoc2013-empathy-81c7fc7c78edc166017d677339bd774c487e0cd4.tar.zst
gsoc2013-empathy-81c7fc7c78edc166017d677339bd774c487e0cd4.zip
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.
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d4648e6d2..8296ec975 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