Merge remote-tracking branch 'oe21/master' into vuplus-3.0
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-support / libxmlccwrap / files / use-pkgconfig.patch
1 Index: libxmlccwrap-0.0.12/configure.ac
2 ===================================================================
3 --- libxmlccwrap-0.0.12.orig/configure.ac
4 +++ libxmlccwrap-0.0.12/configure.ac
5 @@ -14,7 +14,7 @@ AC_DISABLE_STATIC
6  AC_PROG_LIBTOOL
7  AM_PROG_LIBTOOL
8  
9 -AC_CHECK_LIB(xml2,main)
10 +PKG_CHECK_MODULES(XML2, [libxml-2.0])
11  #AC_CHECK_LIB(xslt,main)
12  
13  AC_OUTPUT([Makefile \
14 Index: libxmlccwrap-0.0.12/xmlccwrap/Makefile.am
15 ===================================================================
16 --- libxmlccwrap-0.0.12.orig/xmlccwrap/Makefile.am
17 +++ libxmlccwrap-0.0.12/xmlccwrap/Makefile.am
18 @@ -1,6 +1,6 @@
19  lib_LTLIBRARIES = libxmlccwrap.la
20  
21 -INCLUDES = -I$(top_srcdir) `xml2-config --cflags` `xslt-config --cflags`
22 +AM_CPPFLAGS = -I$(top_srcdir) $(XML2_CFLAGS)
23    
24  libxmlccwrap_la_LDFLAGS = -release $(VERSION)
25  libxmlccwrap_la_SOURCES=xmlccwrap.cc libxmlexport.cc