diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-graphics/xorg-app/xset/disable-xkb.patch | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-app/xset/disable-xkb.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-app/xset/disable-xkb.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-app/xset/disable-xkb.patch b/meta/recipes-graphics/xorg-app/xset/disable-xkb.patch new file mode 100644 index 0000000000..97d13a30df --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xset/disable-xkb.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | add "-disable-xkb" option | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Rebase for 1.2.1 by: Yu Ke <ke.yu@intel.com> | ||
6 | |||
7 | diff --git a/configure.ac b/configure.ac | ||
8 | index 81c3ae4..26601bf 100644 | ||
9 | --- a/configure.ac | ||
10 | +++ b/configure.ac | ||
11 | @@ -52,11 +52,15 @@ PKG_CHECK_MODULES(SET_XEXT, xext, | ||
12 | AC_CHECK_HEADERS([X11/extensions/dpms.h X11/extensions/MITMisc.h],,,[#include <X11/Xlib.h>]) | ||
13 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) | ||
14 | |||
15 | +AC_ARG_ENABLE(xkb, AC_HELP_STRING([--disable-xkb], [Disable XKB support]), | ||
16 | + XKB="$enableval", XKB="yes") | ||
17 | +if test "x$XKB" = "xyes" ; then | ||
18 | PKG_CHECK_MODULES(SET_XKB, x11, | ||
19 | [SAVE_CPPFLAGS="$CPPFLAGS" | ||
20 | CPPFLAGS="$CPPFLAGS $SET_XKB_CFLAGS $SET_X11_CFLAGS" | ||
21 | AC_CHECK_HEADERS([X11/XKBlib.h],,,[#include <X11/Xlib.h>]) | ||
22 | CPPFLAGS="$SAVE_CPPFLAGS"],[echo "not found"]) | ||
23 | +fi | ||
24 | |||
25 | AC_ARG_WITH(xf86misc, AC_HELP_STRING([--without-xf86misc],[Disable xf86misc support.]), | ||
26 | [USE_XF86MISC="$withval"], [USE_XF86MISC="yes"]) | ||