X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=autogen.sh;h=d7213afcacbd4c5a2064375f9b95b48bec93526f;hb=8ed129b8bd5301aa080990a77a45b5f24e541255;hp=4314352f43b707b7aa87e31b6fd2386cd41f2dc5;hpb=c3b343f3241af8328e4f43bb6431a1d12e8b0388;p=platform%2Fupstream%2Fgstreamer-vaapi.git diff --git a/autogen.sh b/autogen.sh index 4314352..d7213af 100755 --- a/autogen.sh +++ b/autogen.sh @@ -20,7 +20,14 @@ 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 + [ -f ext/libvpx/upstream/configure ] || submodule_init="yes" + if test "$submodule_init" = "yes"; then $GIT submodule init fi $GIT submodule update