Skip to content

Commit cdb47e1

Browse files
committed
build: consistently quote AC_DEFINE() arguments
1 parent a17a3f9 commit cdb47e1

File tree

2 files changed

+41
-41
lines changed

2 files changed

+41
-41
lines changed

build-aux/m4/bitcoin_qt.m4

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,34 +136,34 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
136136
fi
137137
fi
138138
139-
AC_DEFINE(QT_STATICPLUGIN, 1, [Define this symbol if qt plugins are static])
139+
AC_DEFINE([QT_STATICPLUGIN], [1], [Define this symbol if qt plugins are static])
140140
if test "x$TARGET_OS" != xandroid; then
141141
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QMinimalIntegrationPlugin], [-lqminimal])
142-
AC_DEFINE(QT_QPA_PLATFORM_MINIMAL, 1, [Define this symbol if the minimal qt platform exists])
142+
AC_DEFINE([QT_QPA_PLATFORM_MINIMAL], [1], [Define this symbol if the minimal qt platform exists])
143143
fi
144144
if test "x$TARGET_OS" = xwindows; then
145145
dnl Linking against wtsapi32 is required. See #17749 and
146146
dnl https://bugreports.qt.io/browse/QTBUG-27097.
147147
AX_CHECK_LINK_FLAG([-lwtsapi32], [QT_LIBS="$QT_LIBS -lwtsapi32"], [AC_MSG_ERROR([could not link against -lwtsapi32])])
148148
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QWindowsIntegrationPlugin], [-lqwindows])
149149
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QWindowsVistaStylePlugin], [-lqwindowsvistastyle])
150-
AC_DEFINE(QT_QPA_PLATFORM_WINDOWS, 1, [Define this symbol if the qt platform is windows])
150+
AC_DEFINE([QT_QPA_PLATFORM_WINDOWS], [1], [Define this symbol if the qt platform is windows])
151151
elif test "x$TARGET_OS" = xlinux; then
152152
dnl workaround for https://bugreports.qt.io/browse/QTBUG-74874
153153
AX_CHECK_LINK_FLAG([-lxcb-shm], [QT_LIBS="$QT_LIBS -lxcb-shm"], [AC_MSG_ERROR([could not link against -lxcb-shm])])
154154
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QXcbIntegrationPlugin], [-lqxcb])
155-
AC_DEFINE(QT_QPA_PLATFORM_XCB, 1, [Define this symbol if the qt platform is xcb])
155+
AC_DEFINE([QT_QPA_PLATFORM_XCB], [1], [Define this symbol if the qt platform is xcb])
156156
elif test "x$TARGET_OS" = xdarwin; then
157157
AX_CHECK_LINK_FLAG([-framework Carbon], [QT_LIBS="$QT_LIBS -framework Carbon"], [AC_MSG_ERROR(could not link against Carbon framework)])
158158
AX_CHECK_LINK_FLAG([-framework IOSurface], [QT_LIBS="$QT_LIBS -framework IOSurface"], [AC_MSG_ERROR(could not link against IOSurface framework)])
159159
AX_CHECK_LINK_FLAG([-framework Metal], [QT_LIBS="$QT_LIBS -framework Metal"], [AC_MSG_ERROR(could not link against Metal framework)])
160160
AX_CHECK_LINK_FLAG([-framework QuartzCore], [QT_LIBS="$QT_LIBS -framework QuartzCore"], [AC_MSG_ERROR(could not link against QuartzCore framework)])
161161
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QCocoaIntegrationPlugin], [-lqcocoa])
162162
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QMacStylePlugin], [-lqmacstyle])
163-
AC_DEFINE(QT_QPA_PLATFORM_COCOA, 1, [Define this symbol if the qt platform is cocoa])
163+
AC_DEFINE([QT_QPA_PLATFORM_COCOA], [1], [Define this symbol if the qt platform is cocoa])
164164
elif test "x$TARGET_OS" = xandroid; then
165165
QT_LIBS="-Wl,--export-dynamic,--undefined=JNI_OnLoad -lqtforandroid -ljnigraphics -landroid -lqtfreetype $QT_LIBS"
166-
AC_DEFINE(QT_QPA_PLATFORM_ANDROID, 1, [Define this symbol if the qt platform is android])
166+
AC_DEFINE([QT_QPA_PLATFORM_ANDROID], [1], [Define this symbol if the qt platform is android])
167167
fi
168168
fi
169169
CPPFLAGS=$TEMP_CPPFLAGS

