A couple of corrections concerning HPUX 10 and shared libraries.
[openssl.git] / Configure
index e0e148a1f0fed564e1f33631f7296d8b5b059456..6c1c6747d50514b6868cacee7e2a140479fa86c3 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -158,7 +158,7 @@ my %table=(
 
 # Sunos configs, assuming sparc for the gcc one.
 ##"sunos-cc", "cc:-O4 -DNOPROTO -DNOCONST::(unknown)::DES_UNROLL:::",
-"sunos-gcc","gcc:-O3 -mv8::(unknown)::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL DES_PTR DES_RISC1:::",
+"sunos-gcc","gcc:-O3 -mv8 -Dssize_t=int::(unknown)::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL DES_PTR DES_RISC1:::",
 
 #### IRIX 5.x configs
 # -mips2 flag is added by ./config when appropriate.
@@ -203,6 +203,8 @@ my %table=(
 #                                      <appro@fy.chalmers.se>
 #
 "hpux-parisc-cc","cc:-Ae +O3 +ESlit -z -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY::::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
+# Since there is mention of this in shlib/hpux10-cc.sh
+"hpux-parisc-cc-o4","cc:-Ae +O4 +ESlit -z -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY::::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
 "hpux-parisc-gcc","gcc:-O3 -DB_ENDIAN -DBN_DIV2W::::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
 "hpux64-parisc-cc","cc:-Ae +DD64 +O3 +ESlit -z -DB_ENDIAN -DMD32_XARRAY::-D_REENTRANT::SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT:::",
 
@@ -937,12 +939,11 @@ sub dofile
                {
                grep(/$k/ && ($_=sprintf($m{$k}."\n",$p)),@a);
                }
-       ($ff=$f) =~ s/\..*$//;
-       open(OUT,">$ff.new") || die "unable to open $f:$!\n";
+       open(OUT,">$f.new") || die "unable to open $f.new:$!\n";
        print OUT @a;
        close(OUT);
-       rename($f,"$ff.bak") || die "unable to rename $f\n" if -e $f;
-       rename("$ff.new",$f) || die "unable to rename $ff.new\n";
+       rename($f,"$f.bak") || die "unable to rename $f\n" if -e $f;
+       rename("$f.new",$f) || die "unable to rename $f.new\n";
        }
 
 sub print_table_entry