PKG_CHECK_MODULES(DBUS, [
dbus-glib-1
])
+QMAKE=`$PKG_CONFIG --variable=qmake Qt`
+AC_SUBST(QMAKE)
AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no)
+# Check for Qt4
+PKG_CHECK_MODULES(QT, [
+ Qt >= 4.3.5
+])
+
# check anthy
PKG_CHECK_MODULES(ANTHY, [
anthy
])
AC_PATH_PROG(SWIG, swig)
-
+AC_SUBST(SWIG)
# check python
AM_PATH_PYTHON([2.5])
AC_SUBST(PYTHON_CFLAGS)
AC_SUBST(PYTHON_LIBS)
+
# Checks for gtk-doc
GTK_DOC_CHECK([1.6])
engine/anthy/Makefile
engine/enchant/Makefile
gtk2/Makefile
+qt/Makefile
m4/Makefile
])
--- /dev/null
+# vim:set noet ts=4:
+#
+# ibus - The Input Bus
+#
+# Copyright (c) 2007-2008 Huang Peng <shawn.p.huang@gmail.com>
+#
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+# Boston, MA 02111-1307 USA
+#
+# $Id: $
+#
+
+EXTRA_DIST = \
+ ibus-client.cpp \
+ ibus-client.h \
+ ibus-input-context.cpp \
+ ibus-input-context.h \
+ ibus.pro \
+ im-ibus-qt.cpp \
+ $(NULL)
+
+Makefile.qmake: ibus.pro
+ $(QMAKE) -makefile -o Makefile.qmake ibus.pro
+
+all-local: Makefile.qmake
+ $(MAKE) -f Makefile.qmake $(AM_MAKEFLAGS) all
+
+check-local: Makefile.qmake
+ $(MAKE) -f Makefile.qmake $(AM_MAKEFLAGS) test
+
+clean-local: Makefile.qmake
+ $(MAKE) -f Makefile.qmake $(AM_MAKEFLAGS) clean
+ rm -f Makefile.qmake
+
+install-exec-local: Makefile.qmake
+ $(MAKE) -f Makefile.qmake $(AM_MAKEFLAGS) install
+
+uninstall-local: Makefile.qmake
+ $(MAKE) -f Makefile.qmake $(AM_MAKEFLAGS) uninstall
+