bin_PROGRAMS = example
-example_CPPFLAGS = $(LIBSVGTINY_CFLAGS) $(CAIRO_CFLAGS)
-example_LDADD = $(LIBSVGTINY_LIBS) $(CAIRO_LIBS)
+example_CPPFLAGS = $(CAIRO_CFLAGS) \
+ $(GDKPIXBUF_CFLAGS) \
+ $(GTK4_CFLAGS) \
+ $(LIBSVGTINY_CFLAGS)
+example_LDADD = $(CAIRO_LIBS) \
+ $(GDKPIXBUF_LIBS) \
+ $(GTK4_LIBS) \
+ $(LIBSVGTINY_LIBS)
example_SOURCES = example.c
AC_PROG_CC
-PKG_CHECK_MODULES([LIBSVGTINY], [libsvgtiny])
PKG_CHECK_MODULES([CAIRO], [cairo])
+PKG_CHECK_MODULES([GDKPIXBUF], [gdk-pixbuf-2.0])
+PKG_CHECK_MODULES([GTK4], [gtk4])
+PKG_CHECK_MODULES([LIBSVGTINY], [libsvgtiny])
AC_CONFIG_FILES([
Makefile