1 dnl Process this file with autoconf to produce a configure script.
4 AC_INIT(mstardict, 0.4, roman.moravcik@gmail.com)
5 AC_CONFIG_SRCDIR(src/mstardict.cpp)
7 dnl Don't include maintainer make-rules by default
10 AM_INIT_AUTOMAKE([dist-bzip2])
12 AM_CONFIG_HEADER(config.h)
22 dnl ================================================================
24 dnl ================================================================
25 IT_PROG_INTLTOOL([0.35])
26 AM_GNU_GETTEXT([external])
27 AM_GNU_GETTEXT_VERSION(0.14.1)
28 GETTEXT_PACKAGE=mstardict
29 AC_SUBST(GETTEXT_PACKAGE)
30 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
35 AC_CHECK_LIB(z,zlibVersion,LIBS="$LIBS -lz",[AC_MSG_ERROR([zlib not found])])
37 PKG_CHECK_MODULES(MSTARDICT, glib-2.0 >= 2.6.1 hildon-1 gconf-2.0 >= 2.6.2)
39 MSTARDICT_CFLAGS="-Wall $MSTARDICT_CFLAGS"
41 AC_SUBST(MSTARDICT_LIBS)
42 AC_SUBST(MSTARDICT_CFLAGS)
44 dnl fill cflags for libstardict
45 PKG_CHECK_MODULES(LIB_STARDICT, glib-2.0 >= 2.6.1 gtk+-2.0 >= 2.12 sigc++-2.0)
46 AC_SUBST(LIB_STARDICT_CFLAGS)
51 data/mstardict.desktop.in
56 stardict-plugins/Makefile
57 stardict-plugins/stardict-html-parsedata-plugin/Makefile
58 stardict-plugins/stardict-powerword-parsedata-plugin/Makefile
59 stardict-plugins/stardict-wiki-parsedata-plugin/Makefile
60 stardict-plugins/stardict-xdxf-parsedata-plugin/Makefile
65 Type \"make\" to compile.