xorg-lib-common.inc: add PACKAGECONFIG for xmlto

Support xmlto for documentation generation and disable it by default.

[YOCTO #2416]

(From OE-Core rev: 5d80a47de953f47cdb0cc8d394bf200758fa9624)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Hongxu Jia
2014-07-09 10:32:05 +08:00
committed by Richard Purdie
parent 91c7cbaa02
commit e56bc9990e

View File

@@ -13,9 +13,14 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
inherit autotools distro_features_check pkgconfig
EXTRA_OECONF = "--disable-specs --without-groff --without-ps2pdf --without-fop --without-xmlto"
EXTRA_OECONF = "--disable-specs --without-groff --without-ps2pdf --without-fop"
PACKAGECONFIG ??= ""
PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native"
UNKNOWN_CONFIGURE_WHITELIST += "--enable-malloc0returnsnull --disable-malloc0returnsnull \
--disable-specs --without-groff --without-ps2pdf --without-fop --without-xmlto"
--disable-specs --without-groff --without-ps2pdf --without-fop \
--without-xmlto --with-xmlto \
"
REQUIRED_DISTRO_FEATURES ?= "x11"