summaryrefslogtreecommitdiffstats
path: root/buildtool.cpp
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2008-06-14 23:16:13 +0000
committerishmal <ishmal@users.sourceforge.net>2008-06-14 23:16:13 +0000
commitf2fb41bb5d95768b93badda58c2cf7386ed3dd29 (patch)
tree009a46ff50a579184bdb8d28f1c595b6dbee294d /buildtool.cpp
parentpatch 188381 for tolerance control on pencil (diff)
downloadinkscape-f2fb41bb5d95768b93badda58c2cf7386ed3dd29.tar.gz
inkscape-f2fb41bb5d95768b93badda58c2cf7386ed3dd29.zip
Improve "can't find" error msg for pkgconfig
(bzr r5943)
Diffstat (limited to 'buildtool.cpp')
-rw-r--r--buildtool.cpp6
1 files changed, 5 insertions, 1 deletions
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 <stdio.h>
#include <fcntl.h>
@@ -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;
}