diff options
Diffstat (limited to 'kttsd/plugins/freetts/configure.in.in')
-rw-r--r-- | kttsd/plugins/freetts/configure.in.in | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/kttsd/plugins/freetts/configure.in.in b/kttsd/plugins/freetts/configure.in.in new file mode 100644 index 0000000..78555fc --- /dev/null +++ b/kttsd/plugins/freetts/configure.in.in @@ -0,0 +1,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") |