Skip to content

Commit

Permalink
build: Use newest config.{guess,sub} available
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Apr 23, 2023
1 parent 397ed22 commit ea7b852
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,12 @@ fi
command -v autoreconf >/dev/null || \
(echo "configuration failed, please install autoconf first" && exit 1)
autoreconf --install --force --warnings=all

if expr "'$(build-aux/config.guess --timestamp)" \< "'$(depends/config.guess --timestamp)" > /dev/null; then
cp depends/config.guess build-aux
cp depends/config.guess src/secp256k1/build-aux
fi
if expr "'$(build-aux/config.sub --timestamp)" \< "'$(depends/config.sub --timestamp)" > /dev/null; then
cp depends/config.sub build-aux
cp depends/config.sub src/secp256k1/build-aux
fi

0 comments on commit ea7b852

Please sign in to comment.