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:
Dirk Hohndel 2017-01-16 10:12:17 -08:00
parent 17ecb11900
commit c749498beb

View file

@ -129,6 +129,10 @@ mkdir -p build
cd build
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 ..
fi
../configure --prefix=$INSTALL_ROOT --disable-examples