Files
poky/meta/recipes-graphics/xorg-lib/libxcb/disable-check.patch
Ross Burton a1bad24352 libxcb: disable check to avoid floating dependencies
The "check" module is checked for in configure without any way to explicitly
enable or disable it, but it isn't a build dependency of libxcb.  If it's found
libxslt is also checked for, which is a build dependency but will only be used
if check is also present.

As the libxcb unit test suite is minimal at present, forcibly disable the test
for check and remove the libxslt-native build dependency.

(From OE-Core rev: 510e64d90d3ef2f9757bfa148e8cc09e4834051d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-11 12:27:21 +01:00

25 lines
868 B
Diff

The "check" package is checked for without an explicit enable/disable option,
which can lead to non-deterministic build issues with both check and libxslt.
As the unit test suite is minimal at present, simply disable the test suite. In
the future if the test suite is expanded this can be made conditional on the
ptest DISTRO_FEATURE.
Upstream-Status: Inappropriate
Signed-off-by: Ross Burton <ross.burton@intel.com>
diff --git a/configure.ac b/configure.ac
index 6d7c9a5..22cceb9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,8 @@ AC_USE_SYSTEM_EXTENSIONS
AM_PATH_PYTHON([2.6])
-PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
+dnl PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
+HAVE_CHECK=no
AM_CONDITIONAL(HAVE_CHECK, test x$HAVE_CHECK = xyes)
AC_CONFIG_HEADERS([src/config.h])