From 0931763144f643ec701334462b060cd57153a6d8 Mon Sep 17 00:00:00 2001 From: Alexander Epaneshnikov Date: Wed, 23 Mar 2022 21:58:23 +0300 Subject: [PATCH] enable all extra dictionaries by default let's be honest, using espeak-ng without these dictionaries is simply unbearable... at least for Russian. so let's all get a little bit happy. --- configure.ac | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/configure.ac b/configure.ac index 5df50ec9..46e50019 100644 --- a/configure.ac +++ b/configure.ac @@ -49,15 +49,15 @@ AC_ARG_WITH([async], []) AC_ARG_WITH([extdict-ru], - [AS_HELP_STRING([--with-extdict-ru], [use the extended Russian Dictionary file @<:@default=no@:>@])], + [AS_HELP_STRING([--with-extdict-ru], [use the extended Russian Dictionary file @<:@default=yes@:>@])], []) AC_ARG_WITH([extdict-cmn], - [AS_HELP_STRING([--with-extdict-cmn], [use the extended Mandarin Chinese Dictionary file @<:@default=no@:>@])], + [AS_HELP_STRING([--with-extdict-cmn], [use the extended Mandarin Chinese Dictionary file @<:@default=yes@:>@])], []) AC_ARG_WITH([extdict-yue], - [AS_HELP_STRING([--with-extdict-yue], [use the extended Cantonese Chinese Dictionary file @<:@default=no@:>@])], + [AS_HELP_STRING([--with-extdict-yue], [use the extended Cantonese Chinese Dictionary file @<:@default=yes@:>@])], []) AC_ARG_WITH([libfuzzer], @@ -275,22 +275,22 @@ dnl ================================================================ dnl Extended dictionary checks. dnl ================================================================ -if test "$with_extdict_ru" = "yes" ; then - have_extdict_ru=yes -else +if test "$with_extdict_ru" = "no" ; then have_extdict_ru=no +else + have_extdict_ru=yes fi -if test "$with_extdict_cmn" = "yes" ; then - have_extdict_cmn=yes -else +if test "$with_extdict_cmn" = "no" ; then have_extdict_cmn=no +else + have_extdict_cmn=yes fi -if test "$with_extdict_yue" = "yes" ; then - have_extdict_yue=yes -else +if test "$with_extdict_yue" = "no" ; then have_extdict_yue=no +else + have_extdict_yue=yes fi AM_CONDITIONAL(HAVE_RU_EXTENDED_DICTIONARY, [test x"$have_extdict_ru" = xyes])