X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=Configure;h=67e59a252daa0c61805fc6b41898033eb2ceee81;hp=b172595ece131c6c61cf0f843e9c025e7dc0a3a6;hb=225f980d22dfe66aa3945c21609042c32284e61c;hpb=8e403a79b0e679c8df41a9686006c5fe052d79bd diff --git a/Configure b/Configure index b172595ece..67e59a252d 100755 --- a/Configure +++ b/Configure @@ -2381,6 +2381,17 @@ sub read_config { %targets = read_eval_file($fname); } + my %preexisting = (); + foreach (sort keys %targets) { + $preexisting{$_} = 1 if $table{$_}; + } + die <<"EOF", +The following config targets from $fname +shadow pre-existing config targets with the same name: +EOF + map { " $_\n" } sort keys %preexisting + if %preexisting; + # For each target, check that it's configured with a hash table. foreach (keys %targets) {