mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-12 02:08:15 +01:00
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:
parent
9e8dd15a99
commit
5c870c90a6
1 changed files with 5 additions and 0 deletions
5
configure
vendored
5
configure
vendored
|
@ -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" \
|
||||
|
|
Loading…
Add table
Reference in a new issue