1
0
forked from GitHub/gf-core

Added semi-working speech_input command.

This commit is contained in:
bringert
2005-12-13 21:03:56 +00:00
parent 9f867c4922
commit 5a480fac52
15 changed files with 190 additions and 11 deletions

View File

@@ -115,6 +115,41 @@ esac
AC_SUBST(INTERRUPT)
dnl ***********************************************
dnl ATK speech recognition
dnl ***********************************************
AC_ARG_WITH(atk,
AC_HELP_STRING([--with-atk=<use ATK speech recognition>],
[Choose whether to compile in support for speech
recognition using ATK. Requires ATK and libatkrec.
Available alternatives are: 'yes', 'no'
(default = no)]),
[ATK="$withval"],
[ATK="no"])
case $ATK in
yes)
AC_MSG_CHECKING([for atkrec package])
ATKREC_VERSION=`ghc-pkg latest atkrec`
if test "$ATKREC_VERSION" = ""; then
AC_MSG_RESULT(['not found'])
AC_MSG_WARN([Disabling ATK support.])
ATK="no"
else
AC_MSG_RESULT([$ATKREC_VERSION])
fi
;;
no)
;;
*)
AC_MSG_ERROR([Bad value for --with-atk: $ATK])
;;
esac
AC_SUBST(ATK)
dnl ***********************************************
dnl java stuff
dnl ***********************************************