#
# ibus - The Input Bus
#
-# Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com>
-# Copyright (c) 2007-2010 Red Hat, Inc.
+# Copyright (c) 2007-2013 Peng Huang <shawn.p.huang@gmail.com>
+# Copyright (c) 2007-2013 Red Hat, Inc.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
m4_define([ibus_major_version], [1])
m4_define([ibus_minor_version], [5])
-m4_define([ibus_micro_version], [1])
+m4_define([ibus_micro_version], [2])
m4_define([ibus_abi_current], [5])
m4_define([ibus_abi_revision],
[m4_eval(100 * ibus_minor_version + ibus_micro_version)])
[ibus_major_version.ibus_abi_current_minus_age.ibus_abi_age.ibus_abi_revision])
# Required versions of other packages.
-m4_define([glib_required_version], [2.26.0])
+m4_define([glib_required_version], [2.32.0])
# Init automake.
gthread-2.0 >= glib_required_version
])
+GLIB_VERSION=`$PKG_CONFIG --modversion glib-2.0`
+AC_SUBST(GLIB_VERSION)
+
# --disable-tests option.
AC_ARG_ENABLE(tests,
AS_HELP_STRING([--disable-tests],
PYGOBJECT_REQUIRED=3.0.0
PKG_CHECK_EXISTS([pygobject-3.0 >= $PYGOBJECT_REQUIRED],
- [enable_pygobject=yes],[enable_pygobject=no])
+ [enable_pygobject=yes], [enable_pygobject=no])
if test "x$enable_pygobject" = "xyes"; then
PKG_CHECK_MODULES(PYTHON, [pygobject-3.0 >= $PYGOBJECT_REQUIRED])
enable_engine="yes (enabled, use --disable-engine to disable)"
fi
+# --disable-libnotify
+AC_ARG_ENABLE(libnotify,
+ AS_HELP_STRING([--disable-libnotify],
+ [Disable to link libnotify]),
+ [enable_libnotify=$enableval],
+ [enable_libnotify=yes]
+)
+AM_CONDITIONAL([ENABLE_LIBNOTIFY], [test x"$enable_libnotify" = x"yes"])
+if test x"$enable_libnotify" = x"yes"; then
+ PKG_CHECK_MODULES(LIBNOTIFY, [
+ libnotify >= 0.7
+ ])
+ enable_libnotify="yes (enabled, use --disable-libnotify to disable)"
+fi
+
# Check iso-codes.
PKG_CHECK_MODULES(ISOCODES, [
iso-codes
src/tests/Makefile
bus/Makefile
engine/Makefile
-engine/simple.xml.in
util/Makefile
util/IMdkit/Makefile
data/Makefile
ibus/interface/Makefile
ui/Makefile
ui/gtk3/Makefile
-ui/gtk3/gtkpanel.xml.in
setup/Makefile
setup/ibus-setup
bindings/Makefile
bindings/vala/Makefile
conf/Makefile
conf/gconf/Makefile
-conf/gconf/gconf.xml.in
conf/dconf/Makefile
-conf/dconf/dconf.xml.in
conf/memconf/Makefile
-conf/memconf/memconf.xml.in
tools/Makefile
])
No snooper regexes "$NO_SNOOPER_APPS"
Panel icon "$IBUS_ICON_KEYBOARD"
Enable surrounding-text $enable_surrounding_text
+ Enable libnotify $enable_libnotify
Run test cases $enable_tests
])