configure.ac, icons: check for the "gegl" binary

and use the found executable instead of hardcoding "gegl".
This commit is contained in:
Michael Natterer 2015-12-21 00:21:17 +01:00
parent d4aa39a7cd
commit 44d5e7adcd
2 changed files with 7 additions and 1 deletions

View file

@ -628,6 +628,11 @@ else
fi
AC_MSG_RESULT($have_glib_2_43)
AC_PATH_PROG(GEGL, gegl, no)
if test "x$GEGL" = xno; then
AC_MSG_ERROR([Could not find gegl in your PATH])
fi
# Check for bind_textdomain_codeset, including -lintl if GLib brings it in.
gimp_save_LIBS=$LIBS

View file

@ -20,7 +20,8 @@ include $(top_srcdir)/icons/Symbolic/icon-list.mk
%.png:
mkdir -p `dirname $@`;
gegl -x "<gegl> \
$(GEGL) -x \
"<gegl> \
<node operation='gegl:invert-linear'></node> \
<node operation='gegl:load'> \
<params> \