]> git.eshelyaron.com Git - emacs.git/commitdiff
Port to platforms where tputs is in libtinfow
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 5 Jan 2019 17:47:14 +0000 (09:47 -0800)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 27 Apr 2019 17:17:10 +0000 (13:17 -0400)
* configure.ac (tputs_library): Also try tinfow, ncursesw (Bug#33977).

(cherry picked from commit a3d52b3057c98bce581bc94912ef3ced6fad6f14)

configure.ac

index cf3fbd9d503ed0a006fe4403336fc2a6bfee2ba4..58a3ea1091301f586cf1a79042421bac5d52bf2d 100644 (file)
@@ -4046,7 +4046,8 @@ AC_CACHE_CHECK([for library containing tputs], [emacs_cv_tputs_lib],
   emacs_cv_tputs_lib='none required'
 else
   # curses precedes termcap because of AIX (Bug#9736#35) and OpenIndiana.
-  for tputs_library in '' tinfo ncurses terminfo curses termcap; do
+  tputs_libraries='tinfo ncurses terminfo curses termcap tinfow ncursesw'
+  for tputs_library in '' $tputs_libraries; do
     OLIBS=$LIBS
     if test -z "$tputs_library"; then
       emacs_cv_tputs_lib='none required'