Blob Blame History Raw
diff -Naurp insight-7.12.50.20170416.orig/gdb/configure insight-7.12.50.20170416.new/gdb/configure
--- insight-7.12.50.20170416.orig/gdb/configure	2017-04-16 13:35:12.113725974 +0100
+++ insight-7.12.50.20170416.new/gdb/configure	2017-04-16 13:36:16.306314191 +0100
@@ -9359,6 +9359,7 @@ if test x"$prefer_curses" = xyes; then
   # search /usr/local/include, if ncurses is installed in /usr/local.  A
   # default installation of ncurses on alpha*-dec-osf* will lead to such
   # a situation.
+  # Fedora: Force libncursesw over libncurses to match the includes.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing waddstr" >&5
 $as_echo_n "checking for library containing waddstr... " >&6; }
 if ${ac_cv_search_waddstr+:} false; then :
@@ -9383,7 +9384,7 @@ return waddstr ();
   return 0;
 }
 _ACEOF
-for ac_lib in '' ncurses cursesX curses; do
+for ac_lib in '' ncursesw; do
   if test -z "$ac_lib"; then
     ac_res="none required"
   else
@@ -9457,6 +9458,7 @@ case $host_os in
 esac
 
 # These are the libraries checked by Readline.
+# Fedora: Force libncursesw over libncurses to match the includes.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
 $as_echo_n "checking for library containing tgetent... " >&6; }
 if ${ac_cv_search_tgetent+:} false; then :
@@ -9481,7 +9483,7 @@ return tgetent ();
   return 0;
 }
 _ACEOF
-for ac_lib in '' termcap tinfo curses ncurses; do
+for ac_lib in '' termcap tinfo ncursesw; do
   if test -z "$ac_lib"; then
     ac_res="none required"
   else
diff -Naurp insight-7.12.50.20170416.orig/gdb/configure.ac insight-7.12.50.20170416.new/gdb/configure.ac
--- insight-7.12.50.20170416.orig/gdb/configure.ac	2017-04-16 13:35:12.113725974 +0100
+++ insight-7.12.50.20170416.new/gdb/configure.ac	2017-04-16 13:36:16.307314200 +0100
@@ -762,7 +762,8 @@ if test x"$prefer_curses" = xyes; then
   # search /usr/local/include, if ncurses is installed in /usr/local.  A
   # default installation of ncurses on alpha*-dec-osf* will lead to such
   # a situation.
-  AC_SEARCH_LIBS(waddstr, [ncurses cursesX curses])
+  # Fedora: Force libncursesw over libncurses to match the includes.
+  AC_SEARCH_LIBS(waddstr, [ncursesw])
 
   if test "$ac_cv_search_waddstr" != no; then
     curses_found=yes
@@ -804,7 +805,8 @@ case $host_os in
 esac
 
 # These are the libraries checked by Readline.
-AC_SEARCH_LIBS(tgetent, [termcap tinfo curses ncurses])
+# Fedora: Force libncursesw over libncurses to match the includes.
+AC_SEARCH_LIBS(tgetent, [termcap tinfo ncursesw])
 
 if test "$ac_cv_search_tgetent" = no; then
   CONFIG_OBS="$CONFIG_OBS stub-termcap.o"