summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-05-18 17:21:34 +0000
committerDouglas Gregor <dgregor@apple.com>2009-05-18 17:21:34 +0000
commit071d73d67e7cea60e7334f6ae96c1e8f8050a662 (patch)
treeaa5c6b099874bce274019ec634bca7558acacf4b /autoconf
parenta537bf83eda87a0eb65c278d673e51f76b0dd98b (diff)
downloadllvm-071d73d67e7cea60e7334f6ae96c1e8f8050a662.tar.gz
llvm-071d73d67e7cea60e7334f6ae96c1e8f8050a662.tar.bz2
llvm-071d73d67e7cea60e7334f6ae96c1e8f8050a662.tar.xz
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 'autoconf')
-rw-r--r--autoconf/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 1e04b8c246..cb217a5143 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -823,8 +823,8 @@ AC_HEADER_SYS_WAIT
AC_HEADER_TIME
AC_CHECK_HEADERS([dlfcn.h execinfo.h fcntl.h inttypes.h limits.h link.h])
-AC_CHECK_HEADERS([malloc.h setjmp.h signal.h stdint.h unistd.h utime.h])
-AC_CHECK_HEADERS([windows.h])
+AC_CHECK_HEADERS([malloc.h setjmp.h signal.h stdint.h termios.h unistd.h])
+AC_CHECK_HEADERS([utime.h windows.h])
AC_CHECK_HEADERS([sys/mman.h sys/param.h sys/resource.h sys/time.h])
AC_CHECK_HEADERS([sys/types.h sys/ioctl.h malloc/malloc.h mach/mach.h])
if test "$ENABLE_THREADS" -eq 1 ; then