summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-12-21 14:29:01 +0100
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-12-21 16:01:16 +0100
commit9e643a614771617be59e21ee2c63a6cb56ff36fe (patch)
tree4547c07a4b53b625709c129f4a2a22b2a9ae42cb /autogen.sh
parent4344a1053dc6addc1948d4981a08aeabd26b6bc8 (diff)
Add videoutils submodule for GstVideoDecoder APIs.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 4314352f..b4a63f36 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -20,7 +20,13 @@ if test -z "$GIT"; then
echo "*** No git found ***"
exit 1
else
- if test ! -f ext/codecparsers/autogen.sh; then
+ submodule_init="no"
+ for ext_module in codecparsers videoutils; do
+ if test ! -f ext/${ext_module}/autogen.sh; then
+ submodule_init="yes"
+ fi
+ done
+ if test "$submodule_init" = "yes"; then
$GIT submodule init
fi
$GIT submodule update