From: Simon Marchi Date: Sun, 9 Dec 2018 00:35:47 +0000 (-0500) Subject: Look for tgetent in libtinfow X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2578ecb1b583408c7a75716edbd203995da373c7;p=binutils-gdb.git Look for tgetent in libtinfow On some systems where ncurses is only available in the "wide" version (compiled with --with-widec), there might be no libtinfo.so, only a libtinfow.so. Look for libtinfow in addition to libtinfo. gdb/ChangeLog: YYYY-MM-DD Simon Marchi Дилян Палаузов PR gdb/23950 * configure.ac: Search for tgetent in libtinfow. * configure: Re-generate. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ec5a7e48355..d9cfb264428 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2018-12-08 Simon Marchi + Дилян Палаузов + + PR gdb/23950 + * configure.ac: Search for tgetent in libtinfow. + * configure: Re-generate. + 2018-12-08 Philippe Waroquiers * linux-thread-db.c (struct thread_db_info): Add td_ta_delete_p. diff --git a/gdb/configure b/gdb/configure index 37772308986..833c92ea954 100755 --- a/gdb/configure +++ b/gdb/configure @@ -9027,7 +9027,7 @@ return tgetent (); return 0; } _ACEOF -for ac_lib in '' termcap tinfo curses ncursesw ncurses; do +for ac_lib in '' termcap tinfow tinfo curses ncursesw ncurses; do if test -z "$ac_lib"; then ac_res="none required" else diff --git a/gdb/configure.ac b/gdb/configure.ac index eca7ea6d41a..8bc87483f28 100644 --- 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 tinfow tinfo curses ncursesw ncurses]) if test "$ac_cv_search_tgetent" = no; then CONFIG_OBS="$CONFIG_OBS stub-termcap.o"