configure.ac

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ AC_ARG_ENABLE([asm],
258258
[use_asm=yes])
259259

260260
if test "x$use_asm" = xyes; then
261-
AC_DEFINE(USE_ASM, 1, [Define this symbol to build in assembly routines])
261+
AC_DEFINE([USE_ASM], [1], [Define this symbol to build in assembly routines])
262262
fi
263263

264264
AC_ARG_ENABLE([zmq],
@@ -485,7 +485,7 @@ AX_CHECK_COMPILE_FLAG([-mpclmul], [enable_clmul=yes], [], [$CXXFLAG_WERROR], [AC
485485

486486
if test x$enable_clmul = xyes; then
487487
CLMUL_CXXFLAGS="-mpclmul"
488-
AC_DEFINE(HAVE_CLMUL, 1, [Define this symbol if clmul instructions can be used])
488+
AC_DEFINE([HAVE_CLMUL], [1], [Define this symbol if clmul instructions can be used])
489489
fi
490490

491491
TEMP_CXXFLAGS="$CXXFLAGS"
@@ -520,7 +520,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
520520
__m128i l = _mm_set1_epi32(0);
521521
return _mm_extract_epi32(l, 3);
522522
]])],
523-
[ AC_MSG_RESULT(yes); enable_sse41=yes; AC_DEFINE(ENABLE_SSE41, 1, [Define this symbol to build code that uses SSE4.1 intrinsics]) ],
523+
[ AC_MSG_RESULT(yes); enable_sse41=yes; AC_DEFINE([ENABLE_SSE41], [1], [Define this symbol to build code that uses SSE4.1 intrinsics]) ],
524524
[ AC_MSG_RESULT(no)]
525525
)
526526
CXXFLAGS="$TEMP_CXXFLAGS"
@@ -535,7 +535,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
535535
__m256i l = _mm256_set1_epi32(0);
536536
return _mm256_extract_epi32(l, 7);
537537
]])],
538-
[ AC_MSG_RESULT(yes); enable_avx2=yes; AC_DEFINE(ENABLE_AVX2, 1, [Define this symbol to build code that uses AVX2 intrinsics]) ],
538+
[ AC_MSG_RESULT(yes); enable_avx2=yes; AC_DEFINE([ENABLE_AVX2], [1], [Define this symbol to build code that uses AVX2 intrinsics]) ],
539539
[ AC_MSG_RESULT(no)]
540540
)
541541
CXXFLAGS="$TEMP_CXXFLAGS"
@@ -552,7 +552,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
552552
__m128i k = _mm_set1_epi32(2);
553553
return _mm_extract_epi32(_mm_sha256rnds2_epu32(i, i, k), 0);
554554
]])],
555-
[ AC_MSG_RESULT(yes); enable_shani=yes; AC_DEFINE(ENABLE_SHANI, 1, [Define this symbol to build code that uses SHA-NI intrinsics]) ],
555+
[ AC_MSG_RESULT(yes); enable_shani=yes; AC_DEFINE([ENABLE_SHANI], [1], [Define this symbol to build code that uses SHA-NI intrinsics]) ],
556556
[ AC_MSG_RESULT(no)]
557557
)
558558
CXXFLAGS="$TEMP_CXXFLAGS"
@@ -971,31 +971,31 @@ AC_MSG_CHECKING([for __builtin_clzl])
971971
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]], [[
972972
(void) __builtin_clzl(0);
973973
]])],
974-
[ AC_MSG_RESULT(yes); have_clzl=yes; AC_DEFINE(HAVE_BUILTIN_CLZL, 1, [Define this symbol if you have __builtin_clzl])],
974+
[ AC_MSG_RESULT(yes); have_clzl=yes; AC_DEFINE([HAVE_BUILTIN_CLZL], [1], [Define this symbol if you have __builtin_clzl])],
975975
[ AC_MSG_RESULT(no); have_clzl=no;]
976976
)
977977

