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-d3aeb78583b8master
parent
5050aa6ae7
commit
18d70f1478
|
@ -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 @@
|
||||||
|
|
||||||
/* 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 ("", ""
|
||||||
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 @@
|
||||||
/* 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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue