X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=configure.ac;h=919cf0a3a9bd9f10ca3244bbbef578794603073b;hb=c5cb88ed5095f242c1454bceb962680245a28844;hp=9a6910c9ab237bd98b7823ef3392384bcfa5ada5;hpb=e665ac0ae85db53d74bc6e99182f0e2316b92cb9;p=mstardict diff --git a/configure.ac b/configure.ac index 9a6910c..919cf0a 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.4, roman.moravcik@gmail.com) +AC_INIT(mstardict, 0.5, roman.moravcik@gmail.com) AC_CONFIG_SRCDIR(src/mstardict.cpp) dnl Don't include maintainer make-rules by default @@ -41,6 +41,12 @@ 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)