Automatically populate the git submodules in autogen.sh

This commit is contained in:
Stef Walter committed 2012-07-31 15:26:42 +02:00
1 parent 1804d944d2
commit 31d129fab4
1 file changed
+9
+9
View File
@@ -16,5 +16,14 @@ mkdir -p m4
autoreconf --force --install --verbose
# Fetch submodules if needed
if test ! -f src/libgsystem/README;
then
echo "+ Setting up submodules"
git submodule init
fi
git submodule update
cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"