summaryrefslogtreecommitdiffstats
path: root/kttsd/plugins/festivalint/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'kttsd/plugins/festivalint/configure.in.in')
-rw-r--r--kttsd/plugins/festivalint/configure.in.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/kttsd/plugins/festivalint/configure.in.in b/kttsd/plugins/festivalint/configure.in.in
new file mode 100644
index 0000000..c22f422
--- /dev/null
+++ b/kttsd/plugins/festivalint/configure.in.in
@@ -0,0 +1,22 @@
+dnl ==============================
+dnl checks for FestivalInt Plug In
+dnl ==============================
+
+AC_ARG_ENABLE(kttsd-festivalint,
+ AC_HELP_STRING([--enable-kttsd-festivalint],
+ [build KTTSD Festival Interactive plugin [default=yes]]),
+ festivalint_plugin=$enableval,
+ festivalint_plugin=yes)
+
+compile_festivalint_plugin="yes"
+
+if test "x$festivalint_plugin" = "xno"; then
+ compile_festivalint_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-festivalint.
+AC_PATH_PROG(festival_bindir, "festival", "no")
+
+AM_CONDITIONAL(include_kttsd_festivalint, test "x$compile_festivalint_plugin" = "xyes")