Skip to content

Commit e6749a4

Browse files
committed
build: consistently quote arguments in AM_CONDITIONAL()
1 parent cdb47e1 commit e6749a4

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

configure.ac

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ AC_ARG_ENABLE(man,
289289
[AS_HELP_STRING([--disable-man],
290290
[do not install man pages (default is to install)])],,
291291
enable_man=yes)
292-
AM_CONDITIONAL(ENABLE_MAN, test "$enable_man" != no)
292+
AM_CONDITIONAL([ENABLE_MAN], [test "$enable_man" != no])
293293

294294
dnl Enable debug
295295
AC_ARG_ENABLE([debug],
@@ -1551,7 +1551,7 @@ else
15511551
build_multiprocess=no
15521552
fi
15531553

1554-
AM_CONDITIONAL([BUILD_MULTIPROCESS],[test "x$build_multiprocess" = xyes])
1554+
AM_CONDITIONAL([BUILD_MULTIPROCESS], [test "x$build_multiprocess" = xyes])
15551555
AM_CONDITIONAL([BUILD_BITCOIN_NODE], [test "x$build_multiprocess" = xyes])
15561556
AM_CONDITIONAL([BUILD_BITCOIN_GUI], [test "x$build_multiprocess" = xyes])
15571557

@@ -1755,33 +1755,33 @@ AM_CONDITIONAL([TARGET_DARWIN], [test x$TARGET_OS = xdarwin])
17551755
AM_CONDITIONAL([BUILD_DARWIN], [test x$BUILD_OS = xdarwin])
17561756
AM_CONDITIONAL([TARGET_LINUX], [test x$TARGET_OS = xlinux])
17571757
AM_CONDITIONAL([TARGET_WINDOWS], [test x$TARGET_OS = xwindows])
1758-
AM_CONDITIONAL([ENABLE_WALLET],[test x$enable_wallet = xyes])
1758+
AM_CONDITIONAL([ENABLE_WALLET], [test x$enable_wallet = xyes])
17591759
AM_CONDITIONAL([USE_SQLITE], [test "x$use_sqlite" = "xyes"])
17601760
AM_CONDITIONAL([USE_BDB], [test "x$use_bdb" = "xyes"])
1761-
AM_CONDITIONAL([ENABLE_TRACING],[test x$have_sdt = xyes])
1762-
AM_CONDITIONAL([ENABLE_TESTS],[test x$BUILD_TEST = xyes])
1763-
AM_CONDITIONAL([ENABLE_FUZZ],[test x$enable_fuzz = xyes])
1764-
AM_CONDITIONAL([ENABLE_FUZZ_BINARY],[test x$enable_fuzz_binary = xyes])
1765-
AM_CONDITIONAL([ENABLE_QT],[test x$bitcoin_enable_qt = xyes])
1766-
AM_CONDITIONAL([ENABLE_QT_TESTS],[test x$BUILD_TEST_QT = xyes])
1767-
AM_CONDITIONAL([ENABLE_BENCH],[test x$use_bench = xyes])
1761+
AM_CONDITIONAL([ENABLE_TRACING], [test x$have_sdt = xyes])
1762+
AM_CONDITIONAL([ENABLE_TESTS], [test x$BUILD_TEST = xyes])
1763+
AM_CONDITIONAL([ENABLE_FUZZ], [test x$enable_fuzz = xyes])
1764+
AM_CONDITIONAL([ENABLE_FUZZ_BINARY], [test x$enable_fuzz_binary = xyes])
1765+
AM_CONDITIONAL([ENABLE_QT], [test x$bitcoin_enable_qt = xyes])
1766+
AM_CONDITIONAL([ENABLE_QT_TESTS], [test x$BUILD_TEST_QT = xyes])
1767+
AM_CONDITIONAL([ENABLE_BENCH], [test x$use_bench = xyes])
17681768
AM_CONDITIONAL([USE_QRCODE], [test x$use_qr = xyes])
1769-
AM_CONDITIONAL([USE_LCOV],[test x$use_lcov = xyes])
1770-
AM_CONDITIONAL([USE_LIBEVENT],[test x$use_libevent = xyes])
1771-
AM_CONDITIONAL([HARDEN],[test x$use_hardening = xyes])
1772-
AM_CONDITIONAL([ENABLE_SSE42],[test x$enable_sse42 = xyes])
1773-
AM_CONDITIONAL([ENABLE_SSE41],[test x$enable_sse41 = xyes])
1774-
AM_CONDITIONAL([ENABLE_AVX2],[test x$enable_avx2 = xyes])
1775-
AM_CONDITIONAL([ENABLE_SHANI],[test x$enable_shani = xyes])
1776-
AM_CONDITIONAL([ENABLE_ARM_CRC],[test x$enable_arm_crc = xyes])
1777-
AM_CONDITIONAL([USE_ASM],[test x$use_asm = xyes])
1778-
AM_CONDITIONAL([WORDS_BIGENDIAN],[test x$ac_cv_c_bigendian = xyes])
1779-
AM_CONDITIONAL([USE_NATPMP],[test x$use_natpmp = xyes])
1780-
AM_CONDITIONAL([USE_UPNP],[test x$use_upnp = xyes])
1769+
AM_CONDITIONAL([USE_LCOV], [test x$use_lcov = xyes])
1770+
AM_CONDITIONAL([USE_LIBEVENT], [test x$use_libevent = xyes])
1771+
AM_CONDITIONAL([HARDEN], [test x$use_hardening = xyes])
1772+
AM_CONDITIONAL([ENABLE_SSE42], [test x$enable_sse42 = xyes])
1773+
AM_CONDITIONAL([ENABLE_SSE41], [test x$enable_sse41 = xyes])
1774+
AM_CONDITIONAL([ENABLE_AVX2], [test x$enable_avx2 = xyes])
1775+
AM_CONDITIONAL([ENABLE_SHANI], [test x$enable_shani = xyes])
1776+
AM_CONDITIONAL([ENABLE_ARM_CRC], [test x$enable_arm_crc = xyes])
1777+
AM_CONDITIONAL([USE_ASM], [test x$use_asm = xyes])
1778+
AM_CONDITIONAL([WORDS_BIGENDIAN], [test x$ac_cv_c_bigendian = xyes])
1779+
AM_CONDITIONAL([USE_NATPMP], [test x$use_natpmp = xyes])
1780+
AM_CONDITIONAL([USE_UPNP], [test x$use_upnp = xyes])
17811781

17821782
dnl for minisketch
1783-
AM_CONDITIONAL([ENABLE_CLMUL],[test x$enable_clmul = xyes])
1784-
AM_CONDITIONAL([HAVE_CLZ],[test x$have_clzl$have_clzll = xyesyes])
1783+
AM_CONDITIONAL([ENABLE_CLMUL], [test x$enable_clmul = xyes])
1784+
AM_CONDITIONAL([HAVE_CLZ], [test x$have_clzl$have_clzll = xyesyes])
17851785

17861786
AC_DEFINE([CLIENT_VERSION_MAJOR], [_CLIENT_VERSION_MAJOR], [Major version])
17871787
AC_DEFINE([CLIENT_VERSION_MINOR], [_CLIENT_VERSION_MINOR], [Minor version])

0 commit comments

Comments
 (0)