build: misc doc changes in bitcoin_qt.m4

This commit is contained in:
fanquake
2021-04-01 07:47:36 +08:00
parent 340fa6c0ff
commit a53eff3ce5

View File

@@ -108,11 +108,10 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
BITCOIN_QT_CHECK([_BITCOIN_QT_FIND_LIBS]) BITCOIN_QT_CHECK([_BITCOIN_QT_FIND_LIBS])
dnl This is ugly and complicated. Yuck. Works as follows: 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 We check a header to find out whether Qt is built statically.
dnl statically. When Qt is built statically, some plugins must be linked into dnl When Qt is built statically, some plugins must be linked into
dnl the final binary as well. dnl the final binary as well. _BITCOIN_QT_CHECK_STATIC_PLUGIN does
dnl _BITCOIN_QT_CHECK_STATIC_PLUGIN does a quick link-check and appends the dnl a quick link-check and appends the results to QT_LIBS.
dnl results to QT_LIBS.
BITCOIN_QT_CHECK([ BITCOIN_QT_CHECK([
TEMP_CPPFLAGS=$CPPFLAGS TEMP_CPPFLAGS=$CPPFLAGS
TEMP_CXXFLAGS=$CXXFLAGS TEMP_CXXFLAGS=$CXXFLAGS
@@ -282,12 +281,13 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
AC_SUBST(MOC_DEFS) AC_SUBST(MOC_DEFS)
]) ])
dnl All macros below are internal and should _not_ be used from the main dnl All macros below are internal and should _not_ be used from configure.ac.
dnl configure.ac.
dnl ----
dnl Internal. Check if the linked version of Qt was built as static libs. dnl Internal. Check if the linked version of Qt was built statically.
dnl Requires: Qt5. dnl
dnl _BITCOIN_QT_IS_STATIC
dnl ---------------------
dnl
dnl Requires: INCLUDES and LIBS must be populated as necessary. dnl Requires: INCLUDES and LIBS must be populated as necessary.
dnl Output: bitcoin_cv_static_qt=yes|no dnl Output: bitcoin_cv_static_qt=yes|no
AC_DEFUN([_BITCOIN_QT_IS_STATIC],[ AC_DEFUN([_BITCOIN_QT_IS_STATIC],[
@@ -335,7 +335,6 @@ dnl
dnl _BITCOIN_QT_CHECK_STATIC_LIBS dnl _BITCOIN_QT_CHECK_STATIC_LIBS
dnl ----------------------------- dnl -----------------------------
dnl dnl
dnl Inputs: no inputs.
dnl Outputs: QT_LIBS is prepended. dnl Outputs: QT_LIBS is prepended.
AC_DEFUN([_BITCOIN_QT_CHECK_STATIC_LIBS], [ AC_DEFUN([_BITCOIN_QT_CHECK_STATIC_LIBS], [
PKG_CHECK_MODULES([QT_ACCESSIBILITY], [${qt_lib_prefix}AccessibilitySupport${qt_lib_suffix}], [QT_LIBS="$QT_ACCESSIBILITY_LIBS $QT_LIBS"]) PKG_CHECK_MODULES([QT_ACCESSIBILITY], [${qt_lib_prefix}AccessibilitySupport${qt_lib_suffix}], [QT_LIBS="$QT_ACCESSIBILITY_LIBS $QT_LIBS"])
@@ -357,6 +356,10 @@ AC_DEFUN([_BITCOIN_QT_CHECK_STATIC_LIBS], [
]) ])
dnl Internal. Find Qt libraries using pkg-config. 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: All necessary QT_* variables are set.
dnl Outputs: have_qt_test and have_qt_dbus are set (if applicable) to yes|no. dnl Outputs: have_qt_test and have_qt_dbus are set (if applicable) to yes|no.
AC_DEFUN([_BITCOIN_QT_FIND_LIBS],[ AC_DEFUN([_BITCOIN_QT_FIND_LIBS],[