mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
libdc: update MXE build
If the submodule isn't initialized, run git submodule init before running submodule update. Also, ensure that the autotools are set up. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ee0341fd97
commit
472592fe85
1 changed files with 7 additions and 0 deletions
|
@ -157,11 +157,18 @@ if [[ ! -d libgit2 || -f build.libgit2 ]] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# libdivecomputer
|
# libdivecomputer
|
||||||
|
# ensure the git submodule is present and the autotools are set up
|
||||||
|
|
||||||
cd "$BASEDIR"/subsurface
|
cd "$BASEDIR"/subsurface
|
||||||
if [ ! -d libdivecomputer/src ] ; then
|
if [ ! -d libdivecomputer/src ] ; then
|
||||||
|
git submodule init
|
||||||
git submodule update --recursive
|
git submodule update --recursive
|
||||||
fi
|
fi
|
||||||
|
if [ ! -f libdivecomputer/configure ] ; then
|
||||||
|
cd libdivecomputer
|
||||||
|
autoreconf --install
|
||||||
|
autoreconf --install
|
||||||
|
fi
|
||||||
|
|
||||||
cd "$BUILDDIR"
|
cd "$BUILDDIR"
|
||||||
if [[ ! -d libdivecomputer || -f build.libdivecomputer ]] ; then
|
if [[ ! -d libdivecomputer || -f build.libdivecomputer ]] ; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue