All pastes #937317 Raw Edit

Someone

public text v1 · immutable
·published 2008-03-10 23:14 UTC
rendered paste body
Index: speech-dispatcher-0.6.5/configure.in
===================================================================
--- speech-dispatcher-0.6.5.orig/configure.in   2008-03-10 23:11:42.000000000 +0000
+++ speech-dispatcher-0.6.5/configure.in        2008-03-10 23:14:02.000000000 +0000
@@ -134,12 +134,15 @@
 AC_SUBST(ibmtts_include)
 
 dnl check for espeak support
+AC_LANG_PUSH([C++])
 AC_CHECK_LIB(espeak,
 espeak_Initialize,
                espeak_ok="true"; echo "Compiling with espeak support.",
                espeak_ok="false"; echo "Espeak not found.",
                -lpthread -lm)
 
+AC_LANG_POP([C++])
+
 AC_ARG_WITH(espeak, AS_HELP_STRING(--with-espeak, Compile with espeak support),
                 if test $withval = "no"; then 
                    echo "Forced compilation without espeak support.";