CVS code -
+General
+ - Changed --disable-spell to --disable speller. The term is
+ "speller" for -s, so it should be --disable-speller.
- files.c:
write_file()
- Added tmp check to TMP_OPT section (how apropriate).
fi
-# Check whether --enable-spell or --disable-spell was given.
-if test "${enable_spell+set}" = set; then
- enableval="$enable_spell"
+# Check whether --enable-speller or --disable-speller was given.
+if test "${enable_speller+set}" = set; then
+ enableval="$enable_speller"
if test x$enableval != xyes; then
cat >> confdefs.h <<\EOF
-#define DISABLE_SPELL 1
+#define DISABLE_SPELLER 1
EOF
fi
AC_DEFINE(DISABLE_JUSTIFY)
fi])
-AC_ARG_ENABLE(spell,
+AC_ARG_ENABLE(speller,
[ --disable-speller Disables spell checker function],
[if test x$enableval != xyes; then
- AC_DEFINE(DISABLE_SPELL)
+ AC_DEFINE(DISABLE_SPELLER)
fi])
AC_MSG_CHECKING(whether to use slang)
#ifdef DISABLE_JUSTIFY
printf(" --disable-justify");
#endif
-#ifdef DISABLE_SPELL
- printf(" --disable-spell");
+#ifdef DISABLE_SPELLER
+ printf(" --disable-speller");
#endif
#ifdef USE_SLANG
printf(" --with-slang");
}
#endif
-#if defined(DISABLE_JUSTIFY) || defined(DISABLE_SPELL)
+#if defined(DISABLE_JUSTIFY) || defined(DISABLE_SPELLER)
void nano_disabled_msg(void)
{
statusbar("Sorry, support for this function has been disabled");
UNSET(SAMELINEWRAP);
}
-#if !defined(NANO_SMALL) && !defined(DISABLE_SPELL)
+#if !defined(NANO_SMALL) && !defined(DISABLE_SPELLER)
int do_int_spell_fix(char *word)
{
}
#endif
-#if !defined(NANO_SMALL) && !defined(DISABLE_SPELL)
+#if !defined(NANO_SMALL) && !defined(DISABLE_SPELLER)
/* Integrated spell checking using 'spell' program */
int do_int_speller(char *tempfile_name)
}
#endif
-#if !defined(NANO_SMALL) && !defined(DISABLE_SPELL)
+#if !defined(NANO_SMALL) && !defined(DISABLE_SPELLER)
/* External spell checking */
int do_alt_speller(char *file_name)
#if defined(NANO_SMALL)
nano_small_msg();
return (TRUE);
-#elif defined(DISABLE_SPELL)
+#elif defined(DISABLE_SPELLER)
nano_disabled_msg();
return (TRUE);
#else