[Libreoffice-commits] .: Branch 'libreoffice-3-3' - configure.in

Petr Mladek pmladek at kemper.freedesktop.org
Mon Dec 13 08:11:42 PST 2010


 configure.in |   12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

New commits:
commit ea1145a132dd3b163352fd227ea1ad8ce0fa436c
Author: Petr Mladek <pmladek at suse.cz>
Date:   Thu Dec 9 21:00:41 2010 +0100

    allow both extenral and built-in dictionaries (fdo#32235)
    
    Signed off by Caolán McNamara <caolanm at redhat.com>

diff --git a/configure.in b/configure.in
index 30ae98e..66c8842 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)


More information about the Libreoffice-commits mailing list