diff --git a/configure.ac b/configure.ac index 9f78d7ec..96495386 100644 --- a/configure.ac +++ b/configure.ac @@ -350,8 +350,7 @@ AM_CONDITIONAL([THEMES_INSTALL], "$THEMES_INSTALL") if test "x$enable_omemo_qrcode" != xno; then PKG_CHECK_MODULES([libqrencode], [libqrencode], [AC_DEFINE([HAVE_QRENCODE], [1], [Have QRencode]) LIBS="$libqrencode_LIBS $LIBS" CFLAGS="$libqrencode_CFLAGS $CFLAGS"], - [AC_DEFINE([HAVE_QRENCODE], [0], [Dont have QRencode]) - AS_IF([test "x$enable_qrcode" = xyes], + [AS_IF([test "x$enable_qrcode" = xyes], [AC_MSG_ERROR([libqrencode not found])], [AC_MSG_NOTICE([librencode not found])])]) fi