Skip to content

Commit

Permalink
build: copy updated config.guess & config.sub into build-aux
Browse files Browse the repository at this point in the history
autoreconf / libtoolize may generate versions of config.guess and config.sub
that are too old to recognise some triplets, i.e arm64-apple-darwin20, so
copy over the generated config.guess & config.sub with updated versions.
  • Loading branch information
fanquake committed May 28, 2021
1 parent 24c8aef commit b1984ac
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,15 @@ fi
command -v autoreconf >/dev/null || \
(echo "configuration failed, please install autoconf first" && exit 1)
autoreconf --install --force --warnings=all

# autoreconf / libtoolize may generate versions of config.guess and config.sub
# that are too old to recognise some triplets, i.e arm64-apple-darwin20, so
# copy over the generated config.guess & config.sub with updated versions.
cp depends/config.guess build-aux/config.guess
cp depends/config.sub build-aux/config.sub

cp depends/config.guess src/secp256k1/build-aux/config.guess
cp depends/config.sub src/secp256k1/build-aux/config.sub

cp depends/config.guess src/univalue/build-aux/config.guess
cp depends/config.sub src/univalue/build-aux/config.sub

0 comments on commit b1984ac

Please sign in to comment.