Test for rsvg-convert in configure.ac
If it's not present, we just don't install the icon.
diff --git a/configure.ac b/configure.ac
index c6d33ca..226d87c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,6 +30,8 @@
[have_poppler=yes], [have_poppler=no])
AM_CONDITIONAL(HAVE_POPPLER, test "x$have_poppler" = "xyes")
+AC_CHECK_PROG(RSVG_CONVERT, rsvg-convert, rsvg-convert)
+AM_CONDITIONAL(HAVE_RSVG_CONVERT, test -n "$RSVG_CONVERT")
AC_ARG_ENABLE(x11-compositor, [ --enable-x11-compositor],,
enable_x11_compositor=yes)