mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-07 20:23:24 +00:00
build.sh: fix potential autoreconf problem
It appears that sometimes autoreconf will not install ltmain.sh and subsequently fail; simply running autoreconf again appears to be a workaround. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
17ecb11900
commit
c749498beb
1 changed files with 4 additions and 0 deletions
|
@ -129,6 +129,10 @@ mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
if [ ! -f ../configure ] ; then
|
if [ ! -f ../configure ] ; then
|
||||||
|
# this is not a typo
|
||||||
|
# in some scenarios it appears that autoreconf doesn't copy the
|
||||||
|
# ltmain.sh file; running it twice, however, fixes that problem
|
||||||
|
autoreconf --install ..
|
||||||
autoreconf --install ..
|
autoreconf --install ..
|
||||||
fi
|
fi
|
||||||
../configure --prefix=$INSTALL_ROOT --disable-examples
|
../configure --prefix=$INSTALL_ROOT --disable-examples
|
||||||
|
|
Loading…
Add table
Reference in a new issue