From 5e285e6c31e3d6a79481ad58062db3f8fbb291fa Mon Sep 17 00:00:00 2001 From: ishmal Date: Sat, 14 Jun 2008 23:16:13 +0000 Subject: [PATCH] Improve "can't find" error msg for pkgconfig --- buildtool.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.30.2