[Xfce4-commits] [apps/xfce4-screenshooter] 10/14: Check for libxml presence and add corresponding CFLAGS/LIBS.

noreply at xfce.org noreply at xfce.org
Mon Dec 15 22:35:04 CET 2014


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository apps/xfce4-screenshooter.

commit 3b1e762eb337dd9394f27f7183b0a9221cf29196
Author: Landry Breuil <landry at xfce.org>
Date:   Mon Dec 15 22:28:02 2014 +0100

    Check for libxml presence and add corresponding CFLAGS/LIBS.
    
    Technically, this doesnt add a dependency since libxml is already a dependency of libsoup..
---
 Makefile.am     |    6 ++++++
 configure.ac.in |    1 +
 2 files changed, 7 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index b448616..d0876ca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,6 +43,7 @@ lib_libscreenshooter_la_CFLAGS = \
 	@GLIB_CFLAGS@ \
 	@LIBXFCE4UTIL_CFLAGS@ \
 	@LIBXFCE4UI_CFLAGS@ \
+	@LIBXML_CFLAGS@ \
 	@SOUP_CFLAGS@ \
 	@XFIXES_CFLAGS@ \
   -DPACKAGE_LOCALE_DIR=\"$(localedir)\"
@@ -55,6 +56,7 @@ lib_libscreenshooter_la_LIBADD = \
 	@LIBXFCE4UI_LIBS@ \
   @GLIB_LIBS@ \
 	@SOUP_LIBS@ \
+	@LIBXML_LIBS@ \
 	@LIBXEXT_LIBS@ \
 	@LIBX11_LIBS@ \
 	@XFIXES_LIBS@
@@ -92,6 +94,7 @@ src_xfce4_screenshooter_CFLAGS = \
 	@LIBXFCE4UI_CFLAGS@ \
 	@GTHREAD_CFLAGS@ \
 	@SOUP_CFLAGS@ \
+	@LIBXML_CFLAGS@ \
 	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"
 
 src_xfce4_screenshooter_LDFLAGS = \
@@ -100,6 +103,7 @@ src_xfce4_screenshooter_LDFLAGS = \
 	@GLIB_LIBS@ \
 	@GTHREAD_LIBS@ \
 	@SOUP_LIBS@ \
+	@LIBXML_LIBS@ \
 	@LIBXFCE4UTIL_LIBS@ \
 	@LIBXFCE4UI_LIBS@
 
@@ -133,6 +137,7 @@ panel_plugin_libscreenshooterplugin_la_CFLAGS =	\
 	@LIBXFCE4PANEL_CFLAGS@ \
 	@LIBXFCE4UI_CFLAGS@ \
 	@GTHREAD_CFLAGS@ \
+	@LIBXML_CFLAGS@ \
 	@SOUP_CFLAGS@
 
 panel_plugin_libscreenshooterplugin_la_LDFLAGS = \
@@ -147,6 +152,7 @@ panel_plugin_libscreenshooterplugin_la_LIBADD = \
 	@LIBXFCE4PANEL_LIBS@ \
 	@GTHREAD_LIBS@ \
 	@SOUP_LIBS@ \
+	@LIBXML_LIBS@ \
 	@LIBXFCE4UI_LIBS@ \
 	lib/libscreenshooter.la
 
diff --git a/configure.ac.in b/configure.ac.in
index 14aa3ad..d0b6cdc 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -53,6 +53,7 @@ XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.16.0])
 XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.16.0])
 XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.16.0])
 XDT_CHECK_PACKAGE([SOUP], [libsoup-2.4], [2.26.0])
+XDT_CHECK_PACKAGE([LIBXML], [libxml-2.0], [2.4.0])
 XDT_CHECK_PACKAGE([EXO], [exo-1], [0.5.0])
 XDT_CHECK_PACKAGE([LIBXEXT], [xext], [1.0.0])
 XDT_CHECK_OPTIONAL_PACKAGE([XFIXES], [xfixes], [4.0.0], [xfixes], [XFIXES extension support])

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list