diff --git a/ChangeLog b/ChangeLog index 8175989a11067a92eb8217a17ae3221f25a23cd4..9a79c358270ec4c94d316fc93bfef07c9b5cefb7 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 b6c5ea41a2151f035706c631d930c33a255f58ca..4433dcf322b1cfb04f364d090fb340db15177640 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([