From a1e3ee468d79792ccce7c5afba69af22295d64a7 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 3 Aug 2023 21:57:54 -0400 Subject: [PATCH] Makefile.am,configure.ac: pull in gtk4 and gdk-pixbuf-2.0. --- Makefile.am | 10 ++++++++-- configure.ac | 4 +++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index c9717c0..e79da67 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,10 @@ 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 diff --git a/configure.ac b/configure.ac index c1ddb30..9d34a95 100644 --- a/configure.ac +++ b/configure.ac @@ -4,8 +4,10 @@ AM_INIT_AUTOMAKE([-Wall foreign no-dist-gzip dist-xz tar-ustar]) 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 -- 2.44.2