[telepathy-gabble/master] propagate disabling of -Werror to Wocky build configuration

Dafydd Harries dafydd.harries at collabora.co.uk
Fri Nov 20 14:08:02 PST 2009


Reviewed-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
---
 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 88e06fb..9be20ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -204,6 +204,9 @@ fi
 if test x$enable_silent_rules != xno; then
   confcmd="$confcmd --enable-silent-rules"
 fi
+if test x$werror == xno; then
+  confcmd="$confcmd --disable-Werror"
+fi
 confcmd="$confcmd --with-tls=$with_wocky_tls"
 cd "$ac_top_build_prefix"lib/ext/wocky && echo "running $confcmd" &&
   $confcmd ||
-- 
1.5.6.5



More information about the telepathy-commits mailing list