Bugfix: Replace bashisms with standard sh to fix build on non-BASH systems

This commit is contained in:
Luke Dashjr
2014-10-03 18:58:59 +00:00
parent d6b0539f45
commit b77b4eda8d
3 changed files with 36 additions and 33 deletions

View File

@@ -3,6 +3,7 @@ set -e
srcdir="$(dirname $0)"
cd "$srcdir"
if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="`which glibtoolize 2>/dev/null`"; then
export LIBTOOLIZE="${GLIBTOOLIZE}"
LIBTOOLIZE="${GLIBTOOLIZE}"
export LIBTOOLIZE
fi
autoreconf --install --force --warnings=all