[telepathy-gabble/master] autogen.sh: fetch Wocky submodule if needed

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Fri Sep 11 07:56:25 PDT 2009


---
 autogen.sh |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 4998d33..f8a79ff 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -15,6 +15,14 @@ fi
 
 autoreconf -i -f
 
+# Fetch Wocky if needed
+if test ! -f lib/ext/wocky/autogen.sh;
+then
+  echo "+ Setting up Wocky submodule"
+  git submodule init
+fi
+git submodule update
+
 # launch Wocky's autogen.sh
 cd lib/ext/wocky
 sh autogen.sh
-- 
1.5.6.5




More information about the telepathy-commits mailing list