summaryrefslogtreecommitdiff
path: root/TestScripts
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-07-28 10:57:53 -0400
committerJeffrey Walton <noloader@gmail.com>2018-07-28 10:57:53 -0400
commit4066d707314c5a99a29d992bf9a1bea1c83b7c20 (patch)
treeac6b812f4087ebf483d5252c661c6440ce160615 /TestScripts
parent5cc3f72d33ff47947646bea31629c56ebb8aaec1 (diff)
downloadcryptopp-git-4066d707314c5a99a29d992bf9a1bea1c83b7c20.tar.gz
Cleanup cryptest-autotools.sh script
Diffstat (limited to 'TestScripts')
-rwxr-xr-xTestScripts/cryptest-autotools.sh22
1 files changed, 2 insertions, 20 deletions
diff --git a/TestScripts/cryptest-autotools.sh b/TestScripts/cryptest-autotools.sh
index 0c65e050..663ac464 100755
--- a/TestScripts/cryptest-autotools.sh
+++ b/TestScripts/cryptest-autotools.sh
@@ -43,21 +43,6 @@ if ! wget --no-check-certificate https://raw.githubusercontent.com/noloader/cryp
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
fi
-# Convert as necessary
-#if [[ ! -z $(command -v dos2unix) ]]; then
-# dos2unix Makefile.am configure.ac libcryptopp.pc.in
-#fi
-
-# Trim trailing whitespace
-#if [[ ! -z $(command -v "$SED") ]]; then
-# "$SED" -e's/[[:space:]]*$//' Makefile.am > Makefile.am.fixed
-# "$SED" -e's/[[:space:]]*$//' configure.ac > configure.ac.fixed
-# "$SED" -e's/[[:space:]]*$//' libcryptopp.pc.in > libcryptopp.pc.in.fixed
-# mv Makefile.am.fixed Makefile.am
-# mv configure.ac.fixed configure.ac
-# mv libcryptopp.pc.in.fixed libcryptopp.pc.in
-#fi
-
# Run autoreconf twice on failure. Also see
# https://github.com/tracebox/tracebox/issues/57
@@ -67,12 +52,9 @@ if [[ ! -z $(command -v autoupdate) ]]; then
autoupdate
fi
-if [[ ! -z $(command -v libtoolize) ]]; then
- libtoolize
-fi
-
if ! autoreconf -vfi --warnings=all; then
- if ! autoreconf -vfi; then
+ echo "autoreconf failed, running again."
+ if ! autoreconf -fi; then
echo "autoreconf failed"
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
fi