978978
AC_MSG_CHECKING([for __builtin_clzll])
979979
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]], [[
980980
(void) __builtin_clzll(0);
981981
]])],
982-
[ AC_MSG_RESULT(yes); have_clzll=yes; AC_DEFINE(HAVE_BUILTIN_CLZLL, 1, [Define this symbol if you have __builtin_clzll])],
982+
[ AC_MSG_RESULT(yes); have_clzll=yes; AC_DEFINE([HAVE_BUILTIN_CLZLL], [1], [Define this symbol if you have __builtin_clzll])],
983983
[ AC_MSG_RESULT(no); have_clzll=no;]
984984
)
985985

986986
dnl Check for malloc_info (for memory statistics information in getmemoryinfo)
987987
AC_MSG_CHECKING([for getmemoryinfo])
988988
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <malloc.h>]],
989989
[[ int f = malloc_info(0, NULL); ]])],
990-
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_MALLOC_INFO, 1,[Define this symbol if you have malloc_info]) ],
990+
[ AC_MSG_RESULT(yes); AC_DEFINE([HAVE_MALLOC_INFO], [1], [Define this symbol if you have malloc_info]) ],
991991
[ AC_MSG_RESULT(no)]
992992
)
993993

994994
dnl Check for mallopt(M_ARENA_MAX) (to set glibc arenas)
995995
AC_MSG_CHECKING([for mallopt M_ARENA_MAX])
996996
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <malloc.h>]],
997997
[[ mallopt(M_ARENA_MAX, 1); ]])],
998-
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_MALLOPT_ARENA_MAX, 1,[Define this symbol if you have mallopt with M_ARENA_MAX]) ],
998+
[ AC_MSG_RESULT(yes); AC_DEFINE([HAVE_MALLOPT_ARENA_MAX], [1], [Define this symbol if you have mallopt with M_ARENA_MAX]) ],
999999
[ AC_MSG_RESULT(no)]
10001000
)
10011001

@@ -1011,7 +1011,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
10111011
#endif // __linux__
10121012
#include <fcntl.h>]],
10131013
[[ int f = posix_fallocate(0, 0, 0); ]])],
1014-
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_POSIX_FALLOCATE, 1,[Define this symbol if you have posix_fallocate]) ],
1014+
[ AC_MSG_RESULT(yes); AC_DEFINE([HAVE_POSIX_FALLOCATE], [1], [Define this symbol if you have posix_fallocate]) ],
10151015
[ AC_MSG_RESULT(no)]
10161016
)
10171017

