From 071d73d67e7cea60e7334f6ae96c1e8f8050a662 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 18 May 2009 17:21:34 +0000 Subject: 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 --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 2229b358d0..3a35277519 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 -- cgit v1.2.3