diff --git a/ChangeLog b/ChangeLog index 0a832732c39a4e8cad3ecf4636b15fd38c1296ac..a47b8f6546a163ddff14c9c501309868206ac012 100644 --- a/ChangeLog +++ b/ChangeLog @@ -91,8 +91,8 @@ CVS code - not the first or last line of the edit window. (DLR, found by Mike Frysinger) - nano.h: - - If we don't have nanorc support, disable color support, as it - depends on the use of the nanorc. (DLR) + - Remove the manual disabling of color support if regex.h isn't + found, as configure.ac now handles that. (DLR) - winio.c: display_string() - Properly handle buf[start_index]'s being a null terminator. diff --git a/src/nano.h b/src/nano.h index d6fc8a56e6ba89a9fade134a2b8620ccba94a209..8770e04deda753250839ecc5331816d6c6793c6c 100644 --- a/src/nano.h +++ b/src/nano.h @@ -138,12 +138,6 @@ #define getline ngetline #endif -/* If we don't have regex or nanorc support, turn the color support off, - * as it depends on the use of both. */ -#if !defined(HAVE_REGEX_H) || !defined(ENABLE_NANORC) -#undef ENABLE_COLOR -#endif - /* If we aren't using ncurses, turn the mouse support off, as it's * ncurses-specific. */ #ifndef NCURSES_MOUSE_VERSION