nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 46b07fad7445153c6e9cdf64a7980a69fdf31e79
parent 9901170750dc1228c951847dee4e21d3ac0da75d
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Fri,  4 Apr 2014 13:42:13 +0000

Adding the missing meek colour disabling to --enable-tiny.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4722 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 1+
Mconfigure.ac | 4++++
2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -9,6 +9,7 @@ #ifdef ENABLE_COLOR to #ifndef DISABLE_COLOR.⏎ * src/nano.h: Comment tweaks. * configure.ac: Move the enabling stuff to after the disablers. + * configure.ac: Add submissive colour disabling to --enable-tiny. 2014-04-03 Benno Schulenberg <bensberg@justemail.net> * configure.ac: Remove unused '*_support' variables. diff --git a/configure.ac b/configure.ac @@ -169,6 +169,10 @@ AS_HELP_STRING([--enable-tiny], [Disable features for the sake of size])) if test "x$enable_tiny" = xyes; 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.]) + if test "x$enable_color" != xyes; then + AC_DEFINE(DISABLE_COLOR, 1, [Define this to disable syntax highlighting.]) + color_support=no + fi if test "x$enable_extra" = xno; then AC_DEFINE(DISABLE_EXTRA, 1, [Define this to disable extra stuff.]) fi