summaryrefslogtreecommitdiffstats
path: root/kttsd/plugins/flite/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'kttsd/plugins/flite/configure.in.in')
-rw-r--r--kttsd/plugins/flite/configure.in.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/kttsd/plugins/flite/configure.in.in b/kttsd/plugins/flite/configure.in.in
new file mode 100644
index 0000000..f9b222f
--- /dev/null
+++ b/kttsd/plugins/flite/configure.in.in
@@ -0,0 +1,22 @@
+dnl =========================================
+dnl checks for Festival Lite (Flite) Plug In
+dnl =========================================
+
+AC_ARG_ENABLE(kttsd-flite,
+ AC_HELP_STRING([--enable-kttsd-flite],
+ [build KTTSD Festival Lite (flite) [default=yes]]),
+ flite_plugin=$enableval,
+ flite_plugin=yes)
+
+compile_flite_plugin="yes"
+
+if test "x$flite_plugin" = "xno"; then
+ compile_flite_plugin="no"
+fi
+
+dnl Check for flite executable.
+dnl Note that flite plugin is always built, unless
+dnl user overrides on configure command line.
+AC_PATH_PROG(flite_bindir, "flite", "no")
+
+AM_CONDITIONAL(include_kttsd_flite, test "x$compile_flite_plugin" != "xno")