diff --git a/ChangeLog b/ChangeLog index 8175989a..9a79c358 100644 --- a/ChangeLog +++ b/ChangeLog @@ -351,6 +351,8 @@ CVS code - snprintf(). (DLR) - Change the description of "sufficient wide character support" to "sufficient UTF-8 support", as the latter is clearer. (DLR) + - Update the description of the ENABLE_COLOR option to mention + the need for regex.h. (DLR) - doc/faq.html: - Update section 4.10 to mention that pasting from the X clipboard via the middle mouse button also works when the diff --git a/configure.ac b/configure.ac index b6c5ea41..4433dcf3 100644 --- a/configure.ac +++ b/configure.ac @@ -154,7 +154,7 @@ AC_ARG_ENABLE(color, [ --enable-color Enable color and syntax highlighting], [if test x$enableval = xyes; then AC_DEFINE(ENABLE_NANORC, 1, [Define this to use the .nanorc file.]) nanorc_support=yes - AC_DEFINE(ENABLE_COLOR, 1, [Define this to have syntax highlighting, requires ENABLE_NANORC too!]) color_support=yes + AC_DEFINE(ENABLE_COLOR, 1, [Define this to have syntax highlighting, requires regex.h and ENABLE_NANORC too!]) color_support=yes AC_MSG_WARN([ *********************************************************************** *** WARNING: Color support is far from perfect, but functional. *** @@ -179,7 +179,7 @@ AC_ARG_ENABLE(all, [ --enable-all Enable ALL extra nano functionality (kitchen sink option)], [if test x$enableval = xyes; then AC_DEFINE(ENABLE_NANORC, 1, [Define this to use the .nanorc file.]) nanorc_support=yes - AC_DEFINE(ENABLE_COLOR, 1, [Define this to have syntax highlighting, requires ENABLE_NANORC too!]) color_support=yes + AC_DEFINE(ENABLE_COLOR, 1, [Define this to have syntax highlighting, requires regex.h and ENABLE_NANORC too!]) color_support=yes AC_DEFINE(ENABLE_MULTIBUFFER, 1, [Define this to enable multiple file buffers.]) multibuffer_support=yes AC_DEFINE(NANO_EXTRA, 1, [Define this to enable the extra stuff.]) extra_support=yes AC_MSG_WARN([