1 diff -Nur o.speak-1.14-source/Makefile.am n.speak-1.14-source/Makefile.am
2 --- o.speak-1.14-source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
3 +++ n.speak-1.14-source/Makefile.am 2006-09-23 20:28:28.000000000 +0200
6 +pkgdatadir = $(datadir)/espeak-data
8 + install -d $(DESTDIR)$(pkgdatadir)
9 + cp -Rf espeak-data/* $(DESTDIR)$(pkgdatadir)
10 diff -Nur o.speak-1.14-source/configure.ac n.speak-1.14-source/configure.ac
11 --- o.speak-1.14-source/configure.ac 1970-01-01 01:00:00.000000000 +0100
12 +++ n.speak-1.14-source/configure.ac 2006-09-23 20:45:27.000000000 +0200
15 +# Process this file with autoconf to produce a configure script.
18 +AC_INIT(speak, 1.14, )
20 +AC_CONFIG_SRCDIR([src/speak.cpp])
21 +AC_CONFIG_HEADER([config.h])
23 +# Checks for programs.
28 +# Checks for libraries.
29 +AC_CHECK_LIB([portaudio], [main])
31 +# Checks for header files.
33 +AC_CHECK_HEADERS([locale.h stdlib.h string.h unistd.h wchar.h wctype.h portaudio.h])
35 +# Checks for typedefs, structures, and compiler characteristics.
40 +# Checks for library functions.
41 +AC_FUNC_CLOSEDIR_VOID
47 +AC_CHECK_FUNCS([memset pow setlocale sqrt strchr Pa_IsStreamActive])
49 +if test "$datadir" = "\${prefix}/share" ; then
50 + datadirectory=$ac_default_prefix/share
52 + datadirectory="$datadir/espeak-data"
54 +AC_DEFINE_UNQUOTED(PATH_ESPEAK_DATA, "$datadirectory", [data directory])
55 +AC_CONFIG_FILES([Makefile src/Makefile])
57 diff -Nur o.speak-1.14-source/src/Makefile.am n.speak-1.14-source/src/Makefile.am
58 --- o.speak-1.14-source/src/Makefile.am 1970-01-01 01:00:00.000000000 +0100
59 +++ n.speak-1.14-source/src/Makefile.am 2006-09-23 21:14:54.000000000 +0200
61 +AM_CXXFLAGS = -Wall -pedantic -fno-exceptions
64 +speak_SOURCES = speak.cpp
65 +speak_LDADD = libespeak.la
67 +lib_LTLIBRARIES = libespeak.la
69 +libespeak_la_SOURCES = speak_lib.cpp compiledict.cpp dictionary.cpp intonation.cpp \
70 + readclause.cpp setlengths.cpp \
71 + synthdata.cpp synthesize.cpp translate.cpp tr_english.cpp \
72 + tr_languages.cpp voices.cpp wavegen.cpp
74 +libespeak_la_LDFLAGS = -version-info 15:1:14
76 +# -fvisibility=hidden requires modern GCC which is not present in current PLD Ac
77 +#libespeak_la_CXXFLAGS = $(AM_CXXFLAGS) -fvisibility=hidden
79 +include_HEADERS = speak_lib.h
80 diff -Nur o.speak-1.14-source/src/speech.h n.speak-1.14-source/src/speech.h
81 --- o.speak-1.14-source/src/speech.h 2006-09-21 20:00:41.000000000 +0200
82 +++ n.speak-1.14-source/src/speech.h 2006-09-23 19:54:14.000000000 +0200
86 // will look for espeak_data directory here, and also in user's home directory
88 +#ifndef PATH_ESPEAK_DATA
89 #define PATH_ESPEAK_DATA "/usr/share/espeak-data"
92 typedef unsigned short USHORT;
93 typedef unsigned char UCHAR;