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

@@ -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])

Loading…
Cancel
Save