[Libreoffice-commits] core.git: configure.ac
Tor Lillqvist
tml at collabora.com
Wed Oct 23 15:06:21 PDT 2013
configure.ac | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 0f803f73f938087424eb3aa5f870e70b1c249d73
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Oct 24 01:01:22 2013 +0300
Enforce avoiding looking for non-existent system dicts on OS X and Windows
It is totally pointless to look for "system" /usr/share/myspell,
hyphen and mythes dictionaries on systems where they don't exist. Use
only bundled dictionaries.
(For OS X, we have code to use a system-specific spell checking API.)
Change-Id: I13aed7225d003e608f61de95671feb2e50b26c25
diff --git a/configure.ac b/configure.ac
index 0bacf50..6e59d12 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4760,6 +4760,14 @@ else
fi
AC_SUBST(WITH_MYSPELL_DICTS)
+# There are no "system" myspell, hyphen or mythes dictionaries on OS X, Windows, Android or iOS.
+if test $_os = Darwin -o $_os = WINNT -o $_os = iOS -o $_os = Android; then
+ if test "$with_system_dicts" = yes; then
+ AC_MSG_ERROR([There are no system dicts on this OS in the formats the 3rd-party libs we use expect]);
+ fi
+ with_system_dicts=no
+fi
+
AC_MSG_CHECKING([whether to use dicts from external paths])
if test -z "$with_system_dicts" -o "$with_system_dicts" != "no"; then
AC_MSG_RESULT([yes])
More information about the Libreoffice-commits
mailing list