summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2010-12-09 21:00:41 +0100
committerPetr Mladek <pmladek@suse.cz>2010-12-13 17:11:11 +0100
commitea1145a132dd3b163352fd227ea1ad8ce0fa436c (patch)
tree9da6fc9875d16290837c539c6c27ebc78fb049aa
parentf84a31e08f1b5e3cc68a13ff2034e0e96b628eae (diff)
allow both extenral and built-in dictionaries (fdo#32235)
Signed off by Caolán McNamara <caolanm@redhat.com>
-rw-r--r--configure.in12
1 files changed, 5 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 30ae98e72..66c884225 100644
--- a/configure.in
+++ b/configure.in
@@ -1734,9 +1734,8 @@ else
fi
AC_SUBST(WITH_MYSPELL_DICTS)
-if test "$WITH_MYSPELL_DICTS" = "NO"; then
- AC_MSG_CHECKING([whether to use dicts from external paths])
- if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then
+AC_MSG_CHECKING([whether to use dicts from external paths])
+if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then
AC_MSG_RESULT([yes])
SYSTEM_DICTS=YES
AC_MSG_CHECKING([for spelling dictionary directory])
@@ -1760,10 +1759,9 @@ if test "$WITH_MYSPELL_DICTS" = "NO"; then
THES_SYSTEM_DIR=file:///usr/share/mythes
fi
AC_MSG_RESULT([$THES_SYSTEM_DIR])
- else
- AC_MSG_RESULT([no])
- SYSTEM_DICTS=NO
- fi
+else
+ AC_MSG_RESULT([no])
+ SYSTEM_DICTS=NO
fi
AC_SUBST(SYSTEM_DICTS)
AC_SUBST(DICT_SYSTEM_DIR)