bitcoin/build-aux/m4
fanquake d6d402bd2b
build: remove x-prefix comparisons
Very old shells suffered from bugs which meant that prefixing variables
with an "x" to ensure that the lefthand side of a comparison always
started with an alphanumeric character was needed. Modern shells don't
suffer from this issue (i.e Bash was fixed in 1996).

In any case, we've already got unprefixed checks used in our codebase,
i.e https://github.com/bitcoin/bitcoin/blob/master/configure.ac#L292,
and have dependencies (in depends) that also use unprefixed comparisons.

I think it's time that we can consolidate on not using the x-prefix
workaround. At best it's mostly just confusing.

More info:
https://github.com/koalaman/shellcheck/wiki/SC2268
https://www.vidarholen.net/contents/blog/?p=1035
2021-12-03 21:03:35 +08:00
..
ax_boost_base.m4 build: Add /opt/homebrew to path to look for boost libraries 2021-02-19 01:37:31 +00:00
ax_boost_filesystem.m4
ax_boost_system.m4
ax_boost_unit_test_framework.m4
ax_check_compile_flag.m4 build: AX_CHECK_COMPILE_FLAG() serial 6 2021-11-12 10:01:59 +08:00
ax_check_link_flag.m4 build: AX_CHECK_LINK_FLAG serial 6 2021-11-12 10:01:59 +08:00
ax_check_preproc_flag.m4 build: AX_CHECK_PREPROC_FLAG() serial 6 2021-11-12 10:01:59 +08:00
ax_cxx_compile_stdcxx.m4 Update ax_cxx_compile_stdcxx.m4 2020-04-11 02:15:20 -07:00
ax_pthread.m4 build: AX_PTHREAD serial 27 2020-09-14 16:35:09 +08:00
bitcoin_find_bdb48.m4 build: remove x-prefix comparisons 2021-12-03 21:03:35 +08:00
bitcoin_qt.m4 build: remove x-prefix comparisons 2021-12-03 21:03:35 +08:00
bitcoin_runtime_lib.m4 build: Fix undefined reference to __mulodi4 2021-07-27 14:53:24 +03:00
bitcoin_subdir_to_include.m4 build: remove x-prefix comparisons 2021-12-03 21:03:35 +08:00
l_atomic.m4 build: improve macro for testing -latomic requirement 2021-05-11 20:07:20 +02:00
l_socket.m4 build: check if -lsocket is required with *ifaddrs 2021-03-29 11:09:40 +08:00