summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/weston/make-lcms-configurable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/wayland/weston/make-lcms-configurable.patch')
-rw-r--r--meta/recipes-graphics/wayland/weston/make-lcms-configurable.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/recipes-graphics/wayland/weston/make-lcms-configurable.patch b/meta/recipes-graphics/wayland/weston/make-lcms-configurable.patch
deleted file mode 100644
index ef145b8473..0000000000
--- a/meta/recipes-graphics/wayland/weston/make-lcms-configurable.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1Index: weston-1.5.0/configure.ac
2===================================================================
3--- weston-1.5.0.orig/configure.ac
4+++ weston-1.5.0/configure.ac
5@@ -491,8 +491,16 @@ AC_ARG_ENABLE(demo-clients-install,
6 enable_demo_clients_install=no)
7 AM_CONDITIONAL(INSTALL_DEMO_CLIENTS, [test "x$enable_demo_clients_install" = "xyes"])
8
9+AC_ARG_ENABLE(lcms,
10+ AS_HELP_STRING([--disable-lcms],
11+ [disable lcms support]),,
12+ enable_lcms=yes)
13+
14+AS_IF([test "x$enable_lcms" != "xno"], [
15 PKG_CHECK_MODULES(LCMS, lcms2,
16- [have_lcms=yes], [have_lcms=no])
17+ [have_lcms=yes], [have_lcms=no])],
18+ [have_lcms=no])
19+
20 if test "x$have_lcms" = xyes; then
21 AC_DEFINE(HAVE_LCMS, 1, [Have lcms support])
22 fi