X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=configure.ac;h=14c29e9699124c0b519f52ecdfca8020f243cf56;hb=refs%2Fheads%2Fmaster;hp=87ee46d1094e4a692709eefd1b8996d056f53611;hpb=fdcbb6f3cdb8a145a208d500951beca916e6c58a;p=mstardict diff --git a/configure.ac b/configure.ac index 87ee46d..14c29e9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.52) -AC_INIT(mstardict, 0.2, roman.moravcik@gmail.com) +AC_INIT(mstardict, 0.6, roman.moravcik@gmail.com) AC_CONFIG_SRCDIR(src/mstardict.cpp) dnl Don't include maintainer make-rules by default @@ -17,6 +17,7 @@ AC_LANG([C++]) AC_PROG_CXXCPP AC_PROG_MAKE_SET AC_PROG_RANLIB +AM_PROG_LIBTOOL dnl ================================================================ dnl Gettext stuff. @@ -33,29 +34,36 @@ AC_FUNC_MMAP AC_CHECK_LIB(z,zlibVersion,LIBS="$LIBS -lz",[AC_MSG_ERROR([zlib not found])]) -PKG_CHECK_MODULES(MSTARDICT, glib-2.0 >= 2.6.1 hildon-1) +PKG_CHECK_MODULES(MSTARDICT, glib-2.0 >= 2.6.1 hildon-1 gconf-2.0 >= 2.6.2 libosso) MSTARDICT_CFLAGS="-Wall $MSTARDICT_CFLAGS" AC_SUBST(MSTARDICT_LIBS) AC_SUBST(MSTARDICT_CFLAGS) +# check for libespeak (consider moving this to maemo5) +AC_CHECK_HEADERS(espeak/speak_lib.h, [ +MSTARDICT_CFLAGS="$MSTARDICT_CFLAGS -DESPEAK" +MSTARDICT_LIBS="$MSTARDICT_LIBS -lespeak" +]) + dnl fill cflags for libstardict PKG_CHECK_MODULES(LIB_STARDICT, glib-2.0 >= 2.6.1 gtk+-2.0 >= 2.12 sigc++-2.0) AC_SUBST(LIB_STARDICT_CFLAGS) -# Discover where to install the .desktop file: -HILDON_DESKTOP_ENTRY_DIR=`pkg-config osso-af-settings --variable=desktopentrydir` -AC_SUBST(HILDON_DESKTOP_ENTRY_DIR) - AC_OUTPUT([ Makefile data/Makefile data/mstardict.desktop.in m4/Makefile - src/lib/Makefile - src/Makefile po/Makefile.in + src/Makefile + src/lib/Makefile + stardict-plugins/Makefile + stardict-plugins/stardict-html-parsedata-plugin/Makefile + stardict-plugins/stardict-powerword-parsedata-plugin/Makefile + stardict-plugins/stardict-wiki-parsedata-plugin/Makefile + stardict-plugins/stardict-xdxf-parsedata-plugin/Makefile ]) echo "