nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] why does --with-slang do --enable-tiny?


From: Mike Frysinger
Subject: Re: [Nano-devel] why does --with-slang do --enable-tiny?
Date: Mon, 31 Mar 2014 16:54:54 -0400
User-agent: KMail/4.12.3 (Linux/3.13.0; KDE/4.12.3; x86_64; ; )

On Mon 31 Mar 2014 11:54:33 Benno Schulenberg wrote:
> The current configure.ac file contains this:
> 
> if test x$CURSES_LIB_NAME = xslang; then
>     AC_DEFINE(NANO_TINY, 1, [Define this to make the nano executable as
> small as possible.]) 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 support.]) 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 this to disable the tab
> completion functions for files and search strings.])
> AC_DEFINE(DISABLE_WRAPPING, 1, [Define this to disable all text wrapping.])
> fi
> 
> Why does the configuration with --with-slang silently disable all those
> things (the same ones that --enable-tiny disables)?  The documentation says
> nothing about this.  Well, the texinfo document says that compiling nano
> with slang "will make the binary notably smaller than if compiled with
> ncurses ", but this isn't true, it makes the binary just a few bytes
> smaller than with --enable-tiny.
> 
> So... should the above section of configure.ac simply be removed?  And the
> texinfo doc updated?

if slang works with those features, then yes, imo we should delete that 
section of configure.ac.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]