Here are some patches for Configure:

1. instructions for building shared libraries on UW7 with cc and gcc
2. a fix to stop shared library flags being used when shared libraries
   are not built.

--- Configure.orig      Sun Sep 24 16:27:37 2000
+++ Configure           Fri Jan 26 16:42:26 2001
@@ -321,7 +321,8 @@

"unixware-2.0-pentium","cc:-O -DFILIO_H -Kpentium -Kthread::(unknown):-lsock
et -lnsl:MD2_CHAR RC4_INDEX ${x86_gcc_des}::",

 # UnixWare 7
-"unixware-7","cc:-O -DFILIO_H -Kalloca::-Kthread:-lsocket -lnsl:MD2_CHAR
RC4_INDEX ${x86_gcc_des}::",
+"unixware-7","cc:-O -DFILIO_H -Kalloca::-Kthread:-lsocket -lnsl:MD2_CHAR
RC4_INDEX ${x86_gcc_des}::::::::::dlfcn:svr4-shared:-Kpic",
+"unixware-7-gcc","gcc:-O3 -DFILIO_H -fomit-frame-pointer::(unknown):-lsocke
t -lnsl:BN_LLONG $x86_gcc_des
${x86_gcc_opts}:$x86_elf_asm:dlfcn:svr4-shared:-fPIC",

 # IBM's AIX.
 "aix-cc",   "cc:-O -DAIX -DB_ENDIAN -qmaxmem=16384::(unknown)::BN_LLONG
RC4_CHAR:::",
@@ -710,14 +711,14 @@
 # You will find shlib_mark1 and shlib_mark2 explained in Makefile.org
 my $shared_mark1 = "";
 my $shared_mark2 = "";
-if ($shared_cflag ne "")
+if (!$no_shared)
        {
-       $cflags = "$shared_cflag $cflags";
-       if (!$no_shared)
+       if ($shared_cflag ne "")
                {
-               $shared_mark1 = ".shlib-clean.";
-               $shared_mark2 = ".shlib.";
+               $cflags = "$shared_cflag $cflags";
                }
+       $shared_mark1 = ".shlib-clean.";
+       $shared_mark2 = ".shlib.";
        }

 #my ($bn1)=split(/\s+/,$bn_obj);

--
John Hughes <[EMAIL PROTECTED]>,
        CalvaEDI SA.                            Tel: +33-1-4313-3131
        66 rue du Moulin de la Pointe,          Fax: +33-1-4313-3139
        75013 PARIS.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to