Kaydet (Commit) 180c90dc authored tarafından Petr Mladek's avatar Petr Mladek

allow both extenral and built-in dictionaries (fdo#32235)

Signed off by Caolán McNamara <caolanm@redhat.com>
üst de07f115
...@@ -1734,9 +1734,8 @@ else ...@@ -1734,9 +1734,8 @@ else
fi fi
AC_SUBST(WITH_MYSPELL_DICTS) AC_SUBST(WITH_MYSPELL_DICTS)
if test "$WITH_MYSPELL_DICTS" = "NO"; then AC_MSG_CHECKING([whether to use dicts from external paths])
AC_MSG_CHECKING([whether to use dicts from external paths]) if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then
if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
SYSTEM_DICTS=YES SYSTEM_DICTS=YES
AC_MSG_CHECKING([for spelling dictionary directory]) AC_MSG_CHECKING([for spelling dictionary directory])
...@@ -1760,10 +1759,9 @@ if test "$WITH_MYSPELL_DICTS" = "NO"; then ...@@ -1760,10 +1759,9 @@ if test "$WITH_MYSPELL_DICTS" = "NO"; then
THES_SYSTEM_DIR=file:///usr/share/mythes THES_SYSTEM_DIR=file:///usr/share/mythes
fi fi
AC_MSG_RESULT([$THES_SYSTEM_DIR]) AC_MSG_RESULT([$THES_SYSTEM_DIR])
else else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
SYSTEM_DICTS=NO SYSTEM_DICTS=NO
fi
fi fi
AC_SUBST(SYSTEM_DICTS) AC_SUBST(SYSTEM_DICTS)
AC_SUBST(DICT_SYSTEM_DIR) AC_SUBST(DICT_SYSTEM_DIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment