diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-02-06 18:11:29 +0000 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-08 00:35:38 +0200 |
commit | 7bfcf68777f5bee3cab95685acf3c4177f6b6498 (patch) | |
tree | cd8bcc2ec6c0750434fc4f437744fcec6a59223c /docs/markdown | |
parent | 2b0973acd90cd1ff7db7369d5118363a2eaea51e (diff) | |
download | meson-7bfcf68777f5bee3cab95685acf3c4177f6b6498.zip meson-7bfcf68777f5bee3cab95685acf3c4177f6b6498.tar.gz meson-7bfcf68777f5bee3cab95685acf3c4177f6b6498.tar.bz2 |
Add get_pkgconfig_variable(default:)
Also use that to squelch the warning for internal uses which handle the
variable missing case (just gnome at the moment)
A follow up to PR #2914
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Reference-manual.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index ca28643..2a8618f 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1682,6 +1682,8 @@ an external dependency with the following methods: dependency, error out. (*Added 0.44.0*) You can also redefine a variable by passing a list to the `define_variable` parameter that can affect the retrieved variable: `['prefix', '/'])`. + (*Added 0.45.0*) A warning is issued if the variable is not defined, + unless a `default` parameter is specified. - `get_configtool_variable(varname)` (*Added 0.44.0*) will get the command line argument from the config tool (with `--` prepended), or, |