summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-08-20 15:36:39 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-09-11 15:49:24 +0100
commit4598feb1836f5405145ebf88a0513b7ae47e9689 (patch)
treebb56e2815ccc5e17d19d836b20fd3107c192d563
parente50f2d7c8a3a9bb99d884c894f5c4888bd57fca8 (diff)
autogen.sh: fetch Wocky submodule if needed
-rwxr-xr-xautogen.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 4998d33c8..f8a79ff11 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