Skip to content

Commit 42cc967

Browse files
committed
qt5: fix typo causing broken selection logic
1 parent 371f3f6 commit 42cc967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/m4/bitcoin_qt.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ AC_DEFUN([_BITCOIN_QT_FIND_LIBS_WITH_PKGCONFIG],[
241241
242242
dnl qt version is set to 'auto' and the preferred version wasn't found. Now try the other.
243243
if test x$have_qt == xno && test x$bitcoin_qt_want_version == xauto; then
244-
if x$auto_priority_version = x$qt5; then
244+
if test x$auto_priority_version = x$qt5; then
245245
PKG_CHECK_MODULES([QT], [$qt4_modules], [QT_INCLUDES="$QT_CFLAGS"; have_qt=yes; QT_LIB_PREFIX=Qt; bitcoin_qt_got_major_vers=4], [have_qt=no])
246246
else
247247
PKG_CHECK_MODULES([QT], [$qt5_modules], [QT_INCLUDES="$QT_CFLAGS"; have_qt=yes; QT_LIB_PREFIX=Qt5; bitcoin_qt_got_major_vers=5], [have_qt=no])

0 commit comments

Comments
 (0)