tweaks: remove the no-op x$disable tests
parent
a32d21c759
commit
8302ff700b
18
configure.ac
18
configure.ac
|
@ -69,11 +69,9 @@ if test "x$enable_tiny" = xyes; then
|
||||||
enable_browser=no
|
enable_browser=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$disable_browser" != xyes; then
|
|
||||||
if test "x$enable_browser" != xno; then
|
if test "x$enable_browser" != xno; then
|
||||||
AC_DEFINE(ENABLE_BROWSER, 1, [Define this to enable the built-in file browser.])
|
AC_DEFINE(ENABLE_BROWSER, 1, [Define this to enable the built-in file browser.])
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(color,
|
AC_ARG_ENABLE(color,
|
||||||
AS_HELP_STRING([--disable-color], [Disable color and syntax highlighting]))
|
AS_HELP_STRING([--disable-color], [Disable color and syntax highlighting]))
|
||||||
|
@ -100,11 +98,9 @@ if test "x$enable_tiny" = xyes; then
|
||||||
enable_comment=no
|
enable_comment=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$disable_comment" != xyes; then
|
|
||||||
if test "x$enable_comment" != xno; then
|
if test "x$enable_comment" != xno; then
|
||||||
AC_DEFINE(ENABLE_COMMENT, 1, [Define this to enable the comment/uncomment function.])
|
AC_DEFINE(ENABLE_COMMENT, 1, [Define this to enable the comment/uncomment function.])
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(extra,
|
AC_ARG_ENABLE(extra,
|
||||||
AS_HELP_STRING([--disable-extra], [Disable the Easter egg]))
|
AS_HELP_STRING([--disable-extra], [Disable the Easter egg]))
|
||||||
|
@ -131,11 +127,9 @@ if test "x$enable_multibuffer" = xno; then
|
||||||
enable_help=no
|
enable_help=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$disable_help" != xyes; then
|
|
||||||
if test "x$enable_help" != xno; then
|
if test "x$enable_help" != xno; then
|
||||||
AC_DEFINE(ENABLE_HELP, 1, [Define this to enable the Ctrl+G help texts.])
|
AC_DEFINE(ENABLE_HELP, 1, [Define this to enable the Ctrl+G help texts.])
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(histories,
|
AC_ARG_ENABLE(histories,
|
||||||
AS_HELP_STRING([--disable-histories], [Disable search and position histories]))
|
AS_HELP_STRING([--disable-histories], [Disable search and position histories]))
|
||||||
|
@ -159,11 +153,9 @@ if test "x$enable_tiny" = xyes; then
|
||||||
enable_linenumbers=no
|
enable_linenumbers=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$disable_linenumbers" != xyes; then
|
|
||||||
if test "x$enable_linenumbers" != xno; then
|
if test "x$enable_linenumbers" != xno; then
|
||||||
AC_DEFINE(ENABLE_LINENUMBERS, 1, [Define this to enable line numbering.])
|
AC_DEFINE(ENABLE_LINENUMBERS, 1, [Define this to enable line numbering.])
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(mouse,
|
AC_ARG_ENABLE(mouse,
|
||||||
AS_HELP_STRING([--disable-mouse], [Disable mouse support]))
|
AS_HELP_STRING([--disable-mouse], [Disable mouse support]))
|
||||||
|
@ -172,11 +164,9 @@ if test "x$enable_tiny" = xyes; then
|
||||||
enable_mouse=no
|
enable_mouse=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$disable_mouse" != xyes; then
|
|
||||||
if test "x$enable_mouse" != xno; then
|
if test "x$enable_mouse" != xno; then
|
||||||
AC_DEFINE(ENABLE_MOUSE, 1, [Define this to enable mouse support.])
|
AC_DEFINE(ENABLE_MOUSE, 1, [Define this to enable mouse support.])
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(multibuffer,
|
AC_ARG_ENABLE(multibuffer,
|
||||||
AS_HELP_STRING([--disable-multibuffer], [Disable multiple file buffers]))
|
AS_HELP_STRING([--disable-multibuffer], [Disable multiple file buffers]))
|
||||||
|
@ -185,11 +175,9 @@ if test "x$enable_tiny" = xyes; then
|
||||||
enable_multibuffer=no
|
enable_multibuffer=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$disable_multibuffer" != xyes; then
|
|
||||||
if test "x$enable_multibuffer" != xno; then
|
if test "x$enable_multibuffer" != xno; then
|
||||||
AC_DEFINE(ENABLE_MULTIBUFFER, 1, [Define this to enable multiple file buffers.])
|
AC_DEFINE(ENABLE_MULTIBUFFER, 1, [Define this to enable multiple file buffers.])
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(nanorc,
|
AC_ARG_ENABLE(nanorc,
|
||||||
AS_HELP_STRING([--disable-nanorc], [Disable the use of .nanorc files]))
|
AS_HELP_STRING([--disable-nanorc], [Disable the use of .nanorc files]))
|
||||||
|
@ -198,12 +186,10 @@ if test "x$enable_tiny" = xyes; then
|
||||||
enable_nanorc=no
|
enable_nanorc=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$disable_nanorc" != xyes; then
|
|
||||||
if test "x$enable_nanorc" != xno; then
|
if test "x$enable_nanorc" != xno; then
|
||||||
AC_DEFINE(ENABLE_NANORC, 1, [Define this to enable the use of .nanorc files.])
|
AC_DEFINE(ENABLE_NANORC, 1, [Define this to enable the use of .nanorc files.])
|
||||||
nanorc_support=yes
|
nanorc_support=yes
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(operatingdir,
|
AC_ARG_ENABLE(operatingdir,
|
||||||
AS_HELP_STRING([--disable-operatingdir], [Disable the setting of an operating directory]))
|
AS_HELP_STRING([--disable-operatingdir], [Disable the setting of an operating directory]))
|
||||||
|
@ -224,11 +210,9 @@ if test "x$enable_tiny" = xyes; then
|
||||||
enable_tabcomp=no
|
enable_tabcomp=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$disable_tabcomp" != xyes; then
|
|
||||||
if test "x$enable_tabcomp" != xno; then
|
if test "x$enable_tabcomp" != xno; then
|
||||||
AC_DEFINE(ENABLE_TABCOMP, 1, [Define this to have tab completion for filenames and search strings.])
|
AC_DEFINE(ENABLE_TABCOMP, 1, [Define this to have tab completion for filenames and search strings.])
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(wordcomp,
|
AC_ARG_ENABLE(wordcomp,
|
||||||
AS_HELP_STRING([--disable-wordcomp], [Disable the word-completion function]))
|
AS_HELP_STRING([--disable-wordcomp], [Disable the word-completion function]))
|
||||||
|
@ -239,11 +223,9 @@ if test "x$enable_tiny" = xyes; then
|
||||||
enable_wordcomp=no
|
enable_wordcomp=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$disable_wordcomp" != xyes; then
|
|
||||||
if test "x$enable_wordcomp" != xno; then
|
if test "x$enable_wordcomp" != xno; then
|
||||||
AC_DEFINE(ENABLE_WORDCOMPLETION, 1, [Define this to enable the word-completion function.])
|
AC_DEFINE(ENABLE_WORDCOMPLETION, 1, [Define this to enable the word-completion function.])
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(wrapping,
|
AC_ARG_ENABLE(wrapping,
|
||||||
AS_HELP_STRING([--disable-wrapping], [Disable all hard-wrapping of text]))
|
AS_HELP_STRING([--disable-wrapping], [Disable all hard-wrapping of text]))
|
||||||
|
|
Loading…
Reference in New Issue