aboutsummaryrefslogtreecommitdiff
path: root/build2/config/utility.txx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/config/utility.txx')
-rw-r--r--build2/config/utility.txx3
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/config/utility.txx b/build2/config/utility.txx
index 30ed02f..5ebd261 100644
--- a/build2/config/utility.txx
+++ b/build2/config/utility.txx
@@ -13,6 +13,9 @@ namespace build2
pair<reference_wrapper<const value>, bool>
required (scope& root, const variable& var, const T& def_val, bool def_ovr)
{
+ // Note: see also the other required() version if changing anything
+ // here.
+
if (current_mif->id == configure_id)
save_variable (root, var);