Automatically populate the git submodules in autogen.sh

This commit is contained in:
Stef Walter 2012-07-30 13:04:00 +02:00
parent 1804d944d2
commit 31d129fab4

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" "$@"