From a36fdfad210b087949750c8edaadbe97965a63c9 Mon Sep 17 00:00:00 2001 From: Hugh McMaster Date: Mon, 8 Aug 2022 15:14:33 +1000 Subject: configure.ac: Use pkg-config to detect libxml2 --- ui/Makefile.am | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ui') diff --git a/ui/Makefile.am b/ui/Makefile.am index 80151bd..9442ac7 100644 --- a/ui/Makefile.am +++ b/ui/Makefile.am @@ -4,7 +4,7 @@ librccui_la_SOURCES = librccui.c \ rccnames.c rccnames.h \ internal.h \ null.c -librccui_la_LIBADD = ../src/librcc.la @XML_LIBS@ +librccui_la_LIBADD = ../src/librcc.la @XML2_LIBS@ librccui_la_LDFLAGS = -version-info @LIBRCC_VERSION_INFO@ if HAVE_GTK @@ -14,9 +14,9 @@ librccgtk_la_SOURCES = librccui.c \ rccnames.c rccnames.h \ internal.h \ gtk.c -librccgtk_la_LIBADD = ../src/librcc.la @GTK1_LIBS@ @XML_LIBS@ +librccgtk_la_LIBADD = ../src/librcc.la @GTK1_LIBS@ @XML2_LIBS@ librccgtk_la_LDFLAGS = -version-info @LIBRCC_VERSION_INFO@ -librccgtk_la_CPPFLAGS = -I${top_srcdir}/src @XML_INCLUDES@ @GTK1_INCLUDES@ +librccgtk_la_CPPFLAGS = -I${top_srcdir}/src @XML2_CFLAGS@ @GTK1_INCLUDES@ endif if HAVE_GTK2 @@ -26,9 +26,9 @@ librccgtk2_la_SOURCES = librccui.c \ rccnames.c rccnames.h \ internal.h \ gtk.c -librccgtk2_la_LIBADD = ../src/librcc.la @GTK2_LIBS@ @XML_LIBS@ +librccgtk2_la_LIBADD = ../src/librcc.la @GTK2_LIBS@ @XML2_LIBS@ librccgtk2_la_LDFLAGS = -version-info @LIBRCC_VERSION_INFO@ -librccgtk2_la_CPPFLAGS = -I${top_srcdir}/src @XML_INCLUDES@ @GTK2_CFLAGS@ +librccgtk2_la_CPPFLAGS = -I${top_srcdir}/src @XML2_CFLAGS@ @GTK2_CFLAGS@ endif if HAVE_GTK3 @@ -38,10 +38,10 @@ librccgtk3_la_SOURCES = librccui.c \ rccnames.c rccnames.h \ internal.h \ gtk.c -librccgtk3_la_LIBADD = ../src/librcc.la @GTK3_LIBS@ @XML_LIBS@ +librccgtk3_la_LIBADD = ../src/librcc.la @GTK3_LIBS@ @XML2_LIBS@ librccgtk3_la_LDFLAGS = -version-info @LIBRCC_VERSION_INFO@ -librccgtk3_la_CPPFLAGS = -I${top_srcdir}/src @XML_INCLUDES@ @GTK3_CFLAGS@ +librccgtk3_la_CPPFLAGS = -I${top_srcdir}/src @XML2_CFLAGS@ @GTK3_CFLAGS@ endif -AM_CPPFLAGS = -I${top_srcdir}/src @XML_INCLUDES@ +AM_CPPFLAGS = -I${top_srcdir}/src @XML2_CFLAGS@ include_HEADERS = librccui.h -- cgit v1.2.3