diff options
author | Eduardo Lima (Etrunko) <eduardo.lima@intel.com> | 2013-11-04 17:03:10 -0200 |
---|---|---|
committer | Eduardo Lima (Etrunko) <eduardo.lima@intel.com> | 2013-11-04 17:03:10 -0200 |
commit | 22aff324b5d1916c43ec4b0e952c7d32fa8d7bd1 (patch) | |
tree | 5abd3f024ca6cf66c8e714bb611b6ace5bd26512 | |
parent | 98b62c3e583038a4d7c096c94dc9e0ec47fb6c40 (diff) | |
download | weekeyboard-22aff324b5d1916c43ec4b0e952c7d32fa8d7bd1.tar.gz weekeyboard-22aff324b5d1916c43ec4b0e952c7d32fa8d7bd1.tar.bz2 weekeyboard-22aff324b5d1916c43ec4b0e952c7d32fa8d7bd1.zip |
Release 0.0.2v0.0.2upstream/0.0.2sandbox/pcoval/upstream
Change-Id: I19cfecd74c7822f4c9910444f3337aa28f937a45
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
-rw-r--r-- | configure.ac | 28 | ||||
-rw-r--r-- | src/Makefile.am | 7 |
2 files changed, 10 insertions, 25 deletions
diff --git a/configure.ac b/configure.ac index 75721c8..b0cea57 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ m4_define([wkb_major], [0]) m4_define([wkb_minor], [0]) -m4_define([wkb_micro], [1]) +m4_define([wkb_micro], [2]) m4_define([wkb_version], [wkb_major.wkb_minor.wkb_micro]) AC_PREREQ([2.64]) @@ -35,27 +35,15 @@ AC_ARG_WITH(edje-cc, [EDJE_CC_PATH=${withval}], [EDJE_CC_PATH=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc]) AC_SUBST([EDJE_CC_PATH]) +PKG_CHECK_MODULES(IBUS, [eldbus eet efreet]) +AC_CHECK_PROG([have_ibus], [ibus], [yes], [no]) -AC_ARG_ENABLE([ibus], - [AC_HELP_STRING([--disable-ibus], - [Disable integration with IBus input method system])], - [], [enable_ibus=yes]) +AS_IF([ test "x$have ibus" = "xno" ], + [ AC_MSG_ERROR([The ibus executable was not found.]) ]) -AM_CONDITIONAL(ENABLE_IBUS, test "x$enable_ibus" = "xyes") - -if test "x$enable_ibus" = "xyes"; then - PKG_CHECK_MODULES(IBUS, [eldbus eet efreet]) - AC_CHECK_PROG([have_ibus], [ibus], [yes], [no]) - - AS_IF([ test "x$have ibus" = "xno" ], - [ AC_MSG_ERROR([The ibus executable was not found.]) ]) - - IBUS_ADDR=`ibus address > /dev/null 2>&1` - AS_IF([ test $? -ne 0 ], - [ AC_MSG_WARN([The ibus executable does not support 'address' argument.]) ]) - - AC_DEFINE(BUILD_IBUS, [1], [Build integration with IBus input method system]) -fi +IBUS_ADDR=`ibus address > /dev/null 2>&1` +AS_IF([ test $? -ne 0 ], + [ AC_MSG_WARN([The ibus executable does not support 'address' argument.]) ]) WAYLAND_SCANNER_RULES(['$(top_srcdir)/protocol']) diff --git a/src/Makefile.am b/src/Makefile.am index bb6c7a4..b9d641f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -33,9 +33,9 @@ weekeyboard_SOURCES= \ text-client-protocol.h -if ENABLE_IBUS noinst_PROGRAMS = \ - weekeyboard-config-eet-test + weekeyboard-config-eet-test \ + weekeyboard-ibus-test weekeyboard_config_eet_test_SOURCES = \ wkb-log.c \ @@ -46,8 +46,6 @@ weekeyboard_config_eet_test_SOURCES = \ wkb-ibus-config-eet.h \ wkb-ibus-config-eet-test.c -noinst_PROGRAMS += \ - weekeyboard-ibus-test weekeyboard_ibus_test_SOURCES = \ wkb-ibus.h \ @@ -64,7 +62,6 @@ weekeyboard_ibus_test_SOURCES = \ wkb-ibus-config-eet.c \ wkb-ibus-config-eet.h \ wkb-ibus-test.c -endif @wayland_scanner_rules@ |