aboutsummaryrefslogtreecommitdiff
path: root/build2/utility.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/utility.hxx')
-rw-r--r--build2/utility.hxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/build2/utility.hxx b/build2/utility.hxx
index 6527d3a..8157c02 100644
--- a/build2/utility.hxx
+++ b/build2/utility.hxx
@@ -150,12 +150,21 @@ namespace build2
// case of an error.
//
process_path
- run_search (const char*& args0, const location& = location ());
+ run_search (const char*& args0,
+ bool path_only,
+ const location& = location ());
+
+ inline process_path
+ run_search (const char*& args0, const location& l = location ())
+ {
+ return run_search (args0, false, l);
+ }
process_path
run_search (const path&,
bool init = false,
const dir_path& fallback = dir_path (),
+ bool path_only = false,
const location& = location ());
// Wait for process termination. Issue diagnostics and throw failed in case