I'm going to write my awful strstr-based XML parser with libxml2
soon. Have ./configure look for it and "make" use it.
$(GDKPIXBUF_CFLAGS) \
$(GTK4_CFLAGS) \
$(LIBSVGTINY_CFLAGS) \
+ $(LIBXML2_CFLAGS) \
-DGDK_PIXBUF_ENABLE_BACKEND
libpixbufloader_svg_la_LIBADD = $(CAIRO_LIBS) \
$(GDKPIXBUF_LIBS) \
$(GTK4_LIBS) \
- $(LIBSVGTINY_LIBS)
+ $(LIBSVGTINY_LIBS) \
+ $(LIBXML2_LIBS)
# Create foo.so instead of foo.so.x.y.z, and allow it to be
# dlopen()ed.
PKG_CHECK_MODULES([GDKPIXBUF], [gdk-pixbuf-2.0])
PKG_CHECK_MODULES([GTK4], [gtk4])
PKG_CHECK_MODULES([LIBSVGTINY], [libsvgtiny])
+PKG_CHECK_MODULES([LIBXML2], [libxml-2.0])
AC_MSG_CHECKING([for gdk-pixbuf module location])
# Hack alert: we need to install our module into this specific