]> git.tdb.fi Git - builder.git/blobdiff - source/package.cpp
Use mspio for all I/O operations
[builder.git] / source / package.cpp
index b35a0d8f0ab0af20eaa65acd03636592b86493ce..6e60b76992b4cc9123eca2906644deab8445cac4 100644 (file)
@@ -5,6 +5,7 @@ Copyright © 2006-2007, 2009  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
+#include <msp/io/print.h>
 #include <msp/strings/lexicalcast.h>
 #include <msp/strings/utils.h>
 #include "builder.h"
@@ -14,8 +15,6 @@ Distributed under the LGPL
 using namespace std;
 using namespace Msp;
 
-#include <iostream>
-
 Package::Package(Builder &b, const string &n):
        builder(b),
        name(n),
@@ -45,7 +44,7 @@ void Package::configure(const StringMap &opts, unsigned flag)
                return;
 
        if(builder.get_verbose()>=3)
-               cout<<"Configuring "<<name<<'\n';
+               IO::print("Configuring %s\n", name);
 
        do_configure(opts, flag);