From 4be97890088b4078989cc6894cb8ceacb080b2a4 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Fri, 27 Jul 2007 15:25:39 +0300 Subject: [PATCH] Add espeak check. --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) 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` -- 2.39.5