summaryrefslogtreecommitdiff
path: root/TestScripts
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-07-31 18:21:44 -0400
committerJeffrey Walton <noloader@gmail.com>2018-07-31 18:21:44 -0400
commit27968af8a94a4f95697cdbeb89e99893725d618c (patch)
treeb3a3cfd30a8f908185a332fb9cf1384d46f0f0c5 /TestScripts
parent5367d26327973688659f4a5791cd41a2896352e6 (diff)
downloadcryptopp-git-27968af8a94a4f95697cdbeb89e99893725d618c.tar.gz
Update to support IBM XLC and LLVM backend
Diffstat (limited to 'TestScripts')
-rwxr-xr-xTestScripts/cryptest-autotools.sh22
1 files changed, 20 insertions, 2 deletions
diff --git a/TestScripts/cryptest-autotools.sh b/TestScripts/cryptest-autotools.sh
index eee4de10..95e47d0f 100755
--- a/TestScripts/cryptest-autotools.sh
+++ b/TestScripts/cryptest-autotools.sh
@@ -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