cannelloni: needs dynamic library
[buildroot-gz.git] / package / libgail / 0001-Relax-X11-dependencies.patch
blob97e56560d6b9fac3c630c09f8d7e313f5c910a3d
1 From cca72c48b5643fa62e1d55b7b181e147f5ba7fe9 Mon Sep 17 00:00:00 2001
2 From: Lionel Landwerlin <llandwerlin@gmail.com>
3 Date: Sun, 28 Mar 2010 21:47:38 +0200
4 Subject: [PATCH] Relax X11 dependency
6 Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
7 ---
8 configure.in | 4 +++-
9 gail/gailwindow.c | 2 +-
10 2 files changed, 4 insertions(+), 2 deletions(-)
12 diff --git a/configure.in b/configure.in
13 index 3801655..abaf417 100644
14 --- a/configure.in
15 +++ b/configure.in
16 @@ -86,7 +86,9 @@ GTK_REQUIRED_VERSION=2.9.4
17 PKG_CHECK_MODULES(DEP, $ATK_PACKAGES >= $ATK_REQUIRED_VERSION \
18 $GTK_PACKAGES >= $GTK_REQUIRED_VERSION)
20 -if test "$gail_native_win32" != "yes"; then
21 +AC_ARG_ENABLE(x, [ --disable-x disable x11 backend ],x11_backend=no,x11_backend=yes)
23 +if test "$gail_native_win32" != "yes" -a "$x11_backend" != "no"; then
25 PKG_CHECK_MODULES(X, x11, :, [
26 # pkg-config modules not found (only present since X11R7 aka Xorg); use
27 diff --git a/gail/gailwindow.c b/gail/gailwindow.c
28 index 616b25e..add454b 100644
29 --- a/gail/gailwindow.c
30 +++ b/gail/gailwindow.c
31 @@ -1071,7 +1071,7 @@ gail_window_get_mdi_zorder (AtkComponent *component)
32 return get_window_zorder (widget->window);
35 -#elif defined (GDK_WINDOWING_WIN32)
36 +#elif defined (GDK_WINDOWING_WIN32) || defined (GDK_WINDOWING_DIRECTFB)
38 static gint
39 gail_window_get_mdi_zorder (AtkComponent *component)
40 --
41 1.7.0.2