Automatically populate the git submodules in autogen.sh
This commit is contained in:
parent
1804d944d2
commit
31d129fab4
|
|
@ -16,5 +16,14 @@ mkdir -p m4
|
||||||
|
|
||||||
autoreconf --force --install --verbose
|
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
|
cd $olddir
|
||||||
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue