From c056d68a6ab6cccc6218053bb2d493dd626a6b33 Mon Sep 17 00:00:00 2001 From: Petr Mladek Date: Thu, 9 Dec 2010 21:00:41 +0100 Subject: [PATCH] allow both extenral and built-in dictionaries (fdo#32235) --- configure.in | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/configure.in b/configure.in index 601a9f2..4fa78b3 100644 --- a/configure.in +++ b/configure.in @@ -1733,9 +1733,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]) @@ -1759,10 +1758,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) -- 1.6.0.2