diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-25 03:36:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-25 03:36:13 +0000 |
commit | 48c34eaaf20e65c477ad0353d81861e9edb81c42 (patch) | |
tree | 2f331d82b5fd9a6c9117195adfdcf2e6570b3005 | |
parent | d0cbf99a52656eca48a9b9ed9b193232036a912f (diff) | |
download | ruby-48c34eaaf20e65c477ad0353d81861e9edb81c42.tar.gz |
configure.in: color to ifchange
* configure.in: pass --color to ifchange from CONFIGURE_TTY for
reconfig.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index dccac086a8..8d36819671 100644 --- a/configure.in +++ b/configure.in @@ -4340,7 +4340,10 @@ guard=INCLUDE_RUBY_CONFIG_H grep -v "^#define PACKAGE_" confdefs.h echo "#endif /* $guard */" } | tr -d '\015' | -${srcdir}/tool/ifchange "${config_h}" - +( + if test "x$CONFIGURE_TTY" = xyes; then color=--color; else color=; fi + exec ${srcdir}/tool/ifchange $color "${config_h}" - +) tr -d '\015' < largefile.h > confdefs.h rm largefile.h |