util/perl/OpenSSL/config.pm, Configure: move check of target with compiler
[openssl.git] / util / perl / OpenSSL / config.pm
index 62fc5ce312569c413e0ee778cf37176f2f8a78d2..5e0372ac2e548f0544570149aa7ed0153ef05604 100755 (executable)
@@ -867,24 +867,6 @@ EOF
     return $OUT;
 }
 
-# Append $CC to the target if that's in the Config list.
-sub check_target_exists {
-    my $OUT = shift;
-    my %table;
-
-    open T, "$PERL $WHERE/Configure LIST|" or die "Can't get LIST, $!";
-    while ( <T> ) {
-        chop;
-        $table{$_} = 1;
-    }
-    close T;
-    return "$OUT-$CC" if defined $table{"$OUT-$CC"};
-    return "$OUT" if defined $table{$OUT};
-    print "This system ($OUT) is not supported. See INSTALL for details.\n";
-    exit 1;
-}
-
-
 ###
 ###   MAIN PROCESSING
 ###