Deal with generated files.
[openssl.git] / Configure
index 300a3ac8026a3e818fc5dd93594ae9523e60a1c6..d54eb521bb8b9457866ba630638d61bbe499e3e7 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1,5 +1,6 @@
 #!/usr/local/bin/perl -w
 
+require 5.000;
 use strict;
 
 #
@@ -198,9 +199,8 @@ my %table=(
 
 # Windows NT, Microsoft Visual C++ 4.0
 
-# hmm... bug in perl under NT, I need to concatinate :-(
-"VC-NT","cl:::BN_LLONG RC4_INDEX ".$x86_gcc_opts.":::",
-"VC-WIN32","cl:::BN_LLONG RC4_INDEX ".$x86_gcc_opts.":::",
+"VC-NT","cl:::BN_LLONG RC4_INDEX ${x86_gcc_opts}:::",
+"VC-WIN32","cl:::BN_LLONG RC4_INDEX ${x86_gcc_opts}:::",
 "VC-WIN16","cl:::MD2_CHAR DES_UNROLL DES_PTR RC4_INDEX THIRTY_TWO_BIT:::",
 "VC-W31-16","cl:::BN_LLONG MD2_CHAR DES_UNROLL DES_PTR RC4_INDEX SIXTEEN_BIT:::",
 "VC-W31-32","cl:::MD2_CHAR DES_UNROLL DES_PTR RC4_INDEX THIRTY_TWO_BIT:::",
@@ -327,7 +327,7 @@ if ($rmd160_obj =~ /\.o$/)
        }
 
 my $n=&file_new($Makefile);
-open(IN,"<".$Makefile) || die "unable to read $Makefile:$!\n";
+open(IN,'<Makefile.org') || die "unable to read $Makefile:$!\n";
 open(OUT,">".$n) || die "unable to read $n:$!\n";
 while (<IN>)
        {
@@ -599,7 +599,6 @@ sub bad_target
        my $j=0;
        foreach my $i (sort keys %table)
                {
-               next if /^b-/;
                print STDERR "\n" if ($j++ % 4) == 0;
                printf(STDERR "%-18s ",$i);
                }