提交 5f8d5c96 编写于 作者: B Bodo Möller

New Configure options "threads" and "no-threads".

For Solaris and Linux, "threads" (with proper compiler options)
is the default.
Submitted by:
Reviewed by:
PR:
上级 a79b03ce
此差异已折叠。
...@@ -37,6 +37,13 @@ ...@@ -37,6 +37,13 @@
rsaref Build with RSADSI's RSAREF toolkit. rsaref Build with RSADSI's RSAREF toolkit.
no-threads Don't try to build with support for multi-threaded
applications.
threads Build with support for multi-threaded applications.
This will usually require additional system-dependent options!
See "Note on multi-threading" below.
no-asm Build with no assembler code. no-asm Build with no assembler code.
386 Use the 80386 instruction set only (the default x86 code is 386 Use the 80386 instruction set only (the default x86 code is
...@@ -180,6 +187,22 @@ ...@@ -180,6 +187,22 @@
with names of the form <foo.h>. with names of the form <foo.h>.
Note on multi-threading
-----------------------
For some systems, the OpenSSL Configure script knows what compiler options
are needed to generate a library that is suitable for multi-threaded
applications. On these systems, support for multi-threading is enabled
by default; use the "no-threads" option to disable (this should never be
necessary).
On other systems, to enable support for multi-threading, you will have
to specifiy at least two options: "threads", and a system-dependent option.
(The latter is "-D_REENTRANT" on various systems.) The default in this
case, obviously, is not to include support for multi-threading (but
you can still use "no-threads" to suppress an annoying warning message
from the Configure script.)
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
The orignal Unix build instructions from SSLeay follow. The orignal Unix build instructions from SSLeay follow.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册