diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-09-21 22:53:56 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-09-21 22:53:56 +0000 |
commit | 47247bc0661ec2408afcd5367a2247574371d7c0 (patch) | |
tree | c87704e35909b5ae4b396fab5aff6af908adbefc /infrastructure/BoxPlatform.pm.in | |
parent | 50dd740667c84f08512a48037c5461696894dedc (diff) |
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.
Diffstat (limited to 'infrastructure/BoxPlatform.pm.in')
-rw-r--r-- | infrastructure/BoxPlatform.pm.in | 4 |
1 files 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 '; } |