configure: ensure that we have jq.

Otherwise we can get other crashes it seems?

Fixes: https://github.com/ElementsProject/lightning/issues/7657
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2024-09-13 10:12:30 +09:30 committed by Vincenzo Palazzo
parent 9e8dd15a99
commit 5c870c90a6

5
configure vendored
View File

@ -524,6 +524,11 @@ else
exit 1
fi
if ! check_command 'jq' jq; then
echo "*** We need jq!" >&2
exit 1
fi
# Now we can finally set our warning flags
if [ -z ${CWARNFLAGS+x} ]; then
CWARNFLAGS=$(default_cwarnflags "$COPTFLAGS" \