X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=configure.ac;h=8498efe2e9b3734f727c7952f8da51c89625d1d0;hb=32533c72be144e0a26902e11ed0b967208a17317;hp=4c8b7f909691ae6592f02b8d94cabb75785a0319;hpb=ceaeb86d9b7c5d8674151c863551564a15c0924f;p=platform%2Fupstream%2Fibus.git diff --git a/configure.ac b/configure.ac index 4c8b7f9..8498efe 100644 --- a/configure.ac +++ b/configure.ac @@ -469,6 +469,30 @@ else enable_surrounding_text="no (disabled, use --enable-surrounding-text to enable)" fi +# --disable-ui +AC_ARG_ENABLE(ui, + AS_HELP_STRING([--disable-ui], + [Disable ibus default user interface]), + [enable_ui=$enableval], + [enable_ui=yes] +) +AM_CONDITIONAL([ENABLE_UI], [test x"$enable_ui" = x"yes"]) +if test x"$enable_ui" = x"yes"; then + enable_ui="yes (enabled, use --disable-ui to disable)" +fi + +# --disable-engine +AC_ARG_ENABLE(engine, + AS_HELP_STRING([--disable-engine], + [Disable ibus simple engine]), + [enable_engine=$enableval], + [enable_engine=yes] +) +AM_CONDITIONAL([ENABLE_ENGINE], [test x"$enable_engine" = x"yes"]) +if test x"$enable_engine" = x"yes"; then + enable_engine="yes (enabled, use --disable-engine to disable)" +fi + # Check iso-codes. PKG_CHECK_MODULES(ISOCODES, [ iso-codes @@ -543,6 +567,8 @@ Build options: IBus-1.0.gir scannerflags "$IBUS_GIR_SCANNERFLAGS" Build vala binding $enable_vala Build document $enable_gtk_doc + Build UI $enable_ui + Build engine $enable_engine Enable key snooper $enable_key_snooper No snooper regexes "$NO_SNOOPER_APPS" Panel icon "$IBUS_ICON_KEYBOARD"