aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirkjan Ochtman <[email protected]>2013-11-04 15:07:30 +0100
committerHenrik Nord <[email protected]>2014-01-10 11:21:32 +0100
commit8c10604c7d278c28b32feb67c2c8cf207f5bd305 (patch)
tree529079a9e49876643e80c1779ee6f0af87a0806e
parent039ea3a6ed5dc147478f294910ba042850db2383 (diff)
downloadotp-8c10604c7d278c28b32feb67c2c8cf207f5bd305.tar.gz
otp-8c10604c7d278c28b32feb67c2c8cf207f5bd305.tar.bz2
otp-8c10604c7d278c28b32feb67c2c8cf207f5bd305.zip
Add support for the separate tinfo library from ncurses
Recent versions of ncurses can be built with terminfo symbols moved into the separate tinfo library. This patch prevents erts configure from dying by adding the tinfo library to list of termcap lib candidates.
-rw-r--r--erts/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 3b4c46d4a5..cf21d0cbfc 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -1336,7 +1336,7 @@ TERMCAP_LIB=
if test "x$with_termcap" != "xno" &&
test "X$host" != "Xwin32"; then
# try these libs
- termcap_libs="ncurses curses termcap termlib"
+ termcap_libs="tinfo ncurses curses termcap termlib"
for termcap_lib in $termcap_libs; do
AC_CHECK_LIB($termcap_lib, tgetent, TERMCAP_LIB="-l$termcap_lib")