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
Этот коммит содержится в:
родитель
5050aa6ae7
Коммит
18d70f1478
@ -17,8 +17,11 @@ Cvs code -
|
||||
- After "Alternate" spell checker is called, cursor is repositioned on
|
||||
the same line as before ^T was called.
|
||||
- configure.in:
|
||||
- New option, --enable-nanorc which currently does nothing but
|
||||
sets a define. Will do more later...
|
||||
- New option, --enable-nanorc which allows people to have a .nanorc
|
||||
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:
|
||||
do_browser()
|
||||
- Minor fixes to the processing of SELECT function (Rocco)
|
||||
|
@ -56,3 +56,7 @@
|
||||
|
||||
/* Define this to use the .nanorc file */
|
||||
#undef ENABLE_NANORC
|
||||
|
||||
/* Define this to have syntax hilighting, requires ENABLE_NANORC too! */
|
||||
#undef ENABLE_COLOR
|
||||
|
||||
|
3
aclocal.m4
поставляемый
3
aclocal.m4
поставляемый
@ -501,8 +501,9 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", ""
|
||||
POSUB=po
|
||||
fi
|
||||
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
|
||||
;;
|
||||
esac])
|
||||
|
||||
|
||||
|
@ -91,6 +91,9 @@
|
||||
/* Define this to use the .nanorc file */
|
||||
#undef ENABLE_NANORC
|
||||
|
||||
/* Define this to have syntax hilighting, requires ENABLE_NANORC too! */
|
||||
#undef ENABLE_COLOR
|
||||
|
||||
/* Define if you have the __argz_count function. */
|
||||
#undef HAVE___ARGZ_COUNT
|
||||
|
||||
|
375
configure
поставляемый
375
configure
поставляемый
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
@ -39,6 +39,13 @@ AC_ARG_ENABLE(nanorc,
|
||||
AC_DEFINE(ENABLE_NANORC) nanorc_support=yes
|
||||
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,
|
||||
[ --disable-tabcomp Disables tab completion code for a smaller binary],
|
||||
[if test x$enableval != xyes; then
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user