Browse Source

Merge pull request #1136

master
Valdis Vitolins 3 years ago
parent
commit
eaa85563b8
1 changed files with 12 additions and 12 deletions
  1. 12
    12
      configure.ac

+ 12
- 12
configure.ac View File

[]) [])


AC_ARG_WITH([extdict-ru], 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], 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], 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], AC_ARG_WITH([libfuzzer],
dnl Extended dictionary checks. dnl Extended dictionary checks.
dnl ================================================================ dnl ================================================================


if test "$with_extdict_ru" = "yes" ; then
have_extdict_ru=yes
else
if test "$with_extdict_ru" = "no" ; then
have_extdict_ru=no have_extdict_ru=no
else
have_extdict_ru=yes
fi fi


if test "$with_extdict_cmn" = "yes" ; then
have_extdict_cmn=yes
else
if test "$with_extdict_cmn" = "no" ; then
have_extdict_cmn=no have_extdict_cmn=no
else
have_extdict_cmn=yes
fi fi


if test "$with_extdict_yue" = "yes" ; then
have_extdict_yue=yes
else
if test "$with_extdict_yue" = "no" ; then
have_extdict_yue=no have_extdict_yue=no
else
have_extdict_yue=yes
fi fi


AM_CONDITIONAL(HAVE_RU_EXTENDED_DICTIONARY, [test x"$have_extdict_ru" = xyes]) AM_CONDITIONAL(HAVE_RU_EXTENDED_DICTIONARY, [test x"$have_extdict_ru" = xyes])

Loading…
Cancel
Save