Skip to content

Commit

Permalink
Merge pull request #2722 from div72/upstream_edd2a864
Browse files Browse the repository at this point in the history
build: Use newest `config.{guess,sub}` available
  • Loading branch information
jamescowens authored Dec 10, 2023
2 parents 4ecb36d + ec0a132 commit f82e653
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,16 @@ 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
chmod ug+w build-aux/config.guess
chmod ug+w src/secp256k1/build-aux/config.guess
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
chmod ug+w build-aux/config.sub
chmod ug+w src/secp256k1/build-aux/config.sub
cp depends/config.sub build-aux
cp depends/config.sub src/secp256k1/build-aux
fi

0 comments on commit f82e653

Please sign in to comment.