From: Benno Schulenberg Date: Fri, 4 Apr 2014 13:42:13 +0000 (+0000) Subject: Adding the missing meek colour disabling to --enable-tiny. X-Git-Tag: v2.3.3~208 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=46b07fad7445153c6e9cdf64a7980a69fdf31e79;p=nano.git 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 --- diff --git a/ChangeLog b/ChangeLog index 601adb20..3d6be250 100644 --- 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 * configure.ac: Remove unused '*_support' variables. diff --git a/configure.ac b/configure.ac index fb45cd51..33259a3a 100644 --- 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