xorg-proto-common: set UNKNOWN_CONFIGURE_WHITELIST

This include adds configure options globally but not all X libraries support
them, so to avoid unknown-configure-option warnings add them to the whitelist.

Also change the options from --enable-foo=no to --disable-foo as they're clearer
and the whitelist would have to contain --enable-foo.

(From OE-Core rev: 2544dc51fdebed77ff6eddf27d0ee897c5f5c257)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2013-10-28 17:52:31 +00:00 committed by Richard Purdie
parent 4a8d62ca86
commit 03ba78bef4
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,9 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
DEPENDS = "util-macros"
inherit autotools pkgconfig
EXTRA_OECONF = "--with-fop=no --without-xmlto"
EXTRA_OECONF = "--without-fop --without-xmlto"
UNKNOWN_CONFIGURE_WHITELIST += "--without-fop --without-xmlto"
# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
RDEPENDS_${PN}-dev = ""