mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-11 15:56:58 -04:00
build: Remove duplicated QT_STATICPLUGIN define
QT_STATICPLUGIN is defined in BITCOIN_QT_CONFIGURE macro.
This commit is contained in:
parent
05a93d5d96
commit
fded4f48c3
1 changed files with 0 additions and 4 deletions
|
@ -246,7 +246,6 @@ dnl Internal. Check if the linked version of Qt was built as static libs.
|
||||||
dnl Requires: Qt5.
|
dnl Requires: Qt5.
|
||||||
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
|
||||||
dnl Output: Defines QT_STATICPLUGIN if plugins are static.
|
|
||||||
AC_DEFUN([_BITCOIN_QT_IS_STATIC],[
|
AC_DEFUN([_BITCOIN_QT_IS_STATIC],[
|
||||||
AC_CACHE_CHECK(for static Qt, bitcoin_cv_static_qt,[
|
AC_CACHE_CHECK(for static Qt, bitcoin_cv_static_qt,[
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||||
|
@ -263,9 +262,6 @@ AC_DEFUN([_BITCOIN_QT_IS_STATIC],[
|
||||||
[bitcoin_cv_static_qt=yes],
|
[bitcoin_cv_static_qt=yes],
|
||||||
[bitcoin_cv_static_qt=no])
|
[bitcoin_cv_static_qt=no])
|
||||||
])
|
])
|
||||||
if test "x$bitcoin_cv_static_qt" = xyes; then
|
|
||||||
AC_DEFINE(QT_STATICPLUGIN, 1, [Define this symbol for static Qt plugins])
|
|
||||||
fi
|
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Internal. Check if the link-requirements for static plugins are met.
|
dnl Internal. Check if the link-requirements for static plugins are met.
|
||||||
|
|
Loading…
Add table
Reference in a new issue