dajobe / raptor

Redland Raptor RDF syntax library
https://librdf.org/raptor/
Other
156 stars 62 forks source link

configure.ac: do additional checks on libxml2 when library is found #33

Closed schnitzeltony closed 8 years ago

schnitzeltony commented 8 years ago

In yocto cross environments we must use pkg-config. Configuring with

--without-xml2-config --without-curl-config

causes

| checking for LIBXML... yes | checking for libxml via pkg-config... yes - 2.9.2 | checking for LIBCURL... yes | checking for libcurl via pkg-config... yes - 7.44.0 | checking for ICU... no | checking for yajl installation... not found. Get it from http://lloyd.github.com/yajl/ and use --with-yajl=DIR if necessary to configure the installation directory. | checking GRDDL parser requirements... no - libxml2 and libxslt are both not available

Applying this patch fixes configuration.

Signed-off-by: Andreas Müller schnitzeltony@googlemail.com