[easytag] Check for gdk-pixbuf-pixdata in configure



commit 116290a2508a732228546ced88dc77c7d43c81f6
Author: David King <amigadave amigadave com>
Date:   Thu Oct 30 20:27:14 2014 +0000

    Check for gdk-pixbuf-pixdata in configure
    
    The gdk-pixbuf-pixdata tool is required for glib-compile-resources when
    using the to-pixdata option.

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 152b2ac..0c269f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,6 +48,10 @@ PKG_PROG_PKG_CONFIG([0.24])
 
 AC_SUBST([GLIB_COMPILE_RESOURCES], [`$PKG_CONFIG --variable glib_compile_resources gio-2.0`])
 
+AC_PATH_PROG([GDK_PIXBUF_PIXDATA], [gdk-pixbuf-pixdata])
+AS_IF([test "x$ac_cv_path_GDK_PIXBUF_PIXDATA" = "x"],
+      [AC_MSG_ERROR([gdk-pixbuf-pixdata is required for image resources])])
+
 AC_MSG_CHECKING([for glib-mkenums script])
 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
 AS_IF([test "x$GLIB_MKENUMS" = "x"],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]