This is an automated email from the ASF dual-hosted git repository. jan pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 576ab21c6e55870f57335ffd71d8e924871196f5 Author: Gabor Pali <[email protected]> AuthorDate: Wed Jan 18 20:54:57 2023 +0100 Unify style of `if` blocks --- configure | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 4315fe8e8..8e2057e2d 100755 --- a/configure +++ b/configure @@ -229,14 +229,12 @@ parse_opts() { parse_opts $@ -if [ "${ARCH}" = "aarch64" ] && [ "${SM_VSN}" = "60" ] -then +if [ "${ARCH}" = "aarch64" ] && [ "${SM_VSN}" = "60" ]; then echo "ERROR: SpiderMonkey 60 is known broken on ARM 64 (aarch64). Use another version instead." exit 1 fi -if [ "${ERLANG_OS}" = "unix" ] -then +if [ "${ERLANG_OS}" = "unix" ]; then case "${SM_VSN}" in 1.8.5) SM_HEADERS="js" @@ -248,8 +246,7 @@ then # This list is taken from src/couch/rebar.config.script, please keep them in sync. if [ ! -d "/usr/include/${SM_HEADERS}" ] && \ [ ! -d "/usr/local/include/${SM_HEADERS}" ] && \ - [ ! -d "/opt/homebrew/include/${SM_HEADERS}" ] - then + [ ! -d "/opt/homebrew/include/${SM_HEADERS}" ]; then echo "ERROR: SpiderMonkey ${SM_VSN} is not found. Please specify with --spidermonkey-version." exit 1 fi
