From 47247bc0661ec2408afcd5367a2247574371d7c0 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 21 Sep 2009 22:53:56 +0000 Subject: Print info lines to STDERR so that they don't confuse the configure scripts when they capture stdout to get the box version, for example. --- infrastructure/BoxPlatform.pm.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/BoxPlatform.pm.in b/infrastructure/BoxPlatform.pm.in index 8657134e..59ab5d85 100644 --- a/infrastructure/BoxPlatform.pm.in +++ b/infrastructure/BoxPlatform.pm.in @@ -89,14 +89,14 @@ BEGIN my $cpus = `sysctl hw.ncpu`; if($cpus =~ m/hw.ncpu:\s(\d+)/ && $1 > 1) { - print "$1 processors detected, will set make to perform concurrent jobs\n"; + print STDERR "$1 processors detected, will set make to perform concurrent jobs\n"; $sub_make_options = ' -j '.($1 + 1); } # test for fink installation if(-d '/sw/include' && -d '/sw/lib') { - print "Fink installation detected, will use headers and libraries\n"; + print STDERR "Fink installation detected, will use headers and libraries\n"; $platform_compile_line_extra = '-I/sw/include '; $platform_link_line_extra = '-L/sw/lib '; } -- cgit v1.2.3