Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
241 commits
Select commit Hold shift + click to select a range
b3db974
Update random.cpp
grigzy28 Oct 12, 2024
9a1e1b0
changes
grigzy28 Oct 31, 2024
9631368
more memory testing
grigzy28 Nov 18, 2024
24b94ea
Update configure.ac
grigzy28 Nov 22, 2024
25b8517
Update validation.cpp
grigzy28 Nov 23, 2024
d56ed4c
Update validation.cpp
grigzy28 Nov 23, 2024
dd9bbba
testing
grigzy28 Nov 23, 2024
3b5cbe0
test
grigzy28 Nov 23, 2024
7a29326
Update validation.cpp
grigzy28 Nov 23, 2024
3b6959c
Revert "Update validation.cpp"
grigzy28 Nov 23, 2024
0a3a13f
Merge branch 'memory-testing-001' of https://github.com/grigzy28/Stak…
grigzy28 Nov 23, 2024
c4f606d
Update validation.cpp
grigzy28 Nov 23, 2024
a666193
Update validation.cpp
grigzy28 Nov 23, 2024
f22b822
Update validation.cpp
grigzy28 Nov 23, 2024
2d34b4f
Update validation.cpp
grigzy28 Nov 23, 2024
f935296
Update validation.cpp
grigzy28 Nov 23, 2024
360aeda
Update validation.cpp
grigzy28 Nov 24, 2024
228ed9f
typo
grigzy28 Nov 24, 2024
a987f47
Update validation.cpp
grigzy28 Nov 24, 2024
b93e412
Update validation.cpp
grigzy28 Nov 24, 2024
e5db5e5
updates
grigzy28 Nov 24, 2024
72fae0b
Update validation.cpp
grigzy28 Nov 24, 2024
7730794
Updates for Ubuntu 24 building
grigzy28 Nov 26, 2024
33c1e85
Update bip32.h
grigzy28 Nov 26, 2024
ddd94f5
Update funcs.mk
grigzy28 Dec 1, 2024
c85d7e0
Revert "Update funcs.mk"
grigzy28 Dec 1, 2024
5428a64
[LIBS LINKING] Fix missing CBatchedLogger Linker Issue on Compile
2a5A1Ghu1 Dec 1, 2024
b5c61ba
Merge pull request #2 from 2a5A1Ghu1/patch-1
grigzy28 Dec 1, 2024
7d6c047
Update packages.mk
grigzy28 Dec 2, 2024
dfcce7b
combined updates
grigzy28 Dec 13, 2024
47b8454
Update logging.h
grigzy28 Jan 14, 2025
12770cc
Update boost.mk
grigzy28 Jan 14, 2025
40eaa5d
c++ 20 updates for leveldb 1.23
grigzy28 Jan 15, 2025
b8a1ec2
Update versionbits.cpp
grigzy28 Jan 15, 2025
e5f8007
Update versionbits.cpp
grigzy28 Jan 15, 2025
fe8bb8e
Update versionbits.cpp
grigzy28 Jan 15, 2025
e9f96fa
Update versionbits.cpp
grigzy28 Jan 15, 2025
7ee894e
Update versionbits.cpp
grigzy28 Jan 15, 2025
91c5ca3
...
grigzy28 Jan 15, 2025
f01f7a5
Update versionbits.cpp
grigzy28 Jan 15, 2025
42a58d6
Update versionbits.cpp
grigzy28 Jan 15, 2025
44e4cfe
Update validation.cpp
grigzy28 Jan 15, 2025
02615ae
Update chain.h
grigzy28 Jan 15, 2025
c24ced2
Revert "Update chain.h"
grigzy28 Jan 15, 2025
40589d7
Revert "Update validation.cpp"
grigzy28 Jan 15, 2025
bae48e9
Revert "Update versionbits.cpp"
grigzy28 Jan 15, 2025
bbf25ca
Update versionbits.cpp
grigzy28 Jan 15, 2025
76f7491
Update versionbits.cpp
grigzy28 Jan 15, 2025
12f6b9b
Update versionbits.cpp
grigzy28 Jan 15, 2025
3960122
...
grigzy28 Jan 15, 2025
c83b132
Update versionbits.cpp
grigzy28 Jan 15, 2025
b0fdd6e
Update versionbits.h
grigzy28 Jan 15, 2025
68a41f9
Update versionbits.cpp
grigzy28 Jan 15, 2025
a045811
Update versionbits.cpp
grigzy28 Jan 15, 2025
37a3ac5
Update versionbits.cpp
grigzy28 Jan 15, 2025
180ed94
Update versionbits.cpp
grigzy28 Jan 15, 2025
82b819a
Update versionbits.cpp
grigzy28 Jan 16, 2025
5182a88
Update versionbits.cpp
grigzy28 Jan 16, 2025
cf93a71
Update versionbits.cpp
grigzy28 Jan 16, 2025
bff10b0
Update versionbits.cpp
grigzy28 Jan 16, 2025
b97322b
...
grigzy28 Jan 16, 2025
40e5ad5
Update validation.cpp
grigzy28 Jan 16, 2025
87aa0c2
...
grigzy28 Jan 16, 2025
c29deb4
...
grigzy28 Jan 16, 2025
1f834b5
Update versionbits.cpp
grigzy28 Jan 16, 2025
4be211e
...
grigzy28 Jan 16, 2025
be35505
Update versionbits.h
grigzy28 Jan 16, 2025
aef5174
Update validation.cpp
grigzy28 Jan 16, 2025
08a4ad3
...
grigzy28 Jan 16, 2025
6f9bedc
Update versionbits.cpp
grigzy28 Jan 16, 2025
438b2e0
Update versionbits.cpp
grigzy28 Jan 16, 2025
c1a8d5b
Update versionbits.cpp
grigzy28 Jan 16, 2025
7b4c1f0
Update versionbits.cpp
grigzy28 Jan 16, 2025
e8d4b17
Update versionbits.cpp
grigzy28 Jan 16, 2025
3b4409b
Update versionbits.cpp
grigzy28 Jan 16, 2025
7221e21
Update versionbits.cpp
grigzy28 Jan 16, 2025
01c4ee5
Update versionbits.cpp
grigzy28 Jan 16, 2025
c43a332
Update versionbits.cpp
grigzy28 Jan 16, 2025
f5921f3
Update versionbits.cpp
grigzy28 Jan 16, 2025
b5ad7e2
Update versionbits.cpp
grigzy28 Jan 16, 2025
00fc875
Update versionbits.cpp
grigzy28 Jan 16, 2025
8b1f8e6
Update versionbits.cpp
grigzy28 Jan 16, 2025
94f979a
Update versionbits.cpp
grigzy28 Jan 16, 2025
b9bdefd
Update versionbits.cpp
grigzy28 Jan 16, 2025
991af93
...
grigzy28 Jan 16, 2025
8fa3c3a
Update versionbits.cpp
grigzy28 Jan 16, 2025
15a3671
Update validation.cpp
grigzy28 Jan 16, 2025
fb1f245
Update validation.cpp
grigzy28 Jan 16, 2025
28e0ed6
...
grigzy28 Jan 16, 2025
cc9beeb
Update validation.cpp
grigzy28 Jan 16, 2025
daaacba
Update versionbits.h
grigzy28 Jan 16, 2025
af62d70
Update versionbits.cpp
grigzy28 Jan 16, 2025
507e4a4
Update versionbits.cpp
grigzy28 Jan 16, 2025
b70af4a
Update versionbits.cpp
grigzy28 Jan 16, 2025
5ee72cc
Update versionbits.cpp
grigzy28 Jan 16, 2025
baf88d5
Update versionbits.cpp
grigzy28 Jan 16, 2025
b56f0ad
Update versionbits.cpp
grigzy28 Jan 16, 2025
8ffac01
Update versionbits.cpp
grigzy28 Jan 16, 2025
723e4c2
Update versionbits.cpp
grigzy28 Jan 16, 2025
f0bfbda
Update versionbits.cpp
grigzy28 Jan 16, 2025
dc61f0d
Update versionbits.cpp
grigzy28 Jan 16, 2025
4011750
Update versionbits.cpp
grigzy28 Jan 16, 2025
73ed902
Update versionbits.cpp
grigzy28 Jan 16, 2025
6b4b696
Update versionbits.cpp
grigzy28 Jan 16, 2025
0e8ba70
Update versionbits.cpp
grigzy28 Jan 16, 2025
e63a456
Update versionbits.cpp
grigzy28 Jan 16, 2025
efcd6a9
Update versionbits.cpp
grigzy28 Jan 16, 2025
ede94d3
Update versionbits.cpp
grigzy28 Jan 16, 2025
915e527
Update versionbits.cpp
grigzy28 Jan 16, 2025
09bb3a2
Update versionbits.cpp
grigzy28 Jan 16, 2025
37b1994
Update versionbits.cpp
grigzy28 Jan 16, 2025
2d96266
Update versionbits.cpp
grigzy28 Jan 16, 2025
9782d26
Update versionbits.cpp
grigzy28 Jan 16, 2025
7e7b4a1
Update versionbits.cpp
grigzy28 Jan 16, 2025
7dbd365
Update versionbits.cpp
grigzy28 Jan 16, 2025
56d4f28
Update versionbits.cpp
grigzy28 Jan 16, 2025
54d1cd5
Update versionbits.cpp
grigzy28 Jan 16, 2025
c2fd324
Update versionbits.cpp
grigzy28 Jan 16, 2025
0d22e84
Update versionbits.cpp
grigzy28 Jan 16, 2025
32f018f
Update versionbits.cpp
grigzy28 Jan 16, 2025
804cf00
Update versionbits.cpp
grigzy28 Jan 16, 2025
fa7641d
Update versionbits.cpp
grigzy28 Jan 16, 2025
12599cc
Update versionbits.cpp
grigzy28 Jan 16, 2025
4f17ba2
Update versionbits.cpp
grigzy28 Jan 17, 2025
b77fd47
Update versionbits.cpp
grigzy28 Jan 17, 2025
97e91ae
Update versionbits.cpp
grigzy28 Jan 17, 2025
d2e3ba4
Update versionbits.cpp
grigzy28 Jan 17, 2025
b44e213
Update validation.cpp
grigzy28 Jan 17, 2025
9ee417c
Update versionbits.cpp
grigzy28 Jan 17, 2025
783370c
Update versionbits.cpp
grigzy28 Jan 17, 2025
958e5ce
Update versionbits.cpp
grigzy28 Jan 17, 2025
a4ad214
Update versionbits.cpp
grigzy28 Jan 17, 2025
5e9ae53
Update versionbits.cpp
grigzy28 Jan 17, 2025
a412385
Update versionbits.cpp
grigzy28 Jan 17, 2025
d944641
Update versionbits.cpp
grigzy28 Jan 17, 2025
63f21b2
Update versionbits.cpp
grigzy28 Jan 17, 2025
fdd3016
Update versionbits.cpp
grigzy28 Jan 17, 2025
92d1d1b
Update versionbits.cpp
grigzy28 Jan 17, 2025
6e450dd
Update versionbits.cpp
grigzy28 Jan 17, 2025
aa25e15
...
grigzy28 Jan 17, 2025
d36d994
...
grigzy28 Jan 17, 2025
08eb8ac
Update versionbits.cpp
grigzy28 Jan 17, 2025
3b32eda
Update versionbits.cpp
grigzy28 Jan 17, 2025
c675fd6
Update versionbits.cpp
grigzy28 Jan 17, 2025
3d250f9
Update versionbits.cpp
grigzy28 Jan 17, 2025
2dd0090
Update versionbits.cpp
grigzy28 Jan 17, 2025
c797d17
Update versionbits.cpp
grigzy28 Jan 17, 2025
4ad95b4
Update versionbits.cpp
grigzy28 Jan 17, 2025
7cfa611
Update versionbits.cpp
grigzy28 Jan 17, 2025
c30af68
Update versionbits.cpp
grigzy28 Jan 17, 2025
62b791d
Update versionbits.cpp
grigzy28 Jan 17, 2025
3afa8b3
...
grigzy28 Jan 17, 2025
aed0508
Update boost.mk
grigzy28 Mar 8, 2025
226825e
integrate dsshbls
grigzy28 Mar 21, 2025
92894a4
Update darwin.mk
grigzy28 Mar 21, 2025
19cb589
Update native_cctools.mk
grigzy28 Mar 21, 2025
a579015
Update packages.mk
grigzy28 Mar 21, 2025
6ed9b96
clang-llvm update
grigzy28 Mar 21, 2025
c6dbcf1
Update native_clang.mk
grigzy28 Mar 21, 2025
c4a2120
update boost
grigzy28 Mar 21, 2025
9860403
Update process_macos_sdk.patch
grigzy28 Mar 21, 2025
dd46b06
Update process_macos_sdk.patch
grigzy28 Mar 21, 2025
3a886c5
Update cmake.mk
grigzy28 Mar 21, 2025
92bd652
add libdispatch
grigzy28 Mar 21, 2025
36ce050
Update libdispatch.mk
grigzy28 Mar 21, 2025
ff68957
Update libdispatch.mk
grigzy28 Mar 21, 2025
d4079da
Update libdispatch.mk
grigzy28 Mar 21, 2025
ec01e18
depends updates
grigzy28 Mar 24, 2025
cb03382
more updates to deps
grigzy28 Mar 24, 2025
98930f1
Updated execution bit
grigzy28 Mar 24, 2025
0113768
Update qt.mk
grigzy28 Mar 24, 2025
c6a72f6
depends qt updates
grigzy28 Mar 24, 2025
f3060e0
Update qt.mk
grigzy28 Mar 24, 2025
8d38b90
Update qt.mk
grigzy28 Mar 24, 2025
b48d467
Update qt.mk
grigzy28 Mar 24, 2025
9b7639f
Update qt.mk
grigzy28 Mar 24, 2025
1bf2b99
Update qt.mk
grigzy28 Mar 24, 2025
f0610f8
update qt
grigzy28 Mar 24, 2025
10662fc
Update Makefile.am
grigzy28 Mar 24, 2025
d16a3a3
migrate bls-dash
grigzy28 Mar 24, 2025
79bff58
Update bls.h
grigzy28 Mar 24, 2025
4d157b7
Update configure.ac
grigzy28 Mar 24, 2025
c17b211
Update Makefile.am
grigzy28 Mar 24, 2025
c8dabcb
update httpserver
grigzy28 Mar 24, 2025
51c0a8d
Update httpserver.cpp
grigzy28 Mar 24, 2025
015d4ad
Revert "Update httpserver.cpp"
grigzy28 Mar 24, 2025
8ec88d6
Revert "update httpserver"
grigzy28 Mar 24, 2025
9b0adda
Update fix_mingw_link.patch
grigzy28 Mar 24, 2025
eefeb9d
revet changes
grigzy28 Mar 25, 2025
bf9dedf
Update Makefile.am
grigzy28 Mar 25, 2025
649f65f
Update Makefile.qt.include
grigzy28 Mar 25, 2025
c18611b
Update miniupnpc.mk
grigzy28 Mar 25, 2025
a9cd39b
Update miniupnpc.mk
grigzy28 Mar 25, 2025
2b1b57a
Update miniupnpc.mk
grigzy28 Mar 25, 2025
4c08180
Update miniupnpc.mk
grigzy28 Mar 25, 2025
dab696a
Update miniupnpc.mk
grigzy28 Mar 25, 2025
f531fd3
Update miniupnpc.mk
grigzy28 Mar 25, 2025
aa0a1cd
Update miniupnpc.mk
grigzy28 Mar 25, 2025
1e79fbc
update deps
grigzy28 Mar 25, 2025
f35c4f3
Update libnatpmp.mk
grigzy28 Mar 25, 2025
7230f7b
Update quorums.cpp
grigzy28 Jul 28, 2025
9176b40
Update qrencode.mk
grigzy28 Jul 28, 2025
1014c03
Update qrencode.mk
grigzy28 Jul 28, 2025
342ccda
Update Makefile
grigzy28 Jul 28, 2025
365af4c
updates for systems
grigzy28 Aug 2, 2025
9b47b52
Create underlying.h
grigzy28 Aug 2, 2025
c930644
workerpool set to 1
grigzy28 Aug 5, 2025
a91788b
Update quorums.cpp
grigzy28 Aug 6, 2025
2967c4b
remove debug logging
grigzy28 Aug 12, 2025
9728eb3
libevent updates
grigzy28 Aug 12, 2025
b26e023
Revert "libevent updates"
grigzy28 Aug 12, 2025
7483734
Update libevent.mk
grigzy28 Aug 12, 2025
8ba9ca8
update to libevent
grigzy28 Aug 13, 2025
2809d10
Update libevent.mk
grigzy28 Aug 13, 2025
467ecdf
Update libevent.mk
grigzy28 Aug 13, 2025
6ffa1c8
Update libevent.mk
grigzy28 Aug 13, 2025
93f7826
Update libevent.mk
grigzy28 Aug 13, 2025
3c840c2
updated mingw32
grigzy28 Aug 13, 2025
e6a4237
update depends and debugging code
grigzy28 Aug 21, 2025
8c1d428
wallet pass phrase timer update
grigzy28 Aug 29, 2025
4949ad9
Update quorums.cpp
grigzy28 Aug 29, 2025
72a0c31
Update init.cpp
grigzy28 Aug 31, 2025
0207722
Update init.cpp
grigzy28 Aug 31, 2025
b2c98a7
Update init.cpp
grigzy28 Aug 31, 2025
2bbafe9
Update init.cpp
grigzy28 Aug 31, 2025
7b25460
Update init.cpp
grigzy28 Aug 31, 2025
0da40f1
Update init.cpp
grigzy28 Aug 31, 2025
3c0b2a9
Update init.cpp
grigzy28 Aug 31, 2025
46567ee
Update init.cpp
grigzy28 Aug 31, 2025
b73b356
Update init.cpp
grigzy28 Sep 1, 2025
7209240
Update bls_worker.cpp
grigzy28 Sep 4, 2025
757ca75
Update validation.cpp
grigzy28 Sep 13, 2025
a6564a2
Update validation.cpp
grigzy28 Sep 13, 2025
80ea1bd
Update validation.cpp
grigzy28 Sep 13, 2025
acc9a6c
Update miniupnpc.mk
grigzy28 Sep 23, 2025
1306b1c
Update init.cpp
grigzy28 Sep 27, 2025
4e64163
Update block.cpp
grigzy28 Oct 28, 2025
44de6b0
Update block.cpp
grigzy28 Oct 31, 2025
fc5e59b
Update block.cpp
grigzy28 Oct 31, 2025
306be7e
minor changes
grigzy28 Nov 14, 2025
c0adbcf
Update .clang-format
grigzy28 Nov 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
97 changes: 62 additions & 35 deletions build-aux/m4/bitcoin_qt.m4
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ AC_DEFUN([BITCOIN_QT_INIT],[
AS_IF([test "x$with_gui" = xqt5_debug],
[AS_CASE([$host],
[*darwin*], [qt_lib_suffix=_debug],
[*mingw*], [qt_lib_suffix=d],
[qt_lib_suffix= ]); bitcoin_qt_want_version=qt5],
[qt_lib_suffix= ])

AS_CASE([$host], [*android*], [qt_lib_suffix=_$ANDROID_ARCH])

AC_ARG_WITH([qt-incdir],[AS_HELP_STRING([--with-qt-incdir=INC_DIR],[specify qt include path (overridden by pkgconfig)])], [qt_include_path=$withval], [])
AC_ARG_WITH([qt-libdir],[AS_HELP_STRING([--with-qt-libdir=LIB_DIR],[specify qt lib path (overridden by pkgconfig)])], [qt_lib_path=$withval], [])
AC_ARG_WITH([qt-plugindir],[AS_HELP_STRING([--with-qt-plugindir=PLUGIN_DIR],[specify qt plugin path (overridden by pkgconfig)])], [qt_plugin_path=$withval], [])
Expand Down Expand Up @@ -108,11 +109,10 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
BITCOIN_QT_CHECK([_BITCOIN_QT_FIND_LIBS])

dnl This is ugly and complicated. Yuck. Works as follows:
dnl For Qt5, we can check a header to find out whether Qt is build
dnl statically. When Qt is built statically, some plugins must be linked into
dnl the final binary as well.
dnl _BITCOIN_QT_CHECK_STATIC_PLUGIN does a quick link-check and appends the
dnl results to QT_LIBS.
dnl We check a header to find out whether Qt is built statically.
dnl When Qt is built statically, some plugins must be linked into
dnl the final binary as well. _BITCOIN_QT_CHECK_STATIC_PLUGIN does
dnl a quick link-check and appends the results to QT_LIBS.
BITCOIN_QT_CHECK([
TEMP_CPPFLAGS=$CPPFLAGS
TEMP_CXXFLAGS=$CXXFLAGS
Expand All @@ -123,7 +123,12 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
_BITCOIN_QT_CHECK_STATIC_LIBS

if test "x$qt_plugin_path" != x; then
QT_LIBS="$QT_LIBS -L$qt_plugin_path/platforms"
if test -d "$qt_plugin_path/platforms"; then
QT_LIBS="$QT_LIBS -L$qt_plugin_path/platforms"
fi
if test -d "$qt_plugin_path/styles"; then
QT_LIBS="$QT_LIBS -L$qt_plugin_path/styles"
fi
if test -d "$qt_plugin_path/accessible"; then
QT_LIBS="$QT_LIBS -L$qt_plugin_path/accessible"
fi
Expand All @@ -138,16 +143,25 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
AC_DEFINE(QT_QPA_PLATFORM_MINIMAL, 1, [Define this symbol if the minimal qt platform exists])
fi
if test "x$TARGET_OS" = xwindows; then
dnl Linking against wtsapi32 is required. See #17749 and
dnl https://bugreports.qt.io/browse/QTBUG-27097.
AX_CHECK_LINK_FLAG([-lwtsapi32], [QT_LIBS="$QT_LIBS -lwtsapi32"], [AC_MSG_ERROR([could not link against -lwtsapi32])])
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QWindowsIntegrationPlugin], [-lqwindows])
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QWindowsVistaStylePlugin], [-lqwindowsvistastyle])
AC_DEFINE(QT_QPA_PLATFORM_WINDOWS, 1, [Define this symbol if the qt platform is windows])
elif test "x$TARGET_OS" = xlinux; then
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QXcbIntegrationPlugin], [-lqxcb -lxcb-static])
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QXcbIntegrationPlugin], [-lqxcb])
AC_DEFINE(QT_QPA_PLATFORM_XCB, 1, [Define this symbol if the qt platform is xcb])
elif test "x$TARGET_OS" = xdarwin; then
AX_CHECK_LINK_FLAG([[-framework Carbon]],[QT_LIBS="$QT_LIBS -framework Carbon"],[AC_MSG_ERROR(could not link against Carbon framework)])
AX_CHECK_LINK_FLAG([[-framework IOSurface]],[QT_LIBS="$QT_LIBS -framework IOSurface"],[AC_MSG_ERROR(could not link against IOSurface framework)])
AX_CHECK_LINK_FLAG([[-framework Metal]],[QT_LIBS="$QT_LIBS -framework Metal"],[AC_MSG_ERROR(could not link against Metal framework)])
AX_CHECK_LINK_FLAG([[-framework QuartzCore]],[QT_LIBS="$QT_LIBS -framework QuartzCore"],[AC_MSG_ERROR(could not link against QuartzCore framework)])
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QCocoaIntegrationPlugin], [-lqcocoa])
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QMacStylePlugin], [-lqmacstyle])
AC_DEFINE(QT_QPA_PLATFORM_COCOA, 1, [Define this symbol if the qt platform is cocoa])
elif test "x$TARGET_OS" = xandroid; then
QT_LIBS="-Wl,--export-dynamic,--undefined=JNI_OnLoad -lqtforandroid -ljnigraphics -landroid -lqtfreetype -lQt5EglSupport $QT_LIBS"
QT_LIBS="-Wl,--export-dynamic,--undefined=JNI_OnLoad -lplugins_platforms_qtforandroid${qt_lib_suffix} -ljnigraphics -landroid -lqtfreetype${qt_lib_suffix} $QT_LIBS"
AC_DEFINE(QT_QPA_PLATFORM_ANDROID, 1, [Define this symbol if the qt platform is android])
fi
fi
Expand All @@ -156,7 +170,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
])

