mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 17:02:03 +00:00
Recognize NetBSD's terminfo implementation.
llvm-svn: 188606
This commit is contained in:
parent
72a32889f4
commit
6b7cd9251b
@ -1392,7 +1392,7 @@ AC_SEARCH_LIBS(clock_gettime,rt)
|
||||
dnl The curses library is optional; used for querying terminal info
|
||||
if test "$llvm_cv_enable_terminfo" = "yes" ; then
|
||||
dnl We need the has_color functionality in curses for it to be useful.
|
||||
AC_SEARCH_LIBS(setupterm,tinfo curses ncurses ncursesw,
|
||||
AC_SEARCH_LIBS(setupterm,tinfo terminfo curses ncurses ncursesw,
|
||||
AC_DEFINE([HAVE_TERMINFO],[1],
|
||||
[Define if the setupterm() function is supported this platform.]))
|
||||
fi
|
||||
|
@ -99,7 +99,7 @@ if( NOT PURE_WINDOWS )
|
||||
endif()
|
||||
if(LLVM_ENABLE_TERMINFO)
|
||||
set(HAVE_TERMINFO 0)
|
||||
foreach(library tinfo curses ncurses ncursesw)
|
||||
foreach(library tinfo terminfo curses ncurses ncursesw)
|
||||
string(TOUPPER ${library} library_suffix)
|
||||
check_library_exists(${library} setupterm "" HAVE_TERMINFO_${library_suffix})
|
||||
if(HAVE_TERMINFO_${library_suffix})
|
||||
|
Loading…
Reference in New Issue
Block a user