Commit 18d70f14 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

added --enable-color and updated nanorc description in ChangeLog

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@613 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 5050aa6a
Showing with 218 additions and 181 deletions
+218 -181
...@@ -17,8 +17,11 @@ Cvs code - ...@@ -17,8 +17,11 @@ Cvs code -
- After "Alternate" spell checker is called, cursor is repositioned on - After "Alternate" spell checker is called, cursor is repositioned on
the same line as before ^T was called. the same line as before ^T was called.
- configure.in: - configure.in:
- New option, --enable-nanorc which currently does nothing but - New option, --enable-nanorc which allows people to have a .nanorc
sets a define. Will do more later... initialization file and set options normally used on the command
line, and color later on.
- Added --enable-color option to allow color and syntax hilighting
(stub as of now).
- files.c: - files.c:
do_browser() do_browser()
- Minor fixes to the processing of SELECT function (Rocco) - Minor fixes to the processing of SELECT function (Rocco)
......
...@@ -56,3 +56,7 @@ ...@@ -56,3 +56,7 @@
/* Define this to use the .nanorc file */ /* Define this to use the .nanorc file */
#undef ENABLE_NANORC #undef ENABLE_NANORC
/* Define this to have syntax hilighting, requires ENABLE_NANORC too! */
#undef ENABLE_COLOR
...@@ -501,8 +501,9 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "" ...@@ -501,8 +501,9 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", ""
POSUB=po POSUB=po
fi fi
AC_OUTPUT_COMMANDS( AC_OUTPUT_COMMANDS(
[case " $CONFIG_FILES " in *" po/Makefile.in "* | *" po/Makefile.in:"*) [case " "$CONFIG_FILES" " in *" po/Makefile.in "* | *" po/Makefile.in:"*)
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
;;
esac]) esac])
......
...@@ -91,6 +91,9 @@ ...@@ -91,6 +91,9 @@
/* Define this to use the .nanorc file */ /* Define this to use the .nanorc file */
#undef ENABLE_NANORC #undef ENABLE_NANORC
/* Define this to have syntax hilighting, requires ENABLE_NANORC too! */
#undef ENABLE_COLOR
/* Define if you have the __argz_count function. */ /* Define if you have the __argz_count function. */
#undef HAVE___ARGZ_COUNT #undef HAVE___ARGZ_COUNT
......
This diff is collapsed.
...@@ -39,6 +39,13 @@ AC_ARG_ENABLE(nanorc, ...@@ -39,6 +39,13 @@ AC_ARG_ENABLE(nanorc,
AC_DEFINE(ENABLE_NANORC) nanorc_support=yes AC_DEFINE(ENABLE_NANORC) nanorc_support=yes
fi]) fi])
AC_ARG_ENABLE(color,
[ --enable-color Enable color and syntax hilighting],
[if test x$enableval = xyes; then
AC_DEFINE(ENABLE_NANORC) nanorc_support=yes
AC_DEFINE(ENABLE_COLOR) color_support=yes
fi])
AC_ARG_ENABLE(tabcomp, AC_ARG_ENABLE(tabcomp,
[ --disable-tabcomp Disables tab completion code for a smaller binary], [ --disable-tabcomp Disables tab completion code for a smaller binary],
[if test x$enableval != xyes; then [if test x$enableval != xyes; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment