From: ishmal Date: Sat, 14 Jun 2008 23:16:13 +0000 (+0000) Subject: Improve "can't find" error msg for pkgconfig X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5e285e6c31e3d6a79481ad58062db3f8fbb291fa;p=inkscape.git Improve "can't find" error msg for pkgconfig --- diff --git a/buildtool.cpp b/buildtool.cpp index bc6da92d3..b0570ed32 100644 --- a/buildtool.cpp +++ b/buildtool.cpp @@ -38,7 +38,7 @@ * */ -#define BUILDTOOL_VERSION "BuildTool v0.9.4" +#define BUILDTOOL_VERSION "BuildTool v0.9.5" #include #include @@ -5407,7 +5407,11 @@ bool PkgConfig::query(const String &pkgName) fname.append(".pc"); if (!readFile(fname)) + { + error("Cannot find package '%s'. Do you have it installed?", + pkgName.c_str()); return false; + } return true; }