|
|
@@ -93,9 +93,10 @@ fi
|
|
|
# Check for curses library.
|
|
|
AC_DEFUN([DPKG_LIB_CURSES],
|
|
|
[AC_ARG_VAR([CURSES_LIBS], [linker flags for curses library])dnl
|
|
|
-AC_CHECK_LIB([ncurses], [initscr], [CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lncurses"],
|
|
|
- [AC_CHECK_LIB([curses], [initscr], [CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lcurses"],
|
|
|
- [AC_MSG_WARN([no curses library found])])])
|
|
|
+AC_CHECK_LIB([ncursesw], [initscr], [CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lncursesw"],
|
|
|
+ [AC_CHECK_LIB([ncurses], [initscr], [CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lncurses"],
|
|
|
+ [AC_CHECK_LIB([curses], [initscr], [CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lcurses"],
|
|
|
+ [AC_MSG_WARN([no curses library found])])])])
|
|
|
])# DPKG_LIB_CURSES
|
|
|
|
|
|
# DPKG_LIB_SSD
|