summaryrefslogtreecommitdiffstats
path: root/kttsd/plugins/freetts/configure.in.in
blob: 78555fc22ba5bdec5d696692e85a3477c2817fa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
dnl ================
dnl checks for FreeTTS
dnl ================

AC_ARG_ENABLE(kttsd-freetts,
              AC_HELP_STRING([--enable-kttsd-freetts],
                             [build KTTSD FreeTTS Plugin [default=yes]]),
              freetts_plugin=$enableval,
              freetts_plugin=yes)

compile_freetts_plugin="yes"

if test "x$freetts_plugin" = "xno"; then
  compile_freetts_plugin="no"
fi

dnl Check for festival executable.
dnl Note that Festival Interactive plugin is always built
dnl whether binary is found or not, unless user overrides with -disable-freetts.
AC_PATH_PROG(freetts_bindir, "freetts.jar", "no")

AM_CONDITIONAL(include_kttsd_freetts, test "x$compile_freetts_plugin" = "xyes")