commit c55ac2bb4deee54fc96a2292a95e83172d0caac2
parent 463db0dbcceb9e9334bbc392e6ea01f996352f28
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Thu, 27 Mar 2014 10:28:19 +0000
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
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,6 @@
2014-03-27 Mike Frysinger <vapier@gentoo.org>.
* configure.ac - Make --disable-nanorc with --enable-color barf.
+ * configure.ac - Allow --disable-utf8 and --enable-utf8 to work.
2014-03-26 Benno Schulenberg <bensberg@justemail.net>
* configure.ac - Word, tab, and comment tweaks.
diff --git 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=""