diff --git a/configure.ac b/configure.ac index 023175b9..e9fae4fc 100644 --- a/configure.ac +++ b/configure.ac @@ -567,9 +567,9 @@ if eval "test x$CURSES_LIB_NAME = x"; then CURSES_LIB=`$NCURSESW_CONFIG --libs` LIBS="$CURSES_LIB $LIBS" CPPFLAGS="`$NCURSESW_CONFIG --cflags` $CPPFLAGS" - AC_CHECK_LIB(ncursesw, get_wch, [CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes]) + AC_CHECK_LIB(ncursesw, wget_wch, [CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes]) else - AC_CHECK_LIB(ncursesw, get_wch, [CURSES_LIB="-lncursesw" CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes]) + AC_CHECK_LIB(ncursesw, wget_wch, [CURSES_LIB="-lncursesw" CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes]) fi LIBS="$OLDLIBS" fi @@ -583,7 +583,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, get_wch, [CURSES_LIB="-lcurses" CURSES_LIB_NAME=curses CURSES_LIB_WIDE=yes]) + AC_CHECK_LIB(curses, wget_wch, [CURSES_LIB="-lcurses" CURSES_LIB_NAME=curses CURSES_LIB_WIDE=yes]) fi if eval "test x$CURSES_LIB_NAME = x"; then