From: David Lawrence Ramsey Date: Tue, 18 Dec 2007 16:13:37 +0000 (+0000) Subject: fix breakage X-Git-Tag: v2.0.7~6 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d64d62216b976daa476b3e6b49fbbde27051660e;p=nano.git fix breakage git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_2_0_branch/nano@4205 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/configure.ac b/configure.ac index 7c8c708f..4c27e156 100644 --- a/configure.ac +++ b/configure.ac @@ -372,17 +372,17 @@ int main(void) ;; esac], [AC_MSG_RESULT(no)]) - if test x$with_slang != xno; then - AC_DEFINE(NANO_TINY, 1, [Define this to make the nano executable as small as possible.]) tiny_support=yes - AC_DEFINE(DISABLE_BROWSER, 1, [Define this to disable the built-in file browser.]) - AC_DEFINE(DISABLE_HELP, 1, [Define this to disable the help text display.]) - AC_DEFINE(DISABLE_JUSTIFY, 1, [Define this to disable the justify routines.]) - AC_DEFINE(DISABLE_MOUSE, 1, [Define this to disable the mouse functions.]) - AC_DEFINE(DISABLE_OPERATINGDIR, 1, [Define this to disable the setting of the operating directory (chroot of sorts).]) - AC_DEFINE(DISABLE_SPELLER, 1, [Define this to disable the spell checker functions.]) - AC_DEFINE(DISABLE_TABCOMP, 1, [Define to disable the tab completion functions for files and search strings.]) - AC_DEFINE(DISABLE_WRAPPING, 1, [Define this to disable all text wrapping.]) - fi +if test x$CURSES_LIB_NAME = xslang; then + AC_DEFINE(NANO_TINY, 1, [Define this to make the nano executable as small as possible.]) tiny_support=yes + AC_DEFINE(DISABLE_BROWSER, 1, [Define this to disable the built-in file browser.]) + AC_DEFINE(DISABLE_HELP, 1, [Define this to disable the help text display.]) + AC_DEFINE(DISABLE_JUSTIFY, 1, [Define this to disable the justify routines.]) + AC_DEFINE(DISABLE_MOUSE, 1, [Define this to disable the mouse functions.]) + AC_DEFINE(DISABLE_OPERATINGDIR, 1, [Define this to disable the setting of the operating directory (chroot of sorts).]) + AC_DEFINE(DISABLE_SPELLER, 1, [Define this to disable the spell checker functions.]) + AC_DEFINE(DISABLE_TABCOMP, 1, [Define to disable the tab completion functions for files and search strings.]) + AC_DEFINE(DISABLE_WRAPPING, 1, [Define this to disable all text wrapping.]) +fi AM_CONDITIONAL(USE_COLOR, test x$color_support = xyes) AM_CONDITIONAL(USE_NANORC, test x$nanorc_support = xyes)