[balsa] Clarify spell checker options



commit 97df0efc6c1b8e20fea38fabe8053f744d3e7c54
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Thu Apr 20 18:03:35 2017 -0400

    Clarify spell checker options
    
        * configure.ac: replace --with-spell-checker=no with
          --with-spell-checker=internal.

 ChangeLog    |    5 +++++
 configure.ac |   12 ++++++------
 2 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index cce6f6d..a6c4b46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-04-20  Peter Bloomfield  <pbloomfield bellsouth net>
 
+       * configure.ac: replace --with-spell-checker=no with
+       --with-spell-checker=internal.
+
+2017-04-20  Peter Bloomfield  <pbloomfield bellsouth net>
+
        Fix a bug in the SMTP code, and generally clean up;
        https://mail.gnome.org/archives/balsa-list/2017-April/msg00040.html
 
diff --git a/configure.ac b/configure.ac
index af13355..83a5674 100644
--- a/configure.ac
+++ b/configure.ac
@@ -115,10 +115,10 @@ AC_ARG_WITH([gtksourceview],
                  [with_gtksourceview=$withval],[with_gtksourceview=no])
 
 AC_ARG_WITH([spell-checker],
-            AC_HELP_STRING([--with-spell-checker=(no|gtkspell|gspell)],
-                           [select the external spell checker (default no)]),
+            AC_HELP_STRING([--with-spell-checker=(internal|gtkspell|gspell)],
+                           [select the spell checker (default internal)]),
             [use_spell_checker=$withval],
-            [use_spell_checker=no])
+            [use_spell_checker=internal])
 
 AC_ARG_WITH([ldap],
    AC_HELP_STRING([--with-ldap=DIR],
@@ -703,7 +703,7 @@ case "$use_spell_checker" in
     fi
     AC_DEFINE(HAVE_GTKSPELL,1,[Defined when GtkSpell can be used.])
     ;;
-    no)
+    internal)
     AC_MSG_RESULT([configure enchant])
     PKG_CHECK_MODULES(SPELL, [ enchant ])
     ;;
@@ -713,7 +713,7 @@ case "$use_spell_checker" in
 esac
 BALSA_CFLAGS="$BALSA_CFLAGS $SPELL_CFLAGS"
 BALSA_LIBS="$BALSA_LIBS $SPELL_LIBS"
-AM_CONDITIONAL([BUILD_WITH_SPELL_CHECKER], [test $use_spell_checker != "no"])
+AM_CONDITIONAL([BUILD_WITH_SPELL_CHECKER], [test $use_spell_checker != "internal"])
 
 dnl #####################################################################
 dnl 6. Typedefs, structures and compiler characteristics.
@@ -917,7 +917,7 @@ echo "                 Use GPGME: $gpgmecfg"
 echo "                  Use LDAP: $with_ldap"
 echo "                   Use GSS: $with_gss"
 echo "                Use SQLite: $with_sqlite"
-echo "    External spell checker: $use_spell_checker"
+echo "             Spell checker: $use_spell_checker"
 echo "             Use Libnotify: $with_libnotify"
 echo "         Use GtkSourceView: $with_gtksourceview"
 echo "              Use Compface: $with_compface"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]