Skip to content

Commit 6203457

Browse files
committed
build, refactor: Rename internal _BITCOIN_QT_FIND_STATIC_PLUGINS macro
New _BITCOIN_QT_CHECK_STATIC_LIBS name describes the macro functionality more precisely.
1 parent bf24774 commit 6203457

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

build-aux/m4/bitcoin_qt.m4

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
120120
CXXFLAGS="$PIC_FLAGS $CXXFLAGS"
121121
_BITCOIN_QT_IS_STATIC
122122
if test "x$bitcoin_cv_static_qt" = xyes; then
123-
_BITCOIN_QT_FIND_STATIC_PLUGINS
123+
_BITCOIN_QT_CHECK_STATIC_LIBS
124124
AC_DEFINE(QT_STATICPLUGIN, 1, [Define this symbol if qt plugins are static])
125125
if test "x$TARGET_OS" != xandroid; then
126126
_BITCOIN_QT_CHECK_STATIC_PLUGIN([QMinimalIntegrationPlugin], [-lqminimal])
@@ -301,10 +301,14 @@ AC_DEFUN([_BITCOIN_QT_CHECK_STATIC_PLUGIN], [
301301
LIBS="$CHECK_STATIC_PLUGINS_TEMP_LIBS"
302302
])
303303

304-
dnl Internal. Find paths necessary for linking qt static plugins
305-
dnl Inputs: qt_plugin_path. optional.
304+
dnl Internal. Check Qt static libs with PKG_CHECK_MODULES.
305+
dnl
306+
dnl _BITCOIN_QT_CHECK_STATIC_LIBS
307+
dnl -----------------------------
308+
dnl
309+
dnl Inputs: no inputs.
306310
dnl Outputs: QT_LIBS is appended
307-
AC_DEFUN([_BITCOIN_QT_FIND_STATIC_PLUGINS],[
311+
AC_DEFUN([_BITCOIN_QT_CHECK_STATIC_LIBS], [
308312
if test "x$qt_plugin_path" != x; then
309313
QT_LIBS="$QT_LIBS -L$qt_plugin_path/platforms"
310314
if test -d "$qt_plugin_path/accessible"; then

0 commit comments

Comments
 (0)