diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2018-07-28 10:57:53 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2018-07-28 10:57:53 -0400 |
| commit | 4066d707314c5a99a29d992bf9a1bea1c83b7c20 (patch) | |
| tree | ac6b812f4087ebf483d5252c661c6440ce160615 /TestScripts | |
| parent | 5cc3f72d33ff47947646bea31629c56ebb8aaec1 (diff) | |
| download | cryptopp-git-4066d707314c5a99a29d992bf9a1bea1c83b7c20.tar.gz | |
Cleanup cryptest-autotools.sh script
Diffstat (limited to 'TestScripts')
| -rwxr-xr-x | TestScripts/cryptest-autotools.sh | 22 |
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 |
