V1.Pkg_configSourceSearch a pkg-config implementation in PATH. Use the one defined in PKG_CONFIG environment variable if set else try pkgconf then pkg-config. Append the PKG_CONFIG_PATH environment variable to the searched pathes. Returns None if nothing is not found.
query t ~package query pkg-config for the package. The package must not contain a version constraint. Multiple, unversioned packages are separated with spaces, for example "gtk+-3.0 gtksourceview-3.0". By default, the OCaml compiler target is passed to pkgconf as --personality argument. An alternative list of arguments can be specified by setting the PKG_CONFIG_ARGN environment variable. Returns None if package is not available
query_expr_err t ~package ~expr query pkg-config for the package. expr may contain a version constraint, for example "gtk+-3.0 >= 3.18". package must be just the name of the package. If expr is specified, package must be specified as well. By default, the OCaml compiler "target" is passed to pkgconf as --personality argument. An alternative list of arguments can be specified by setting the PKG_CONFIG_ARGN environment variable. Returns Error error_msg if package is not available