[llvm] r188606 - Recognize NetBSD's terminfo implementation.
Joerg Sonnenberger
joerg at bec.de
Sat Aug 17 04:06:00 PDT 2013
Author: joerg
Date: Sat Aug 17 06:06:00 2013
New Revision: 188606
URL: http://llvm.org/viewvc/llvm-project?rev=188606&view=rev
Log:
Recognize NetBSD's terminfo implementation.
Modified:
llvm/trunk/autoconf/configure.ac
llvm/trunk/cmake/config-ix.cmake
llvm/trunk/configure
Modified: llvm/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/autoconf/configure.ac?rev=188606&r1=188605&r2=188606&view=diff
==============================================================================
--- llvm/trunk/autoconf/configure.ac (original)
+++ llvm/trunk/autoconf/configure.ac Sat Aug 17 06:06:00 2013
@@ -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
Modified: llvm/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/config-ix.cmake?rev=188606&r1=188605&r2=188606&view=diff
==============================================================================
--- llvm/trunk/cmake/config-ix.cmake (original)
+++ llvm/trunk/cmake/config-ix.cmake Sat Aug 17 06:06:00 2013
@@ -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})
Modified: llvm/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/configure?rev=188606&r1=188605&r2=188606&view=diff
==============================================================================
--- llvm/trunk/configure (original)
+++ llvm/trunk/configure Sat Aug 17 06:06:00 2013
@@ -12297,7 +12297,7 @@ return setupterm ();
return 0;
}
_ACEOF
-for ac_lib in '' tinfo curses ncurses ncursesw; do
+for ac_lib in '' tinfo terminfo curses ncurses ncursesw; do
if test -z "$ac_lib"; then
ac_res="none required"
else
More information about the llvm-commits
mailing list