From 39675be808fce67f7bae371ecf89b283d7ac6655 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Thu, 15 Sep 2022 18:39:54 +0200 Subject: [PATCH] typo in configure: enable_gdk_pixbuf not enable_pixbuf Otherwise gdk-pixbuf is always added as dependency even if disabled, when found. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 433a4738..9138c9e7 100644 --- a/configure.ac +++ b/configure.ac @@ -311,11 +311,11 @@ if test "x$enable_otr" != xno; then fi dnl feature: pixbuf / used for scaling avatars before uploading via `/avatar set` -AS_IF([test "x$enable_pixbuf" != xno], +AS_IF([test "x$enable_gdk_pixbuf" != xno], [PKG_CHECK_MODULES([gdk_pixbuf], [gdk-pixbuf-2.0 >= 2.4], [AC_DEFINE([HAVE_PIXBUF], [1], [gdk-pixbuf module]) LIBS="$gdk_pixbuf_LIBS $LIBS" CFLAGS="$gdk_pixbuf_CFLAGS $CFLAGS"], - [AS_IF([test "x$enable_pixbuf" = xyes], + [AS_IF([test "x$enable_gdk_pixbuf" = xyes], [AC_MSG_ERROR([gdk-pixbuf-2.0 >= 2.4 is required to scale avatars before uploading])], [AC_MSG_NOTICE([gdk-pixbuf-2.0 >= 2.4 not found, GDK Pixbuf support not enabled])])])])