aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorDouglas Gregor <doug.gregor@gmail.com>2009-05-18 17:21:34 +0000
committerDouglas Gregor <doug.gregor@gmail.com>2009-05-18 17:21:34 +0000
commit6230bee6e6bce3b845968e55d5dfb83b3fe36f1d (patch)
treeaa5c6b099874bce274019ec634bca7558acacf4b /cmake
parentb55ee6bf46280eaa557575fddea33a2ca577df66 (diff)
downloadexternal_llvm-6230bee6e6bce3b845968e55d5dfb83b3fe36f1d.zip
external_llvm-6230bee6e6bce3b845968e55d5dfb83b3fe36f1d.tar.gz
external_llvm-6230bee6e6bce3b845968e55d5dfb83b3fe36f1d.tar.bz2
termios.h contains the winsize structure we need to determine the
width of a terminal. Don't try to get the width of a terminal if we don't have this header. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72018 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/config-ix.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 7e4016f..adebb1b 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -34,6 +34,7 @@ check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H)
check_include_file(sys/stat.h HAVE_SYS_STAT_H)
check_include_file(sys/time.h HAVE_SYS_TIME_H)
check_include_file(sys/types.h HAVE_SYS_TYPES_H)
+check_include_file(termios.h HAVE_TERMIOS_H)
check_include_file(unistd.h HAVE_UNISTD_H)
check_include_file(utime.h HAVE_UTIME_H)
check_include_file(windows.h HAVE_WINDOWS_H)