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(espeak, 1.17, )
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 22:18:52.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 2:16:1
76 +include_HEADERS = speak_lib.h
77 --- espeak-1.17-source/src/speech.h~ 2006-11-19 14:47:14.000000000 +0100
78 +++ espeak-1.17-source/src/speech.h 2006-11-19 14:47:57.000000000 +0100
82 // will look for espeak_data directory here, and also in user's home directory
84 #ifndef PATH_ESPEAK_DATA
85 - #define PATH_ESPEAK_DATA "/usr/share/espeak-data"
86 +#define PATH_ESPEAK_DATA "/usr/share/espeak-data"
89 typedef unsigned short USHORT;