]> git.wh0rd.org Git - nano.git/commitdiff
in configure.ac, check for get_wch() instead of wget_wch() to determine
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 18 Jun 2005 17:06:02 +0000 (17:06 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 18 Jun 2005 17:06:02 +0000 (17:06 +0000)
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

ChangeLog
configure.ac

index 1a9138a5bac8e3b1464a1345c08fe8b588ecb9bc..f053086a24a53e37e8ea7aed4fe8d02c4f9392e7 100644 (file)
--- 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)
index 3ad46bf4ae3bc3821dd000d0c751c752facc5adf..031db4d8eed267474373803d60c77b99a2423c74 100644 (file)
@@ -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