From c749498bebd84e9454abb289f819cdfffc346055 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 16 Jan 2017 10:12:17 -0800 Subject: 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 --- scripts/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index 35ad3a3ec..e78b0e051 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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 -- cgit v1.2.3-70-g09d2