if test "x$qt_bin_path" = x; then
qt_bin_path="`$PKG_CONFIG --variable=host_bins Qt5Core 2>/dev/null`"
qt_bin_path="`$PKG_CONFIG --variable=host_bins ${qt_lib_prefix}Core 2>/dev/null`"
fi

if test "x$use_hardening" != xno; then
Expand Down Expand Up @@ -211,6 +225,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
BITCOIN_QT_PATH_PROGS([RCC], [rcc-qt5 rcc5 rcc], $qt_bin_path)
BITCOIN_QT_PATH_PROGS([LRELEASE], [lrelease-qt5 lrelease5 lrelease], $qt_bin_path)
BITCOIN_QT_PATH_PROGS([LUPDATE], [lupdate-qt5 lupdate5 lupdate],$qt_bin_path, yes)
BITCOIN_QT_PATH_PROGS([LCONVERT], [lconvert-qt5 lconvert5 lconvert], $qt_bin_path, yes)

BITCOIN_QT_CHECK([
AC_CACHE_CHECK([whether $RCC accepts --format-version option],
Expand Down Expand Up @@ -259,7 +274,10 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
AC_MSG_ERROR([libQtDBus not found. Install libQtDBus or remove --with-qtdbus.])
fi
if test "x$LUPDATE" = x; then
AC_MSG_WARN([lupdate is required to update qt translations])
AC_MSG_WARN([lupdate tool is required to update Qt translations.])
fi
if test "x$LCONVERT" = x; then
AC_MSG_WARN([lconvert tool is required to update Qt translations.])
fi
],[
bitcoin_enable_qt=no
Expand All @@ -275,19 +293,18 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
AC_SUBST(QT_LIBS)
AC_SUBST(QT_LDFLAGS)
AC_SUBST(QT_DBUS_INCLUDES)
AC_SUBST(QT_DBUS_LIBS)
AC_SUBST(QT_TEST_INCLUDES)
AC_SUBST(QT_TEST_LIBS)
AC_SUBST(QT_SELECT, qt5)
AC_SUBST(MOC_DEFS)
])

dnl All macros below are internal and should _not_ be used from the main
dnl configure.ac.
dnl ----
dnl All macros below are internal and should _not_ be used from configure.ac.

dnl Internal. Check if the linked version of Qt was built as static libs.
dnl Requires: Qt5.
dnl Internal. Check if the linked version of Qt was built statically.
dnl
dnl _BITCOIN_QT_IS_STATIC
dnl ---------------------
dnl
dnl Requires: INCLUDES and LIBS must be populated as necessary.
dnl Output: bitcoin_cv_static_qt=yes|no
AC_DEFUN([_BITCOIN_QT_IS_STATIC],[
Expand Down Expand Up @@ -335,46 +352,56 @@ dnl
dnl _BITCOIN_QT_CHECK_STATIC_LIBS
dnl -----------------------------
dnl
dnl Inputs: no inputs.
dnl Outputs: QT_LIBS is prepended.
AC_DEFUN([_BITCOIN_QT_CHECK_STATIC_LIBS], [
PKG_CHECK_MODULES([QTFONTDATABASE], [Qt5FontDatabaseSupport${qt_lib_suffix}], [QT_LIBS="-lQt5FontDatabaseSupport${qt_lib_suffix} $QT_LIBS"])
PKG_CHECK_MODULES([QTEVENTDISPATCHER], [Qt5EventDispatcherSupport${qt_lib_suffix}], [QT_LIBS="-lQt5EventDispatcherSupport${qt_lib_suffix} $QT_LIBS"])
PKG_CHECK_MODULES([QTTHEME], [Qt5ThemeSupport${qt_lib_suffix}], [QT_LIBS="-lQt5ThemeSupport${qt_lib_suffix} $QT_LIBS"])
PKG_CHECK_MODULES([QTDEVICEDISCOVERY], [Qt5DeviceDiscoverySupport${qt_lib_suffix}], [QT_LIBS="-lQt5DeviceDiscoverySupport${qt_lib_suffix} $QT_LIBS"])
PKG_CHECK_MODULES([QTACCESSIBILITY], [Qt5AccessibilitySupport${qt_lib_suffix}], [QT_LIBS="-lQt5AccessibilitySupport${qt_lib_suffix} $QT_LIBS"])
PKG_CHECK_MODULES([QTFB], [Qt5FbSupport${qt_lib_suffix}], [QT_LIBS="-lQt5FbSupport${qt_lib_suffix} $QT_LIBS"])
PKG_CHECK_MODULES([QT_ACCESSIBILITY], [${qt_lib_prefix}AccessibilitySupport${qt_lib_suffix}], [QT_LIBS="$QT_ACCESSIBILITY_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_DEVICEDISCOVERY], [${qt_lib_prefix}DeviceDiscoverySupport${qt_lib_suffix}], [QT_LIBS="$QT_DEVICEDISCOVERY_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_EDID], [${qt_lib_prefix}EdidSupport${qt_lib_suffix}], [QT_LIBS="$QT_EDID_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_EVENTDISPATCHER], [${qt_lib_prefix}EventDispatcherSupport${qt_lib_suffix}], [QT_LIBS="$QT_EVENTDISPATCHER_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_FB], [${qt_lib_prefix}FbSupport${qt_lib_suffix}], [QT_LIBS="$QT_FB_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_FONTDATABASE], [${qt_lib_prefix}FontDatabaseSupport${qt_lib_suffix}], [QT_LIBS="$QT_FONTDATABASE_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_THEME], [${qt_lib_prefix}ThemeSupport${qt_lib_suffix}], [QT_LIBS="$QT_THEME_LIBS $QT_LIBS"])
if test "x$TARGET_OS" = xlinux; then
PKG_CHECK_MODULES([QTXCBQPA], [Qt5XcbQpa], [QT_LIBS="$QTXCBQPA_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_INPUT], [${qt_lib_prefix}InputSupport], [QT_LIBS="$QT_INPUT_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_SERVICE], [${qt_lib_prefix}ServiceSupport], [QT_LIBS="$QT_SERVICE_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_XCBQPA], [${qt_lib_prefix}XcbQpa], [QT_LIBS="$QT_XCBQPA_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_XKBCOMMON], [${qt_lib_prefix}XkbCommonSupport], [QT_LIBS="$QT_XKBCOMMON_LIBS $QT_LIBS"])
elif test "x$TARGET_OS" = xdarwin; then
PKG_CHECK_MODULES([QTCLIPBOARD], [Qt5ClipboardSupport${qt_lib_suffix}], [QT_LIBS="-lQt5ClipboardSupport${qt_lib_suffix} $QT_LIBS"])
PKG_CHECK_MODULES([QTGRAPHICS], [Qt5GraphicsSupport${qt_lib_suffix}], [QT_LIBS="-lQt5GraphicsSupport${qt_lib_suffix} $QT_LIBS"])
PKG_CHECK_MODULES([QTCGL], [Qt5CglSupport${qt_lib_suffix}], [QT_LIBS="-lQt5CglSupport${qt_lib_suffix} $QT_LIBS"])
PKG_CHECK_MODULES([QT_CLIPBOARD], [${qt_lib_prefix}ClipboardSupport${qt_lib_suffix}], [QT_LIBS="$QT_CLIPBOARD_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_GRAPHICS], [${qt_lib_prefix}GraphicsSupport${qt_lib_suffix}], [QT_LIBS="$QT_GRAPHICS_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_SERVICE], [${qt_lib_prefix}ServiceSupport${qt_lib_suffix}], [QT_LIBS="$QT_SERVICE_LIBS $QT_LIBS"])
elif test "x$TARGET_OS" = xwindows; then
PKG_CHECK_MODULES([QT_WINDOWSUIAUTOMATION], [${qt_lib_prefix}WindowsUIAutomationSupport${qt_lib_suffix}], [QT_LIBS="$QT_WINDOWSUIAUTOMATION_LIBS $QT_LIBS"])
elif test "x$TARGET_OS" = xandroid; then
PKG_CHECK_MODULES([QT_EGL], [${qt_lib_prefix}EglSupport${qt_lib_suffix}], [QT_LIBS="$QT_EGL_LIBS $QT_LIBS"])
PKG_CHECK_MODULES([QT_SERVICE], [${qt_lib_prefix}ServiceSupport${qt_lib_suffix}], [QT_LIBS="$QT_SERVICE_LIBS $QT_LIBS"])
fi
])

dnl Internal. Find Qt libraries using pkg-config.
dnl
dnl _BITCOIN_QT_FIND_LIBS
dnl ---------------------
dnl
dnl Outputs: All necessary QT_* variables are set.
dnl Outputs: have_qt_test and have_qt_dbus are set (if applicable) to yes|no.
AC_DEFUN([_BITCOIN_QT_FIND_LIBS],[
BITCOIN_QT_CHECK([
PKG_CHECK_MODULES([QT_CORE], [${qt_lib_prefix}Core${qt_lib_suffix} $qt_version], [],
PKG_CHECK_MODULES([QT_CORE], [${qt_lib_prefix}Core${qt_lib_suffix} $qt_version], [QT_INCLUDES="$QT_CORE_CFLAGS $QT_INCLUDES" QT_LIBS="$QT_CORE_LIBS $QT_LIBS"],
[BITCOIN_QT_FAIL([${qt_lib_prefix}Core${qt_lib_suffix} $qt_version not found])])
])
BITCOIN_QT_CHECK([
PKG_CHECK_MODULES([QT_GUI], [${qt_lib_prefix}Gui${qt_lib_suffix} $qt_version], [],
PKG_CHECK_MODULES([QT_GUI], [${qt_lib_prefix}Gui${qt_lib_suffix} $qt_version], [QT_INCLUDES="$QT_GUI_CFLAGS $QT_INCLUDES" QT_LIBS="$QT_GUI_LIBS $QT_LIBS"],
[BITCOIN_QT_FAIL([${qt_lib_prefix}Gui${qt_lib_suffix} $qt_version not found])])
])
BITCOIN_QT_CHECK([
PKG_CHECK_MODULES([QT_WIDGETS], [${qt_lib_prefix}Widgets${qt_lib_suffix} $qt_version], [],
PKG_CHECK_MODULES([QT_WIDGETS], [${qt_lib_prefix}Widgets${qt_lib_suffix} $qt_version], [QT_INCLUDES="$QT_WIDGETS_CFLAGS $QT_INCLUDES" QT_LIBS="$QT_WIDGETS_LIBS $QT_LIBS"],
[BITCOIN_QT_FAIL([${qt_lib_prefix}Widgets${qt_lib_suffix} $qt_version not found])])
])
BITCOIN_QT_CHECK([
PKG_CHECK_MODULES([QT_NETWORK], [${qt_lib_prefix}Network${qt_lib_suffix} $qt_version], [],
PKG_CHECK_MODULES([QT_NETWORK], [${qt_lib_prefix}Network${qt_lib_suffix} $qt_version], [QT_INCLUDES="$QT_NETWORK_CFLAGS $QT_INCLUDES" QT_LIBS="$QT_NETWORK_LIBS $QT_LIBS"],
[BITCOIN_QT_FAIL([${qt_lib_prefix}Network${qt_lib_suffix} $qt_version not found])])
])
QT_INCLUDES="$QT_CORE_CFLAGS $QT_GUI_CFLAGS $QT_WIDGETS_CFLAGS $QT_NETWORK_CFLAGS"
QT_LIBS="$QT_CORE_LIBS $QT_GUI_LIBS $QT_WIDGETS_LIBS $QT_NETWORK_LIBS"

BITCOIN_QT_CHECK([
PKG_CHECK_MODULES([QT_TEST], [${qt_lib_prefix}Test${qt_lib_suffix} $qt_version], [QT_TEST_INCLUDES="$QT_TEST_CFLAGS"; have_qt_test=yes], [have_qt_test=no])
Expand Down
44 changes: 34 additions & 10 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
AC_PREREQ([2.69])
define(_CLIENT_VERSION_MAJOR, 3)
define(_CLIENT_VERSION_MINOR, 4)
define(_CLIENT_VERSION_REVISION, 7)
define(_CLIENT_VERSION_BUILD, 2)
define(_CLIENT_VERSION_MINOR, 5)
define(_CLIENT_VERSION_REVISION, 1)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_RC, 0)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2023)
define(_COPYRIGHT_YEAR, 2025)
define(_COPYRIGHT_HOLDERS,[The %s developers])
define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[SCC Core]])
AC_INIT([SCC Core],m4_join([.], _CLIENT_VERSION_MAJOR, _CLIENT_VERSION_MINOR, _CLIENT_VERSION_REVISION, m4_if(_CLIENT_VERSION_BUILD, [0], [], _CLIENT_VERSION_BUILD))m4_if(_CLIENT_VERSION_RC, [0], [], [rc]_CLIENT_VERSION_RC),[https://github.com/stakecube/StakeCubeCoin/issues],[stakecube],[https://stakecube.net/])
Expand All @@ -14,6 +14,12 @@ AC_CONFIG_HEADERS([src/config/scc-config.h])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([build-aux/m4])

m4_ifndef([PKG_PROG_PKG_CONFIG], [m4_fatal([PKG_PROG_PKG_CONFIG macro not found. Please install pkg-config and re-run autogen.sh])])
PKG_PROG_PKG_CONFIG
if test "x$PKG_CONFIG" = x; then
AC_MSG_ERROR([pkg-config not found])
fi

BITCOIN_DAEMON_NAME=sccd
BITCOIN_GUI_NAME=scc-qt
BITCOIN_CLI_NAME=scc-cli
Expand Down Expand Up @@ -53,13 +59,24 @@ else
fi
AC_PROG_CXX

dnl By default, libtool for mingw refuses to link static libs into a dll for
dnl fear of mixing pic/non-pic objects, and import/export complications. Since
dnl we have those under control, re-enable that functionality.
dnl libtool overrides
case $host in
*mingw*)
dnl By default, libtool for mingw refuses to link static libs into a dll for
dnl fear of mixing pic/non-pic objects, and import/export complications. Since
dnl we have those under control, re-enable that functionality.
lt_cv_deplibs_check_method="pass_all"
;;
*darwin*)
dnl Because it prints a verbose warning, lld fails the following check
dnl for "-Wl,-single_module" from libtool.m4:
dnl # If there is a non-empty error log, and "single_module"
dnl # appears in it, assume the flag caused a linker warning
dnl "-single_module" works fine on ld64 and lld, so just bypass the test.
dnl Failure to set this to "yes" causes libtool to use a very broken
dnl link-line for shared libs.
lt_cv_apple_cc_single_mod="yes"
;;
esac

AC_ARG_ENABLE([c++20],
Expand Down Expand Up @@ -714,6 +731,13 @@ case $host in
fi
LDFLAGS="$LDFLAGS -L$libnatpmp_prefix/lib"
fi

gmp_prefix=$($BREW --prefix gmp 2>/dev/null)
if test x$gmp_prefix != x; then
CORE_CPPFLAGS="$CORE_CPPFLAGS -I$gmp_prefix/include"
CORE_LDFLAGS="$CORE_LDFLAGS -L$gmp_prefix/lib"
fi

;;
esac
fi
Expand Down Expand Up @@ -1023,7 +1047,7 @@ if test "x$use_thread_local" = xyes || { test "x$use_thread_local" = xauto && te
*darwin*)
# TODO enable thread_local on later versions of Darwin where it is
# supported (per https://stackoverflow.com/a/29929949)
AC_MSG_RESULT(no)
AC_MSG_RESULT(yes)
;;
*freebsd*)
# FreeBSD's implementation of thread_local is also buggy (per
Expand Down Expand Up @@ -1847,8 +1871,8 @@ if test x$need_bundled_univalue = xyes; then
AC_CONFIG_SUBDIRS([src/univalue])
fi

ac_configure_args="${ac_configure_args} --disable-shared --with-pic --enable-benchmark=no --enable-module-recovery"
AC_CONFIG_SUBDIRS([src/secp256k1])
ac_configure_args="${ac_configure_args} --with-pic --enable-benchmark=no --enable-module-recovery --disable-shared --disable-module-ecdh"
AC_CONFIG_SUBDIRS([src/dashbls src/secp256k1])

AC_OUTPUT

Expand Down
Loading