summaryrefslogtreecommitdiffstats
path: root/kttsd/plugins/flite/configure.in.in
blob: f9b222f7c1b21e1a282a0486882f4a8c5a4235de (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 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")