Bootstrap secp256k1 in build scripts
This commit is contained in:
@@ -26,4 +26,8 @@ if ! command -v autoreconf >/dev/null 2>&1; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -x "$srcdir/src/secp256k1/autogen.sh" ]; then
|
||||
(cd "$srcdir/src/secp256k1" && ./autogen.sh)
|
||||
fi
|
||||
|
||||
autoreconf --install --force --warnings=all
|
||||
|
||||
@@ -331,7 +331,7 @@ build_windows_daemon() {
|
||||
|
||||
run_step 45 "Building Windows daemon depends" make -C depends HOST="$HOST_WIN64" NO_QT=1 -j"$JOBS"
|
||||
|
||||
if [[ ! -f configure ]]; then
|
||||
if [[ ! -f configure || ! -f src/secp256k1/configure || ! -f src/secp256k1/Makefile.in ]]; then
|
||||
run_step 60 "Generating configure script" ./autogen.sh
|
||||
fi
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ make -C depends HOST="$HOST" NO_QT=0 -j"$JOBS"
|
||||
require_path "$BASE_CONFIG"
|
||||
ensure_native_protoc
|
||||
|
||||
if [[ ! -f configure ]]; then
|
||||
if [[ ! -f configure || ! -f src/secp256k1/configure || ! -f src/secp256k1/Makefile.in ]]; then
|
||||
./autogen.sh
|
||||
fi
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ make -C depends HOST="$HOST" NO_QT=0 -j"$JOBS"
|
||||
require_path "$PREFIX/share/config.site"
|
||||
ensure_native_tools
|
||||
|
||||
if [[ ! -f configure ]]; then
|
||||
if [[ ! -f configure || ! -f src/secp256k1/configure || ! -f src/secp256k1/Makefile.in ]]; then
|
||||
./autogen.sh
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user