Add recipe to call dos2unix if available

pull/681/head
Jeffrey Walton 2018-07-01 21:38:47 -04:00
parent aa80c7d4ac
commit 7bfeb4f3a2
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@ if ! wget --no-check-certificate https://raw.githubusercontent.com/noloader/cryp
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
fi
if [[ ! -z $(command -v dos2unix) ]]; then
dos2unix Makefile.am configure.ac libcryptopp.pc.in
fi
if ! autoreconf --force --install --warnings=all; then
echo "autoreconf failed"
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1