From f56229948d7563d72106939b2af14895bd170233 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Fri, 2 Sep 2005 19:13:27 +0000
Subject: [PATCH] in configure.ac, update the description of the ENABLE_COLOR
 option to mention the need for regex.h

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3012 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog    | 2 ++
 configure.ac | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

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([
-- 
GitLab