summaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2017-09-26 16:23:19 +0100
committerPedro Alves <palves@redhat.com>2017-09-26 16:23:19 +0100
commit5007d765ae09c10c7f3b18bb16841b9d2d59e181 (patch)
treeb43b21ec5b4d3e5f8dc812c171c78c78bb61e83b /gdb/configure
parent262c0a877f91b9102fd42523598b46ea79a8970e (diff)
downloadbinutils-gdb-5007d765ae09c10c7f3b18bb16841b9d2d59e181.tar.gz
Allow linking GDB with ncursesw
Triggered by https://launchpad.net/bugs/1275210, to be able to cope with UTF-8 characters in gdbtui. Reference: https://sourceware.org/ml/gdb-patches/2017-09/msg00356.html gdb/ChangeLog: 2017-09-26 Matthias Klose <doko@ubuntu.com> * configure.ac: Search ncursesw before ncurses. Check ncursesw/ncurses.h before ncurses/ncurses.h. * gdb_curses.h: Include <ncursesw/ncurses.h> * config.in, configure: Regenerate.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/configure b/gdb/configure
index e4bde75de2b..303c7ba7ab4 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -8746,7 +8746,7 @@ return waddstr ();
return 0;
}
_ACEOF
-for ac_lib in '' ncurses cursesX curses; do
+for ac_lib in '' ncursesw ncurses cursesX curses; do
if test -z "$ac_lib"; then
ac_res="none required"
else
@@ -8844,7 +8844,7 @@ return tgetent ();
return 0;
}
_ACEOF
-for ac_lib in '' termcap tinfo curses ncurses; do
+for ac_lib in '' termcap tinfo curses ncursesw ncurses; do
if test -z "$ac_lib"; then
ac_res="none required"
else
@@ -11595,7 +11595,7 @@ fi
done
-for ac_header in curses.h cursesX.h ncurses.h ncurses/ncurses.h ncurses/term.h
+for ac_header in curses.h cursesX.h ncurses.h ncursesw/ncurses.h ncurses/ncurses.h ncurses/term.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"