Skip to content

Commit 651c636

Browse files
committed
build: Fix configure report about qr
1 parent b7bc9b8 commit 651c636

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

configure.ac

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,18 +1471,16 @@ if test x$bitcoin_enable_qt != xno; then
14711471
AC_MSG_CHECKING([whether to build GUI with support for QR codes])
14721472
if test x$have_qrencode = xno; then
14731473
if test x$use_qr = xyes; then
1474-
AC_MSG_ERROR("QR support requested but cannot be built. use --without-qrencode")
1474+
AC_MSG_ERROR([QR support requested but cannot be built. Use --without-qrencode])
14751475
fi
1476-
AC_MSG_RESULT(no)
1476+
use_qr=no
14771477
else
14781478
if test x$use_qr != xno; then
1479-
AC_MSG_RESULT(yes)
14801479
AC_DEFINE([USE_QRCODE],[1],[Define if QR support should be compiled in])
14811480
use_qr=yes
1482-
else
1483-
AC_MSG_RESULT(no)
14841481
fi
14851482
fi
1483+
AC_MSG_RESULT([$use_qr])
14861484

14871485
if test x$XGETTEXT = x; then
14881486
AC_MSG_WARN("xgettext is required to update qt translations")

0 commit comments

Comments
 (0)