nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 25799f68629245e0fe5647ee7c9d1c51385f6970
parent c54c4d1eea73b518a8581aa92988ff119ed3510f
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sat, 18 Jun 2005 17:06:02 +0000

in configure.ac, check for get_wch() instead of wget_wch() to determine
if there's a wide curses library, as it's a more generic function


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2726 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 3+++
Mconfigure.ac | 4++--
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -342,6 +342,9 @@ CVS code - - Change the behavior of --enable-extra to only define NANO_EXTRA, instead of defining both it and ENABLE_MULTIBUFFER. (DLR) + - Check for get_wch() instead of wget_wch() to determine if + there's a wide curses library, as it's a more generic + function. (DLR) - doc/faq.html: - Update section 1.1 to mention the current maintainer. (DLR) - Minor capitalization and wording fixes. (DLR) diff --git a/configure.ac b/configure.ac @@ -424,7 +424,7 @@ if eval "test x$CURSES_LIB_NAME = x"; then AC_CHECK_HEADERS(ncurses.h) if test x$enable_utf8 != xno; then - AC_CHECK_LIB(ncursesw, wget_wch, [CURSES_LIB="-lncursesw" CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes]) + AC_CHECK_LIB(ncursesw, get_wch, [CURSES_LIB="-lncursesw" CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes]) fi if eval "test x$CURSES_LIB_NAME = x"; then @@ -436,7 +436,7 @@ if eval "test x$CURSES_LIB_NAME = x"; then AC_CHECK_HEADERS(curses.h) if test x$enable_utf8 != xno; then - AC_CHECK_LIB(curses, wget_wch, [CURSES_LIB="-lcurses" CURSES_LIB_NAME=curses CURSES_LIB_WIDE=yes]) + AC_CHECK_LIB(curses, get_wch, [CURSES_LIB="-lcurses" CURSES_LIB_NAME=curses CURSES_LIB_WIDE=yes]) fi if eval "test x$CURSES_LIB_NAME = x"; then