aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-configure.hxx')
-rw-r--r--bpkg/pkg-configure.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/bpkg/pkg-configure.hxx b/bpkg/pkg-configure.hxx
index 651daba..9ad36f4 100644
--- a/bpkg/pkg-configure.hxx
+++ b/bpkg/pkg-configure.hxx
@@ -30,6 +30,15 @@ namespace bpkg
//
shared_ptr<selected_package>
pkg_configure_system (const string& name, const version&, transaction&);
+
+ // Verify that a directory is a valid package and return its prerequisites.
+ // Fail if the directory is not a valid package or some of the prerequisites
+ // are not configured or don't satisfy the package's dependency constraints.
+ //
+ package_prerequisites
+ pkg_configure_prerequisites (const common_options&,
+ transaction&,
+ const dir_path& package);
}
#endif // BPKG_PKG_CONFIGURE_HXX