patches/gnome-speech-01-espeak.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 15034 914b66354ca4
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.

diff -u -r gnome-speech-0.4.21.orig/configure.in gnome-speech-0.4.21/configure.in
--- gnome-speech-0.4.21.orig/configure.in	2008-08-03 11:01:25.000000000 -0400
+++ gnome-speech-0.4.21/configure.in	2008-08-14 20:49:39.797765000 -0400
@@ -257,10 +257,10 @@
 
 if test x$build_espeak != xno ; then
     if test x$with_espeak_dir != x ; then
-        espeak_LIBS="-L$with_espeak_dir/lib -lespeak"
+        espeak_LIBS="-L$with_espeak_dir/lib -lespeak -lCstd -lCrun -lm"
         espeak_INCLUDES="$with_espeak_dir/include/espeak"
     else
-        AC_CHECK_LIB(espeak, espeak_Synth, espeak_LIBS=-lespeak)
+        AC_CHECK_LIB(espeak, espeak_Synth, espeak_LIBS="-lespeak -lCstd -lCrun -lm",, -lCstd -lCrun -lm)
         espeak_INCLUDES="/usr/include/espeak"
     fi
     AC_SUBST(espeak_LIBS)