summaryrefslogtreecommitdiff
path: root/media-sound/mangler/files/mangler-1.2.5-espeak-ng.patch
blob: 45db427d70b40b27340dd767c127f499c7e5eb62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/configure.ac
+++ b/configure.ac
@@ -117,9 +117,9 @@ if test "$disable_ui" != "yes" ; then
 	fi
 
 	if test "$enable_espeak" != "no" ; then
-		AC_CHECK_LIB([espeak], [espeak_Initialize], [
+		AC_CHECK_LIB([espeak-ng], [espeak_Initialize], [
 			AC_DEFINE(HAVE_ESPEAK, 1, [have espeak])
-			LIBS="-lespeak $LIBS"
+			LIBS="-lespeak-ng $LIBS"
 			echo "Enabled optional eSpeak support."
 		], [
 			echo "Optional eSpeak support is not enabled."