[gnome-settings-daemon] keyboard: Only compile the make_xkb_source_id test case if HAVE_IBUS



commit e0cabaa5924e0126b2381563efb206031af9eb28
Author: Rui Matos <tiagomatos gmail com>
Date:   Wed Sep 5 01:19:44 2012 +0200

    keyboard: Only compile the make_xkb_source_id test case if HAVE_IBUS
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683366

 plugins/keyboard/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/keyboard/Makefile.am b/plugins/keyboard/Makefile.am
index 0ec5a3e..0c1452e 100644
--- a/plugins/keyboard/Makefile.am
+++ b/plugins/keyboard/Makefile.am
@@ -64,6 +64,7 @@ plugin_in_files = 		\
 
 plugin_DATA = $(plugin_in_files:.gnome-settings-plugin.in=.gnome-settings-plugin)
 
+if HAVE_IBUS
 noinst_PROGRAMS = test-make-xkb-source-id
 test_make_xkb_source_id_SOURCES = test-make-xkb-source-id.c
 test_make_xkb_source_id_CFLAGS = $(libkeyboard_la_CFLAGS)
@@ -72,6 +73,7 @@ test_make_xkb_source_id_LDADD = $(libkeyboard_la_LIBADD) $(top_builddir)/gnome-s
 
 check-local: test-make-xkb-source-id
 	$(builddir)/test-make-xkb-source-id > /dev/null
+endif
 
 EXTRA_DIST = 			\
 	$(icons_DATA)		\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]