aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-06-16 17:48:47 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-06-16 17:48:47 +0300
commit17e8bcdf04e3a454527731f2df594c52996b0bf7 (patch)
tree84a1f669019eff81867b1c7991047db9cd006513
parent16bf0b2386b8e56586f6d457e99154135f4576d5 (diff)
downloadmeson-17e8bcdf04e3a454527731f2df594c52996b0bf7.zip
meson-17e8bcdf04e3a454527731f2df594c52996b0bf7.tar.gz
meson-17e8bcdf04e3a454527731f2df594c52996b0bf7.tar.bz2
Print external program detection info.
-rw-r--r--dependencies.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/dependencies.py b/dependencies.py
index c3af8f0..4f7c1d4 100644
--- a/dependencies.py
+++ b/dependencies.py
@@ -132,6 +132,10 @@ class ExternalProgram():
self.fullpath = fullpath
else:
self.fullpath = shutil.which(name)
+ if self.found():
+ print('Program %s found: YES (%s)' % (name, self.fullpath))
+ else:
+ print('Program %s found: NO' % name)
def found(self):
return self.fullpath is not None