]> git.wh0rd.org Git - nano.git/commitdiff
when detecting wide character support in curses, check for get_wch()
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 28 Jan 2005 20:09:45 +0000 (20:09 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Fri, 28 Jan 2005 20:09:45 +0000 (20:09 +0000)
instead of wget_wch()

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

configure.ac

index ba1a2b316cf1e3aca9e62b7fffbac25a7f5bb4b4..8d66920d7bf3af4be522b9b83bc482f8e9176db9 100644 (file)
@@ -313,7 +313,7 @@ dnl Checks for libraries.
 if eval "test x$CURSES_LIB_NAME = x"
 then
     AC_CHECK_HEADERS(ncurses.h)
-    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"])
     if eval "test x$CURSES_LIB_NAME = x"
     then
         AC_CHECK_LIB(ncurses, initscr, [CURSES_LIB="-lncurses" CURSES_LIB_NAME=ncurses])
@@ -323,7 +323,7 @@ fi
 if eval "test x$CURSES_LIB_NAME = x"
 then
     AC_CHECK_HEADERS(curses.h)
-    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"])
     if eval "test x$CURSES_LIB_NAME = x"
     then
         AC_CHECK_LIB(curses, initscr, [CURSES_LIB="-lcurses" CURSES_LIB_NAME=curses])