aboutsummaryrefslogtreecommitdiff
path: root/src/m4
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-01-10 16:30:04 -0500
committerCory Fields <cory-nospam-@coryfields.com>2014-01-10 16:30:34 -0500
commit42cc96737ca05a3b539ce5d1a734a7a62407d31c (patch)
treee4ac226f869351d475be7d1f26d005d0db3c42f7 /src/m4
parent371f3f6ba553dbc99c3bd2788c2ba38882112bef (diff)
downloadbitcoin-42cc96737ca05a3b539ce5d1a734a7a62407d31c.tar.xz
qt5: fix typo causing broken selection logic
Diffstat (limited to 'src/m4')
-rw-r--r--src/m4/bitcoin_qt.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m4/bitcoin_qt.m4 b/src/m4/bitcoin_qt.m4
index f7cb935d6d..91c399eef0 100644
--- a/src/m4/bitcoin_qt.m4
+++ b/src/m4/bitcoin_qt.m4
@@ -241,7 +241,7 @@ AC_DEFUN([_BITCOIN_QT_FIND_LIBS_WITH_PKGCONFIG],[
dnl qt version is set to 'auto' and the preferred version wasn't found. Now try the other.
if test x$have_qt == xno && test x$bitcoin_qt_want_version == xauto; then
- if x$auto_priority_version = x$qt5; then
+ if test x$auto_priority_version = x$qt5; then
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])
else
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])