summaryrefslogtreecommitdiff
path: root/configure.in
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
commit180c90dcb9d1c55ac6b9416ae094760c4a6e5436 (patch)
treeb8686606affcd4babffc32bf6f12f548d83f7479 /configure.in
parentde07f11517b20ed37ef6e2399ff67838182931d1 (diff)
allow both extenral and built-in dictionaries (fdo#32235)
Signed off by Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 5 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 30ae98e72c65..66c8842258ca 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)