Commit 5f8c172b authored by William Gropp's avatar William Gropp Committed by Pavan Balaji
Browse files

Detect unknown feature request

Improve buildiface for C++ to detect an unknown feature request with
the -feature= option and abort.
Signed-off-by: Pavan Balaji's avatarPavan Balaji <>
parent 756f1cd6
......@@ -127,6 +127,9 @@ foreach $_ (@ARGV) {
elsif ($value eq "off") { $value = 0; }
# Set the variable based on the string
$varname = "do_$name";
if (!defined($$varname)) {
die "Feature $name is unknown!\n";
$$varname = $value;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment