diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-05-30 17:59:56 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2022-05-30 19:45:05 +0200 |
commit | 1a7017e44cd1f6bc2ba16f46c7e92b6c0252e5c7 (patch) | |
tree | 78fb4338303f15cd7bd715acef27b95a6659a92d | |
parent | 0c7350e2e637aa07b4b1e926e84192030df8ff50 (diff) | |
download | profani-tty-1a7017e44cd1f6bc2ba16f46c7e92b6c0252e5c7.tar.gz |
build: set HAVE_QRENCODE only once
and use CLFAGS not cflags
-rw-r--r-- | configure.ac | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 8fe1ff4a..9f78d7ec 100644 --- a/configure.ac +++ b/configure.ac @@ -348,10 +348,8 @@ AC_SUBST(THEMES_PATH) AM_CONDITIONAL([THEMES_INSTALL], "$THEMES_INSTALL") if test "x$enable_omemo_qrcode" != xno; then - AC_DEFINE([HAVE_QRENCODE], [1], [Have QRencode]) - PKG_CHECK_MODULES([libqrencode], [libqrencode], - [LIBS="$libqrencode_LIBS $LIBS" CFLAGS="$libqrencode_CFLAGS $cflags"], + [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], [AC_MSG_ERROR([libqrencode not found])], |