@@ -1021,7 +1021,7 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
10211021
int main(){}
10221022
])],
10231023
[
1024-
AC_DEFINE(HAVE_DEFAULT_VISIBILITY_ATTRIBUTE,1,[Define if the visibility attribute is supported.])
1024+
AC_DEFINE([HAVE_DEFAULT_VISIBILITY_ATTRIBUTE], [1], [Define if the visibility attribute is supported.])
10251025
AC_MSG_RESULT(yes)
10261026
],
10271027
[
@@ -1038,7 +1038,7 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
10381038
int main(){}
10391039
])],
10401040
[
1041-
AC_DEFINE(HAVE_DLLEXPORT_ATTRIBUTE,1,[Define if the dllexport attribute is supported.])
1041+
AC_DEFINE([HAVE_DLLEXPORT_ATTRIBUTE], [1], [Define if the dllexport attribute is supported.])
10421042
AC_MSG_RESULT(yes)
10431043
],
10441044
[AC_MSG_RESULT(no)]
@@ -1074,7 +1074,7 @@ if test "x$use_thread_local" = xyes || test "x$use_thread_local" = xauto; then
10741074
AC_MSG_RESULT(no)
10751075
;;
10761076
*)
1077-
AC_DEFINE(HAVE_THREAD_LOCAL,1,[Define if thread_local is supported.])
1077+
AC_DEFINE([HAVE_THREAD_LOCAL], [1], [Define if thread_local is supported.])
10781078
AC_MSG_RESULT(yes)
10791079
;;
10801080
esac
@@ -1091,7 +1091,7 @@ dnl fail if neither are available.
10911091
AC_MSG_CHECKING([for gmtime_r])
10921092
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <ctime>]],
10931093
[[ gmtime_r((const time_t *) nullptr, (struct tm *) nullptr); ]])],
1094-
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_GMTIME_R, 1, [Define this symbol if gmtime_r is available]) ],
1094+
[ AC_MSG_RESULT(yes); AC_DEFINE([HAVE_GMTIME_R], [1], [Define this symbol if gmtime_r is available]) ],
10951095
[ AC_MSG_RESULT(no);
10961096
AC_MSG_CHECKING([for gmtime_s]);
10971097
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <ctime>]],
@@ -1108,22 +1108,22 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
11081108
#include <sys/syscall.h>
11091109
#include <linux/random.h>]],
11101110
[[ syscall(SYS_getrandom, nullptr, 32, 0); ]])],
1111-
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_SYS_GETRANDOM, 1,[Define this symbol if the Linux getrandom system call is available]) ],
1111+
[ AC_MSG_RESULT(yes); AC_DEFINE([HAVE_SYS_GETRANDOM], [1], [Define this symbol if the Linux getrandom system call is available]) ],
11121112
[ AC_MSG_RESULT(no)]
11131113
)
11141114

11151115
AC_MSG_CHECKING([for getentropy])
11161116
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]],
11171117
[[ getentropy(nullptr, 32) ]])],
1118-
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_GETENTROPY, 1,[Define this symbol if the BSD getentropy system call is available]) ],
1118+
[ AC_MSG_RESULT(yes); AC_DEFINE([HAVE_GETENTROPY], [1], [Define this symbol if the BSD getentropy system call is available]) ],
11191119
[ AC_MSG_RESULT(no)]
11201120
)
11211121

11221122
AC_MSG_CHECKING([for getentropy via random.h])
11231123
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
11241124
#include <sys/random.h>]],
11251125
[[ getentropy(nullptr, 32) ]])],
1126-
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_GETENTROPY_RAND, 1,[Define this symbol if the BSD getentropy system call is available with sys/random.h]) ],
1126+
[ AC_MSG_RESULT(yes); AC_DEFINE([HAVE_GETENTROPY_RAND], [1], [Define this symbol if the BSD getentropy system call is available with sys/random.h]) ],
11271127
[ AC_MSG_RESULT(no)]
11281128
)
11291129

@@ -1134,7 +1134,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
11341134
#error "Don't use sysctl on Linux, it's deprecated even when it works"
11351135
#endif
11361136
sysctl(nullptr, 2, nullptr, nullptr, nullptr, 0); ]])],
1137-
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_SYSCTL, 1,[Define this symbol if the BSD sysctl() is available]) ],
1137+
[ AC_MSG_RESULT(yes); AC_DEFINE([HAVE_SYSCTL], [1], [Define this symbol if the BSD sysctl() is available]) ],
11381138
[ AC_MSG_RESULT(no)]
11391139
)
11401140

@@ -1146,15 +1146,15 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
11461146
#endif
11471147
static int name[2] = {CTL_KERN, KERN_ARND};
11481148
sysctl(name, 2, nullptr, nullptr, nullptr, 0); ]])],
1149-
[ AC_MSG_RESULT(yes); AC_DEFINE(HAVE_SYSCTL_ARND, 1,[Define this symbol if the BSD sysctl(KERN_ARND) is available]) ],
1149+
[ AC_MSG_RESULT(yes); AC_DEFINE([HAVE_SYSCTL_ARND], [1], [Define this symbol if the BSD sysctl(KERN_ARND) is available]) ],
11501150
[ AC_MSG_RESULT(no)]
11511151
)
11521152

