ruby-changes:40668
From: nobu <ko1@a...>
Date: Wed, 25 Nov 2015 12:36:25 +0900 (JST)
Subject: [ruby-changes:40668] nobu:r52747 (trunk): configure.in: color to ifchange
nobu 2015-11-25 12:36:13 +0900 (Wed, 25 Nov 2015) New Revision: 52747 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52747 Log: configure.in: color to ifchange * configure.in: pass --color to ifchange from CONFIGURE_TTY for reconfig. Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 52746) +++ configure.in (revision 52747) @@ -4340,7 +4340,10 @@ guard=INCLUDE_RUBY_CONFIG_H https://github.com/ruby/ruby/blob/trunk/configure.in#L4340 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/