1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

typo in configure: enable_gdk_pixbuf not enable_pixbuf

Otherwise gdk-pixbuf is always added as dependency even if disabled,
when found.
This commit is contained in:
Omar Polo 2022-09-15 18:39:54 +02:00
parent 496eb6ceb8
commit 39675be808

View File

@ -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])])])])