Update to support IBM XLC and LLVM backend

pull/696/head
Jeffrey Walton 2018-07-31 18:21:44 -04:00
parent 5367d26327
commit 27968af8a9
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 20 additions and 2 deletions

View File

@ -48,8 +48,26 @@ fi
mkdir -p m4/
if [[ ! -z $(command -v autoupdate) ]]; then
autoupdate
if [[ -z $(command -v autoupdate) ]]; then
echo "Cannot find autoupdate. Things will probably fail."
fi
if [[ -z $(command -v libtoolize) ]]; then
echo "Cannot find libtoolize. Things will probably fail."
fi
if [[ -z $(command -v autoreconf) ]]; then
echo "Cannot find autoreconf. Things will probably fail."
fi
if ! autoupdate; then
echo "autoupdate failed."
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
fi
if ! libtoolize -fi; then
echo "libtoolize failed."
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
fi
if ! autoreconf -fi --warnings=all; then