diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-18 17:21:34 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-18 17:21:34 +0000 |
commit | 071d73d67e7cea60e7334f6ae96c1e8f8050a662 (patch) | |
tree | aa5c6b099874bce274019ec634bca7558acacf4b /configure | |
parent | a537bf83eda87a0eb65c278d673e51f76b0dd98b (diff) |
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 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure index 2229b358d0b..3a352775197 100755 --- a/configure +++ b/configure @@ -28963,7 +28963,7 @@ done -for ac_header in malloc.h setjmp.h signal.h stdint.h unistd.h utime.h +for ac_header in malloc.h setjmp.h signal.h stdint.h termios.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then @@ -29132,7 +29132,8 @@ fi done -for ac_header in windows.h + +for ac_header in utime.h windows.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |