summaryrefslogtreecommitdiffstats
path: root/llvm/configure
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
commitb81294d9892c1bde188323eff0bf6e92d1b47ced (patch)
tree064e825a97be6dab16c74992b2fa5566afb07854 /llvm/configure
parentb191180042a323622e9612f4006409d132bfe6cc (diff)
downloadbcm5719-llvm-b81294d9892c1bde188323eff0bf6e92d1b47ced.tar.gz
bcm5719-llvm-b81294d9892c1bde188323eff0bf6e92d1b47ced.zip
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. llvm-svn: 72018
Diffstat (limited to 'llvm/configure')
-rwxr-xr-xllvm/configure5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/configure b/llvm/configure
index 2229b358d0b..3a352775197 100755
--- a/llvm/configure
+++ b/llvm/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
OpenPOWER on IntegriCloud