diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-12-08 19:35:47 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2018-12-08 19:36:19 -0500 |
commit | 2578ecb1b583408c7a75716edbd203995da373c7 (patch) | |
tree | c8c14b4ad8f4631a05b309f1e99c90bcfdb8f2f4 /gdb/configure.ac | |
parent | b5ac78ffc6779b5caab4d24a31a5e0b5cccf4858 (diff) | |
download | gdb-2578ecb1b583408c7a75716edbd203995da373c7.zip gdb-2578ecb1b583408c7a75716edbd203995da373c7.tar.gz gdb-2578ecb1b583408c7a75716edbd203995da373c7.tar.bz2 |
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 <simon.marchi@ericsson.com>
Дилян Палаузов <dilyan.palauzov@aegee.org>
PR gdb/23950
* configure.ac: Search for tgetent in libtinfow.
* configure: Re-generate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index eca7ea6..8bc8748 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" |