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