AC_ARG_ENABLE(includerc, [ --enable-includerc Enable include command in .nanorc file], [if test x$enableval = xyes; then AC_DEFINE(ENABLE_NANORC, 1, [Define this to use the .nanorc file.]) nanorc_support=yes AC_DEFINE(ENABLE_INCLUDERC, 1, [Define this to enable the include command in .nanorc files.]) includerc_support=yes fi]) 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_INCLUDERC, 1, [Define this to enable the include command in .nanorc files.]) includerc_support=yes AC_DEFINE(ENABLE_COLOR, 1, [Define this to have syntax highlighting, requires 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([ *********************************************************************** *** WARNING: Color support is far from perfect, but functional. *** *** Be careful with syntax in your .nanorc or nano may malfunction. *** *********************************************************************** ]) fi])