This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Linking gdb with -ltinfow, if libtinfo is not available
- From: Дилян Палаузов <dilyan dot palauzov at aegee dot org>
- To: gdb-patches at sourceware dot org
- Date: Wed, 05 Dec 2018 07:22:56 +0000
- Subject: Linking gdb with -ltinfow, if libtinfo is not available
See https://sourceware.org/bugzilla/show_bug.cgi?id=23950 for details.
diff --git a/gdb/configure.ac b/gdb/configure.ac
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -592,7 +592,7 @@ case $host_os in
esac
# These are the libraries checked by Readline.
-AC_SEARCH_LIBS(tgetent, [termcap tinfo curses ncursesw ncurses])
+AC_SEARCH_LIBS(tgetent, [termcap tinfo tinfow curses ncursesw
ncurses])
if test "$ac_cv_search_tgetent" = no; then
CONFIG_OBS="$CONFIG_OBS stub-termcap.o"