1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Implement compiler #error if spinlock code not found, add configure flag

to bypass the error, --without-spinlocks.
This commit is contained in:
Bruce Momjian
2003-09-12 16:10:27 +00:00
parent 69a46e9ce1
commit 06e3ec7a54
5 changed files with 80 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.141 2003/09/11 21:42:20 momjian Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.142 2003/09/12 16:10:26 momjian Exp $ -->
<chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@ -899,6 +899,18 @@ JAVACMD=$JAVA_HOME/bin/java
</listitem>
</varlistentry>
<varlistentry>
<term><option>--without-spinlocks</option></term>
<listitem>
<para>
Allows source builds to succeed without CPU spinlock support.
Lack of spinlock support will produce poor performance.
This option is to be used only by platforms without
spinlock support.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--enable-thread-safety</option></term>
<listitem>