From c55ac2bb4deee54fc96a2292a95e83172d0caac2 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 27 Mar 2014 10:28:19 +0000 Subject: [PATCH] Allowing --disable-utf8 and --enable-utf8 to work. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4689 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + configure.ac | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bb4fbd10..ac0dabd7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2014-03-27 Mike Frysinger . * configure.ac - Make --disable-nanorc with --enable-color barf. + * configure.ac - Allow --disable-utf8 and --enable-utf8 to work. 2014-03-26 Benno Schulenberg * configure.ac - Word, tab, and comment tweaks. diff --git a/configure.ac b/configure.ac index c3d7f07e..49fdf858 100644 --- a/configure.ac +++ b/configure.ac @@ -182,9 +182,8 @@ if test "x$enable_nanorc" != xno; then fi AC_MSG_CHECKING([whether to enable UTF-8 support]) -enable_utf8=auto AC_ARG_ENABLE(utf8, AS_HELP_STRING([--enable-utf8], [Enable UTF-8 support])) -AC_MSG_RESULT($enable_utf8) +AC_MSG_RESULT(${enable_utf8:-auto}) AC_MSG_CHECKING([whether to use slang]) CURSES_LIB_NAME="" -- 2.39.5