summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-10-11 10:03:14 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-10-11 14:19:15 +0200
commitc3b343f3241af8328e4f43bb6431a1d12e8b0388 (patch)
treed29817487337751bfb7f33473e9f9e9aef54d31c /autogen.sh
parent8ddef13c071061dbf448bc7981ec3fe82bec5b2d (diff)
Add codecparsers submodule.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 3d7ffd83..4314352f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -15,6 +15,17 @@ cd "$srcdir"
mkdir -p m4
+GIT=`which git`
+if test -z "$GIT"; then
+ echo "*** No git found ***"
+ exit 1
+else
+ if test ! -f ext/codecparsers/autogen.sh; then
+ $GIT submodule init
+ fi
+ $GIT submodule update
+fi
+
GTKDOCIZE=`which gtkdocize`
if test -z "$GTKDOCIZE"; then
echo "*** No gtk-doc support ***"