commit 3334eedb831679f665b35519853427cbe20e103f
parent f78bc85db1140bff9478f619abb70959a1904f02
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Tue, 18 Dec 2007 16:13:37 +0000
fix breakage
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4205 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git 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)