llvm.org GIT mirror llvm / a915b41
Recognize NetBSD's terminfo implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188606 91177308-0d34-0410-b5e6-96231b3b80d8 Joerg Sonnenberger 7 years ago
3 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
13911391 dnl The curses library is optional; used for querying terminal info
13921392 if test "$llvm_cv_enable_terminfo" = "yes" ; then
13931393 dnl We need the has_color functionality in curses for it to be useful.
1394 AC_SEARCH_LIBS(setupterm,tinfo curses ncurses ncursesw,
1394 AC_SEARCH_LIBS(setupterm,tinfo terminfo curses ncurses ncursesw,
13951395 AC_DEFINE([HAVE_TERMINFO],[1],
13961396 [Define if the setupterm() function is supported this platform.]))
13971397 fi
9898 endif()
9999 if(LLVM_ENABLE_TERMINFO)
100100 set(HAVE_TERMINFO 0)
101 foreach(library tinfo curses ncurses ncursesw)
101 foreach(library tinfo terminfo curses ncurses ncursesw)
102102 string(TOUPPER ${library} library_suffix)
103103 check_library_exists(${library} setupterm "" HAVE_TERMINFO_${library_suffix})
104104 if(HAVE_TERMINFO_${library_suffix})
1229612296 return 0;
1229712297 }
1229812298 _ACEOF
12299 for ac_lib in '' tinfo curses ncurses ncursesw; do
12299 for ac_lib in '' tinfo terminfo curses ncurses ncursesw; do
1230012300 if test -z "$ac_lib"; then
1230112301 ac_res="none required"
1230212302 else