about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-09-15 18:39:54 +0200
committerOmar Polo <op@omarpolo.com>2022-09-15 18:39:54 +0200
commit39675be808fce67f7bae371ecf89b283d7ac6655 (patch)
tree12600631a5fc2a37e4f1159ae30671fac0733cc7
parent496eb6ceb81508291e49a6e3e91bd62f1eee333c (diff)
downloadprofani-tty-39675be808fce67f7bae371ecf89b283d7ac6655.tar.gz
typo in configure: enable_gdk_pixbuf not enable_pixbuf
Otherwise gdk-pixbuf is always added as dependency even if disabled,
when found.
-rw-r--r--configure.ac4
1 files 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])])])])