summaryrefslogtreecommitdiff
path: root/redland
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-11-03 15:12:26 +0200
committerTor Lillqvist <tlillqvist@suse.com>2011-11-03 15:13:43 +0200
commit7a17b2b9d0e9bc0a95ba8bee72c2b24fb529005b (patch)
treeec6ae219afd40ffeac4683bd75b90f676ca26551 /redland
parent36edda75a9035f15e361b5a99423568e9ae7826e (diff)
Use xml2-config and xslt-config from our own copies if not using system ones
Diffstat (limited to 'redland')
-rw-r--r--redland/raptor/makefile.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/redland/raptor/makefile.mk b/redland/raptor/makefile.mk
index d437a4d2d083..6ddeef1915b0 100644
--- a/redland/raptor/makefile.mk
+++ b/redland/raptor/makefile.mk
@@ -146,6 +146,15 @@ CONFIGURE_FLAGS=--disable-static
.ENDIF
# do not enable grddl parser (#i93768#)
CONFIGURE_FLAGS+= --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --enable-parsers="rdfxml ntriples turtle trig guess rss-tag-soup" --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml
+
+.IF "$(SYSTEM_LIBXML)" != "YES"
+CONFIGURE_FLAGS+=--with-xml2-config=$(SOLARVER)/$(INPATH)/bin/xml2-config
+.ENDIF
+
+.IF "$(SYSTEM_LIBXSLT)" != "YES"
+CONFIGURE_FLAGS+=--with-xslt-config=$(SOLARVER)/$(INPATH)/bin/xslt-config
+.ENDIF
+
.IF "$(CROSS_COMPILING)"=="YES"
CONFIGURE_FLAGS+= --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
.ENDIF