mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 02:33:24 -03:00
Merge bitcoin/bitcoin#23557: configure.ac: remove Bashism
cf7292597e
configure.ac: remove Bashism (Matt Whitlock) Pull request description: Configure scripts are supposed to adhere to the POSIX shell language. The POSIX `test` builtin does not implement an `==` operator. Bash does, but not all systems have Bash installed as `/bin/sh`. In particular, many systems use the lighter-weight Dash as the default POSIX shell. Dash emits the following error when running `configure`: ``` ./configure: 39065: test: xno: unexpected operator ``` This PR removes the Bashism and restores correct operation with POSIX-compliant shells like Dash. ACKs for top commit: katesalazar: ACKcf7292597e
. laanwj: Code review ACKcf7292597e
Tree-SHA512: 578c873fba52e0472baed9e024bddcf58a0e088600bd5854f3011f1f8d135773ad923bb16baefc960d17ecedee9cc980b36aaa70fb32eb9bc7de93f7fe60541d
This commit is contained in:
commit
ee7e061563
1 changed files with 1 additions and 1 deletions
|
@ -1923,7 +1923,7 @@ if test x$bitcoin_enable_qt != xno; then
|
|||
echo " with qr = $use_qr"
|
||||
fi
|
||||
echo " with zmq = $use_zmq"
|
||||
if test x$enable_fuzz == xno; then
|
||||
if test x$enable_fuzz = xno; then
|
||||
echo " with test = $use_tests"
|
||||
else
|
||||
echo " with test = not building test_bitcoin because fuzzing is enabled"
|
||||
|
|
Loading…
Add table
Reference in a new issue