11531153
AC_MSG_CHECKING([for if type char equals int8_t])
11541154
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdint.h>
11551155
#include <type_traits>]],
11561156
[[ static_assert(std::is_same<int8_t, char>::value, ""); ]])],
1157-
[ AC_MSG_RESULT(yes); AC_DEFINE(CHAR_EQUALS_INT8, 1,[Define this symbol if type char equals int8_t]) ],
1157+
[ AC_MSG_RESULT(yes); AC_DEFINE([CHAR_EQUALS_INT8], [1], [Define this symbol if type char equals int8_t]) ],
11581158
[ AC_MSG_RESULT(no)]
11591159
)
11601160

@@ -1208,7 +1208,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
12081208
]], [[
12091209
getauxval(AT_HWCAP);
12101210
]])],
1211-
[ AC_MSG_RESULT(yes); HAVE_STRONG_GETAUXVAL=1; AC_DEFINE(HAVE_STRONG_GETAUXVAL, 1, [Define this symbol to build code that uses getauxval)]) ],
1211+
[ AC_MSG_RESULT(yes); HAVE_STRONG_GETAUXVAL=1; AC_DEFINE([HAVE_STRONG_GETAUXVAL], [1], [Define this symbol to build code that uses getauxval)]) ],
12121212
[ AC_MSG_RESULT(no); HAVE_STRONG_GETAUXVAL=0 ]
12131213
)
12141214

@@ -1234,7 +1234,7 @@ AC_LINK_IFELSE(
12341234
)
12351235

12361236
if test "x$have_any_system" != "xno"; then
1237-
AC_DEFINE(HAVE_SYSTEM, 1, Define to 1 if std::system or ::wsystem is available.)
1237+
AC_DEFINE([HAVE_SYSTEM], [1], [Define to 1 if std::system or ::wsystem is available.])
12381238
fi
12391239

12401240
dnl SUPPRESSED_CPPFLAGS=SUPPRESS_WARNINGS([$SOME_CPPFLAGS])
@@ -1412,7 +1412,7 @@ if test x$use_boost = xyes; then
14121412
fi
14131413

14141414
if test "x$use_external_signer" != xno; then
1415-
AC_DEFINE([ENABLE_EXTERNAL_SIGNER],,[define if external signer support is enabled])
1415+
AC_DEFINE([ENABLE_EXTERNAL_SIGNER], [], [Define if external signer support is enabled])
14161416
fi
14171417
AM_CONDITIONAL([ENABLE_EXTERNAL_SIGNER], [test "x$use_external_signer" = "xyes"])
14181418

