configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) New commits: commit 0f803f73f938087424eb3aa5f870e70b1c249d73 Author: Tor Lillqvist <t...@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]) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits