Skip to content

Commit 2b3b9c3

Browse files
committed
doc: proper capitalize terms
1 parent efee3fc commit 2b3b9c3

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

build-aux/m4/bitcoin_qt.m4

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ dnl Copyright (c) 2013-2016 The Bitcoin Core developers
22
dnl Distributed under the MIT software license, see the accompanying
33
dnl file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
dnl Helper for cases where a qt dependency is not met.
6-
dnl Output: If qt version is auto, set bitcoin_enable_qt to false. Else, exit.
5+
dnl Helper for cases where a Qt dependency is not met.
6+
dnl Output: If Qt version is auto, set bitcoin_enable_qt to false. Else, exit.
77
AC_DEFUN([BITCOIN_QT_FAIL],[
88
if test "x$bitcoin_qt_want_version" = xauto && test "x$bitcoin_qt_force" != xyes; then
99
if test "x$bitcoin_enable_qt" != xno; then
@@ -46,12 +46,12 @@ AC_DEFUN([BITCOIN_QT_PATH_PROGS],[
4646
])
4747
])
4848

49-
dnl Initialize qt input.
49+
dnl Initialize Qt input.
5050
dnl This must be called before any other BITCOIN_QT* macros to ensure that
5151
dnl input variables are set correctly.
5252
dnl CAUTION: Do not use this inside of a conditional.
5353
AC_DEFUN([BITCOIN_QT_INIT],[
54-
dnl enable qt support
54+
dnl enable Qt support
5555
AC_ARG_WITH([gui],
5656
[AS_HELP_STRING([--with-gui@<:@=no|qt5|auto@:>@],
5757
[build pivx-qt GUI (default=auto)])],
@@ -64,16 +64,16 @@ AC_DEFUN([BITCOIN_QT_INIT],[
6464
],
6565
[bitcoin_qt_want_version=auto])
6666
67-
AC_ARG_WITH([qt-incdir],[AS_HELP_STRING([--with-qt-incdir=INC_DIR],[specify qt include path (overridden by pkgconfig)])], [qt_include_path=$withval], [])
68-
AC_ARG_WITH([qt-libdir],[AS_HELP_STRING([--with-qt-libdir=LIB_DIR],[specify qt lib path (overridden by pkgconfig)])], [qt_lib_path=$withval], [])
69-
AC_ARG_WITH([qt-plugindir],[AS_HELP_STRING([--with-qt-plugindir=PLUGIN_DIR],[specify qt plugin path (overridden by pkgconfig)])], [qt_plugin_path=$withval], [])
70-
AC_ARG_WITH([qt-translationdir],[AS_HELP_STRING([--with-qt-translationdir=PLUGIN_DIR],[specify qt translation path (overridden by pkgconfig)])], [qt_translation_path=$withval], [])
71-
AC_ARG_WITH([qt-svgdir],[AS_HELP_STRING([--with-qt-svgdir=PLUGIN_DIR],[specify qt svg path (overridden by pkgconfig)])], [qt_svg_path=$withval], [])
72-
AC_ARG_WITH([qt-bindir],[AS_HELP_STRING([--with-qt-bindir=BIN_DIR],[specify qt bin path])], [qt_bin_path=$withval], [])
67+
AC_ARG_WITH([qt-incdir],[AS_HELP_STRING([--with-qt-incdir=INC_DIR],[specify Qt include path (overridden by pkgconfig)])], [qt_include_path=$withval], [])
68+
AC_ARG_WITH([qt-libdir],[AS_HELP_STRING([--with-qt-libdir=LIB_DIR],[specify Qt lib path (overridden by pkgconfig)])], [qt_lib_path=$withval], [])
69+
AC_ARG_WITH([qt-plugindir],[AS_HELP_STRING([--with-qt-plugindir=PLUGIN_DIR],[specify Qt plugin path (overridden by pkgconfig)])], [qt_plugin_path=$withval], [])
70+
AC_ARG_WITH([qt-translationdir],[AS_HELP_STRING([--with-qt-translationdir=PLUGIN_DIR],[specify Qt translation path (overridden by pkgconfig)])], [qt_translation_path=$withval], [])
71+
AC_ARG_WITH([qt-svgdir],[AS_HELP_STRING([--with-qt-svgdir=PLUGIN_DIR],[specify Qt svg path (overridden by pkgconfig)])], [qt_svg_path=$withval], [])
72+
AC_ARG_WITH([qt-bindir],[AS_HELP_STRING([--with-qt-bindir=BIN_DIR],[specify Qt bin path])], [qt_bin_path=$withval], [])
7373
7474
AC_ARG_WITH([qtdbus],
7575
[AS_HELP_STRING([--with-qtdbus],
76-
[enable DBus support (default is yes if qt is enabled and QtDBus is found)])],
76+
[enable DBus support (default is yes if Qt is enabled and QtDBus is found)])],
7777
[use_dbus=$withval],
7878
[use_dbus=auto])
7979
@@ -83,7 +83,7 @@ AC_DEFUN([BITCOIN_QT_INIT],[
8383
dnl Find the appropriate version of Qt libraries and includes.
8484
dnl Inputs: $1: Whether or not pkg-config should be used. yes|no. Default: yes.
8585
dnl Outputs: See _BITCOIN_QT_FIND_LIBS_*
86-
dnl Outputs: Sets variables for all qt-related tools.
86+
dnl Outputs: Sets variables for all Qt-related tools.
8787
dnl Outputs: bitcoin_enable_qt, bitcoin_enable_qt_dbus, bitcoin_enable_qt_test
8888
AC_DEFUN([BITCOIN_QT_CONFIGURE],[
8989
use_pkgconfig=$1
@@ -120,21 +120,21 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
120120
_BITCOIN_QT_IS_STATIC
121121
if test "x$bitcoin_cv_static_qt" = xyes; then
122122
_BITCOIN_QT_FIND_STATIC_PLUGINS
123-
AC_DEFINE(QT_STATICPLUGIN, 1, [Define this symbol if qt plugins are static])
123+
AC_DEFINE(QT_STATICPLUGIN, 1, [Define this symbol if Qt plugins are static])
124124
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QMinimalIntegrationPlugin)],[-lqminimal])
125-
AC_DEFINE(QT_QPA_PLATFORM_MINIMAL, 1, [Define this symbol if the minimal qt platform exists])
125+
AC_DEFINE(QT_QPA_PLATFORM_MINIMAL, 1, [Define this symbol if the minimal Qt platform exists])
126126
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QSvgPlugin)],[-lqsvg])
127127
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QSvgIconPlugin)],[-lqsvgicon])
128128
if test "x$TARGET_OS" = xwindows; then
129129
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)],[-lqwindows])
130-
AC_DEFINE(QT_QPA_PLATFORM_WINDOWS, 1, [Define this symbol if the qt platform is windows])
130+
AC_DEFINE(QT_QPA_PLATFORM_WINDOWS, 1, [Define this symbol if the Qt platform is Windows])
131131
elif test "x$TARGET_OS" = xlinux; then
132132
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)],[-lqxcb -lxcb-static])
133-
AC_DEFINE(QT_QPA_PLATFORM_XCB, 1, [Define this symbol if the qt platform is xcb])
133+
AC_DEFINE(QT_QPA_PLATFORM_XCB, 1, [Define this symbol if the Qt platform is XCB])
134134
elif test "x$TARGET_OS" = xdarwin; then
135135
AX_CHECK_LINK_FLAG([[-framework IOKit]],[QT_LIBS="$QT_LIBS -framework IOKit"],[AC_MSG_ERROR(could not iokit framework)])
136136
_BITCOIN_QT_CHECK_STATIC_PLUGINS([Q_IMPORT_PLUGIN(QCocoaIntegrationPlugin)],[-lqcocoa])
137-
AC_DEFINE(QT_QPA_PLATFORM_COCOA, 1, [Define this symbol if the qt platform is cocoa])
137+
AC_DEFINE(QT_QPA_PLATFORM_COCOA, 1, [Define this symbol if the Qt platform is Cocoa])
138138
fi
139139
fi
140140
CPPFLAGS=$TEMP_CPPFLAGS
@@ -213,7 +213,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
213213
])
214214
esac
215215
216-
dnl enable qt support
216+
dnl enable Qt support
217217
AC_MSG_CHECKING(whether to build ]AC_PACKAGE_NAME[ GUI)
218218
BITCOIN_QT_CHECK([
219219
bitcoin_enable_qt=yes
@@ -229,7 +229,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
229229
AC_MSG_ERROR([libQtDBus not found. Install libQtDBus or remove --with-qtdbus.])
230230
fi
231231
if test "x$LUPDATE" = x; then
232-
AC_MSG_WARN([lupdate is required to update qt translations])
232+
AC_MSG_WARN([lupdate is required to update Qt translations])
233233
fi
234234
],[
235235
bitcoin_enable_qt=no
@@ -329,7 +329,7 @@ AC_DEFUN([_BITCOIN_QT_CHECK_STATIC_PLUGINS],[
329329
LIBS="$CHECK_STATIC_PLUGINS_TEMP_LIBS"
330330
])
331331
332-
dnl Internal. Find paths necessary for linking qt static plugins
332+
dnl Internal. Find paths necessary for linking Qt static plugins
333333
dnl Inputs: qt_plugin_path. optional.
334334
dnl Outputs: QT_LIBS is appended
335335
AC_DEFUN([_BITCOIN_QT_FIND_STATIC_PLUGINS],[
@@ -469,16 +469,16 @@ AC_DEFUN([_BITCOIN_QT_FIND_LIBS_WITHOUT_PKGCONFIG],[
469469
fi
470470
])
471471
472-
BITCOIN_QT_CHECK(AC_CHECK_LIB([z] ,[main],,AC_MSG_WARN([zlib not found. Assuming qt has it built-in])))
473-
BITCOIN_QT_CHECK(AC_SEARCH_LIBS([jpeg_create_decompress] ,[qtjpeg jpeg],,AC_MSG_WARN([libjpeg not found. Assuming qt has it built-in])))
472+
BITCOIN_QT_CHECK(AC_CHECK_LIB([z] ,[main],,AC_MSG_WARN([zlib not found. Assuming Qt has it built-in])))
473+
BITCOIN_QT_CHECK(AC_SEARCH_LIBS([jpeg_create_decompress] ,[qtjpeg jpeg],,AC_MSG_WARN([libjpeg not found. Assuming Qt has it built-in])))
474474
if test x$bitcoin_cv_qt58 = xno; then
475-
BITCOIN_QT_CHECK(AC_SEARCH_LIBS([png_error] ,[qtpng png],,AC_MSG_WARN([libpng not found. Assuming qt has it built-in])))
476-
BITCOIN_QT_CHECK(AC_SEARCH_LIBS([pcre16_exec], [qtpcre pcre16],,AC_MSG_WARN([libpcre16 not found. Assuming qt has it built-in])))
475+
BITCOIN_QT_CHECK(AC_SEARCH_LIBS([png_error] ,[qtpng png],,AC_MSG_WARN([libpng not found. Assuming Qt has it built-in])))
476+
BITCOIN_QT_CHECK(AC_SEARCH_LIBS([pcre16_exec], [qtpcre pcre16],,AC_MSG_WARN([libpcre16 not found. Assuming Qt has it built-in])))
477477
else
478-
BITCOIN_QT_CHECK(AC_SEARCH_LIBS([png_error] ,[qtlibpng png],,AC_MSG_WARN([libpng not found. Assuming qt has it built-in])))
479-
BITCOIN_QT_CHECK(AC_SEARCH_LIBS([pcre2_match_16], [qtpcre2 libqtpcre2],,AC_MSG_WARN([libqtpcre2 not found. Assuming qt has it built-in])))
478+
BITCOIN_QT_CHECK(AC_SEARCH_LIBS([png_error] ,[qtlibpng png],,AC_MSG_WARN([libpng not found. Assuming Qt has it built-in])))
479+
BITCOIN_QT_CHECK(AC_SEARCH_LIBS([pcre2_match_16], [qtpcre2 libqtpcre2],,AC_MSG_WARN([libqtpcre2 not found. Assuming Qt has it built-in])))
480480
fi
481-
BITCOIN_QT_CHECK(AC_SEARCH_LIBS([hb_ot_tags_from_script] ,[qtharfbuzzng qtharfbuzz harfbuzz],,AC_MSG_WARN([libharfbuzz not found. Assuming qt has it built-in or support is disabled])))
481+
BITCOIN_QT_CHECK(AC_SEARCH_LIBS([hb_ot_tags_from_script] ,[qtharfbuzzng qtharfbuzz harfbuzz],,AC_MSG_WARN([libharfbuzz not found. Assuming Qt has it built-in or support is disabled])))
482482
BITCOIN_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}Core] ,[main],,BITCOIN_QT_FAIL(lib${QT_LIB_PREFIX}Core not found)))
483483
BITCOIN_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}Gui] ,[main],,BITCOIN_QT_FAIL(lib${QT_LIB_PREFIX}Gui not found)))
484484
BITCOIN_QT_CHECK(AC_CHECK_LIB([${QT_LIB_PREFIX}Network],[main],,BITCOIN_QT_FAIL(lib${QT_LIB_PREFIX}Network not found)))

0 commit comments

Comments
 (0)