@@ -1434,7 +1434,7 @@ if test "x$seccomp_found" != "xno"; then
14341434
]])],[
14351435
AC_MSG_RESULT(yes)
14361436
seccomp_found="yes"
1437-
AC_DEFINE(USE_SYSCALL_SANDBOX, 1, [Define this symbol to build with syscall sandbox support.])
1437+
AC_DEFINE([USE_SYSCALL_SANDBOX], [1], [Define this symbol to build with syscall sandbox support.])
14381438
],[
14391439
AC_MSG_RESULT(no)
14401440
seccomp_found="no"
@@ -1589,7 +1589,7 @@ AC_MSG_RESULT($build_bitcoin_util)
15891589
AC_MSG_CHECKING([whether to build libraries])
15901590
AM_CONDITIONAL([BUILD_BITCOIN_LIBS], [test x$build_bitcoin_libs = xyes])
15911591
if test x$build_bitcoin_libs = xyes; then
1592-
AC_DEFINE(HAVE_CONSENSUS_LIB, 1, [Define this symbol if the consensus lib has been built])
1592+
AC_DEFINE([HAVE_CONSENSUS_LIB], [1], [Define this symbol if the consensus lib has been built])
15931593
AC_CONFIG_FILES([libbitcoinconsensus.pc:libbitcoinconsensus.pc.in])
15941594
fi
15951595
AC_MSG_RESULT($build_bitcoin_libs)
@@ -1689,7 +1689,7 @@ if test x$bitcoin_enable_qt != xno; then
16891689
dnl enable dbus support
16901690
AC_MSG_CHECKING([whether to build GUI with support for D-Bus])
16911691
if test x$bitcoin_enable_qt_dbus != xno; then
1692-
AC_DEFINE([USE_DBUS],[1],[Define if dbus support should be compiled in])
1692+
AC_DEFINE([USE_DBUS], [1], [Define if dbus support should be compiled in])
16931693
fi
16941694
AC_MSG_RESULT($bitcoin_enable_qt_dbus)
16951695

@@ -1702,7 +1702,7 @@ if test x$bitcoin_enable_qt != xno; then
17021702
use_qr=no
17031703
else
17041704
if test x$use_qr != xno; then
1705-
AC_DEFINE([USE_QRCODE],[1],[Define if QR support should be compiled in])
1705+
AC_DEFINE([USE_QRCODE], [1], [Define if QR support should be compiled in])
17061706
use_qr=yes
17071707
fi
17081708
fi
@@ -1783,15 +1783,15 @@ dnl for minisketch
17831783
AM_CONDITIONAL([ENABLE_CLMUL],[test x$enable_clmul = xyes])
17841784
AM_CONDITIONAL([HAVE_CLZ],[test x$have_clzl$have_clzll = xyesyes])
17851785

1786-
AC_DEFINE(CLIENT_VERSION_MAJOR, _CLIENT_VERSION_MAJOR, [Major version])
1787-
AC_DEFINE(CLIENT_VERSION_MINOR, _CLIENT_VERSION_MINOR, [Minor version])
1788-
AC_DEFINE(CLIENT_VERSION_BUILD, _CLIENT_VERSION_BUILD, [Version Build])
1789-
AC_DEFINE(CLIENT_VERSION_IS_RELEASE, _CLIENT_VERSION_IS_RELEASE, [Version is release])
1790-
AC_DEFINE(COPYRIGHT_YEAR, _COPYRIGHT_YEAR, [Copyright year])
1791-
AC_DEFINE(COPYRIGHT_HOLDERS, "_COPYRIGHT_HOLDERS", [Copyright holder(s) before %s replacement])
1792-
AC_DEFINE(COPYRIGHT_HOLDERS_SUBSTITUTION, "_COPYRIGHT_HOLDERS_SUBSTITUTION", [Replacement for %s in copyright holders string])
1786+
AC_DEFINE([CLIENT_VERSION_MAJOR], [_CLIENT_VERSION_MAJOR], [Major version])
1787+
AC_DEFINE([CLIENT_VERSION_MINOR], [_CLIENT_VERSION_MINOR], [Minor version])
1788+
AC_DEFINE([CLIENT_VERSION_BUILD], [_CLIENT_VERSION_BUILD], [Version Build])
1789+
AC_DEFINE([CLIENT_VERSION_IS_RELEASE], [_CLIENT_VERSION_IS_RELEASE], [Version is release])
1790+
AC_DEFINE([COPYRIGHT_YEAR], [_COPYRIGHT_YEAR], [Copyright year])
1791+
AC_DEFINE([COPYRIGHT_HOLDERS], ["_COPYRIGHT_HOLDERS"], [Copyright holder(s) before %s replacement])
1792+
AC_DEFINE([COPYRIGHT_HOLDERS_SUBSTITUTION], ["_COPYRIGHT_HOLDERS_SUBSTITUTION"], [Replacement for %s in copyright holders string])
17931793
define(_COPYRIGHT_HOLDERS_FINAL, [patsubst(_COPYRIGHT_HOLDERS, [%s], [_COPYRIGHT_HOLDERS_SUBSTITUTION])])
1794-
AC_DEFINE(COPYRIGHT_HOLDERS_FINAL, "_COPYRIGHT_HOLDERS_FINAL", [Copyright holder(s)])
1794+
AC_DEFINE([COPYRIGHT_HOLDERS_FINAL], ["_COPYRIGHT_HOLDERS_FINAL"], [Copyright holder(s)])
17951795
AC_SUBST(CLIENT_VERSION_MAJOR, _CLIENT_VERSION_MAJOR)
17961796
AC_SUBST(CLIENT_VERSION_MINOR, _CLIENT_VERSION_MINOR)
17971797
AC_SUBST(CLIENT_VERSION_BUILD, _CLIENT_VERSION_BUILD)

0 commit comments

Comments
 (0)