autogen: Fetch submodules before running automake

Otherwise automake can't find src/libgsystem.
This commit is contained in:
Colin Walters 2012-08-14 12:52:46 -04:00
parent 66c8a1d3f6
commit 05bf1fed99
1 changed files with 1 additions and 2 deletions

View File

@ -14,8 +14,6 @@ fi
mkdir -p m4
autoreconf --force --install --verbose
# Fetch submodules if needed
if test ! -f src/libgsystem/README;
then
@ -24,6 +22,7 @@ then
fi
git submodule update
autoreconf --force --install --verbose
cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"