From: Kaj-Michael Lang Date: Fri, 27 Jul 2007 12:25:39 +0000 (+0300) Subject: Add espeak check. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4be97890088b4078989cc6894cb8ceacb080b2a4;p=mapper Add espeak check. --- diff --git a/configure.ac b/configure.ac index f6998ed..196cec0 100644 --- a/configure.ac +++ b/configure.ac @@ -128,6 +128,15 @@ AC_CHECK_LIB([expat], [XML_ParserCreate], AC_SUBST(EXPAT_LIB) ) +AC_CHECK_HEADER(espeak/speak_lib.h) +ESPEAK_LIBS="-lespeak" +ESPEAK_CFLAGS="-I/usr/include/espeak" +AC_CHECK_LIB([espeak], [espeak_Initialize], + AC_DEFINE(HAVE_ESPEAK, 1, [Defined if you have espeak]) + AC_SUBST(ESPEAK_CFLAGS) + AC_SUBST(ESPEAK_LIB) +) + # Localisation if test "x$HAVE_HILDON" = "xyes"; then localedir=`$PKG_CONFIG osso-af-settings --variable=localedir`